Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369217 - sys-apps/openrc: start-stop-daemon incorrectly detects the process is running by pid file
Summary: sys-apps/openrc: start-stop-daemon incorrectly detects the process is running...
Status: RESOLVED DUPLICATE of bug 231854
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-29 19:01 UTC by Vladimir Berezhnoy
Modified: 2011-05-30 23:04 UTC (History)
1 user (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 Vladimir Berezhnoy 2011-05-29 19:01:15 UTC
It may happen that pid file contains the pid of some other random process. start-stop-daemon does detection only based on PID from pidfile. After an unclean shutdown of process the pid from pidfile will be free and may be occupied by some other process later (even kernel process). init.d script will then operate based on this PID, while it now relates to some other process.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2011-05-30 23:04:22 UTC

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