Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 564396

Summary: app-admin/ulogd-2.0.5-r2: init script improvement
Product: Gentoo Linux Reporter: Marcin Mirosław <bug>
Component: Current packagesAssignee: Coacher <itumaykin+gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint, reviewers+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/gentoo/gentoo/pull/310
Whiteboard:
Package list:
Runtime testing required: ---

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.