Bug 786113 - uuidd writes the wrong PID into pidfile
Summary: uuidd writes the wrong PID into pidfile
Keywords:
Status: CLOSED DUPLICATE of bug 707433
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: e2fsprogs
Version: 5.7
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Eric Sandeen
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-31 14:03 UTC by Sean E. Millichamp
Modified: 2018-11-26 17:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-31 18:18:53 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Sean E. Millichamp 2012-01-31 14:03:05 UTC
Description of problem:

The /etc/init.d/uuidd initscript's status command looks in a pidfile located at /var/lib/libuuid/uuidd.pid (written by the daemon) for the PID to check the status on.

Unfortunately, uuidd seems to write the PID of the original process, and not the PID resulting after the fork operation.  The result is that "/etc/init.d/uuidd status" always returns "uuidd dead but pid file exists".  This causes problems particularly with automated tools that expect the status subcommand to behave properly.

This is a bug fixed upstream at http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=commit;h=cfa30fd554a5ec905ef1e4e3f2b1f8ba9ba8b7e5 and upstream bug tracked at http://sourceforge.net/tracker/?func=detail&aid=1893244&group_id=2406&atid=102406

Comment 1 Eric Sandeen 2012-01-31 18:18:53 UTC
Thanks, this is a dup of bug #707433 and will be fixed in the next possible release.

*** This bug has been marked as a duplicate of bug 707433 ***


Note You need to log in before you can comment on or make changes to this bug.