Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158766 - media-sound/audio-entropyd init script is missing --pidfile option to start-stop-daemon
Summary: media-sound/audio-entropyd init script is missing --pidfile option to start-s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 178623
Blocks:
  Show dependency tree
 
Reported: 2006-12-21 13:08 UTC by Marcus Furlong
Modified: 2007-06-24 21:00 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 Marcus Furlong 2006-12-21 13:08:48 UTC
I get an error from start-stop-daemon when shutting down, that audio-entropyd hasn't got a pid file in /var/run. (when using baselayout-1.13.0-alpha10)

Solution is to add --pidfile option to the start function of it's init scripts as follows:

start-stop-daemon --start --quiet --pidfile /var/run/audio-entropyd.pid --exec /usr/sbin/audio-entropyd -- ${params}
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-12-21 15:23:21 UTC
I don't see this error using baselayout-1.13.0_alpha10-r2

Although it would be nice to include the pidfile in that start option for more sanity.

Also, it dies after a moments on my amd64 ~ARCH box. Not sure if that's related.
Comment 2 Marcus Furlong 2006-12-22 05:51:07 UTC
(In reply to comment #1)
> I don't see this error using baselayout-1.13.0_alpha10-r2

On a mostly stable x86 box with baselayout-1.13.0_alpha10-r2 I get:

# /etc/init.d/audio-entropyd stop
 * WARNING: you are stopping a boot service.
 * Stopping audio entropy gathering daemon ...
start-stop-daemon: open pidfile /var/run/audio-entropyd.pid: No such file or directory                                                                                                           [ ok ]

With the --pidfile option it works correctly.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-17 14:11:44 UTC
Eh; maintainer kinda retired (Bug 175298).
Comment 4 Christoph Mende (RETIRED) gentoo-dev 2007-06-24 21:00:53 UTC
Fixed in CVS