Bug 67978 - [patch] [maintainer-update] sysutils/logrotate bugfix to call scripts with file name as arg1
Summary: [patch] [maintainer-update] sysutils/logrotate bugfix to call scripts with fi...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-15 16:50 UTC by js
Modified: 2004-06-16 20:37 UTC (History)
0 users

See Also:


Attachments
patch-aa (992 bytes, text/plain)
2004-06-15 16:50 UTC, js
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description js 2004-06-15 16:50:21 UTC
Wilco van Boxtel reported that prerotate and postrotate scripts don't get the logfile name to be rotated, as it was in previous versions.  The bug was in execlp() call, which calling syntax is execlp(filename, arg0, arg1, ..., argn, NULL), but arg0 is not included in original software.

Fix: This patch-aa replacement fixes the problem:
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-06-16 20:37:31 UTC
State Changed
From-To: open->closed

Committed, thanks!