Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564396 - app-admin/ulogd-2.0.5-r2: init script improvement
Summary: app-admin/ulogd-2.0.5-r2: init script improvement
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Coacher
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-29 10:07 UTC by Marcin Mirosław
Modified: 2015-11-03 09:33 UTC (History)
2 users (show)

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 Marcin Mirosław 2015-10-29 10:07:57 UTC
When ulogd.conf has configuration error than ulogd throws error to log and quits but init scripts wronlgy assumes that ulogd is working:
# /etc/init.d/ulogd restart ; pgrep ulogd
 * Stopping ulogd                                              [ ok ]
 * Starting ulogd                                              [ ok ]
#

After adding parameter "--wait 200" to start-stop-daemon init scripts works better:
# /etc/init.d/ulogd restart ; pgrep ulogd
 * Starting ulogd ...
 * start-stop-daemon: did not create a valid pid in `/run/ulogd.pid'          [ !! ]
 * ERROR: ulogd failed to start
#
 
and after fixing ulogd.conf:
# /etc/init.d/ulogd restart ; pgrep ulogd
 * Starting ulogd ...                                                         [ ok ]
32099


Reproducible: Always
Comment 1 Coacher 2015-10-29 15:33:08 UTC
Agreed. I will fix it soon. ETA is the nearest weekend.
Comment 2 Coacher 2015-11-03 09:33:21 UTC
Fixed in ulogd-2.0.5-r3.