Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127685 - /etc/logrotate.d/syslog-ng incorrect (syslog-ng-1.6.9)
Summary: /etc/logrotate.d/syslog-ng incorrect (syslog-ng-1.6.9)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-26 15:27 UTC by Kenyon Ralph
Modified: 2006-03-26 15:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenyon Ralph 2006-03-26 15:27:59 UTC
The /etc/logrotate.d/syslog-ng placed by app-admin/syslog-ng-1.6.9 is incorrect.  On line 10, instead of "reload" it should say "restart", as Gentoo's init.d scripts have no "reload" command.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-26 15:30:23 UTC
/etc/init.d/syslog-ng

<snip>
reload() {
        if [ ! -f /var/run/syslog-ng.pid ]; then
                eerror "syslog-ng isn't running"
                return 1
        fi
        checkconfig || return 1
        ebegin "Reloading configuration and re-opening log files"
        kill -HUP `cat /var/run/syslog-ng.pid` &>/dev/null
        eend $?
}
</snip>
# emerge -pv syslog-ng

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-admin/syslog-ng-1.6.9  USE="-hardened -static tcpd" 747 kB