Bug 4844

Summary: start-stop-daemon pid file error.
Product: Busybox Reporter: AWa. <awa_wp>
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.19.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

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.