Bug 4844 - start-stop-daemon pid file error.
Summary: start-stop-daemon pid file error.
Status: RESOLVED WORKSFORME
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.19.x
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-04 14:04 UTC by AWa.
Modified: 2014-02-27 12:34 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AWa. 2012-03-04 14:04:06 UTC
If I run a command:
"start-stop-daemon -S -m -p /var/run/test.pid --exec test" 
where "test" is a busybox applet, the pid stored in the "test.pid" file is one less than the assigned to "test" program.
If the "test" program isn't a busybox applet the pids numbers are correct.
Comment 1 Denys Vlasenko 2012-03-10 15:38:34 UTC
Can't reproduce. For me, pidfile has correct pid.

Can you run this command under strace ant show the strace log?
Comment 2 AWa. 2012-03-14 20:30:30 UTC
The problem disappeared after reboot.