[PATCH] Make start-stop-daemon handle sending signals better
Jason Schoon
floydpink at gmail.com
Mon Aug 28 21:17:00 UTC 2006
On 8/28/06, Natanael Copa <natanael.copa at gmail.com> wrote:
>
>
> There is a bug about syslogd not starting (looks like the problem
> affects any busybox applet)
>
> http://bugs.busybox.net/view.php?id=770
>
>
On this one, I see the problem, but I don't know a clean, correct solution.
The problem is that start-stop-daemon looks through the list of processes
and checks if the new one is already running by comparing device and inode.
However, in the case of Busybox, that is going to be true for every single
command. However, the only thing I can think of is adding a check for size
as well. That definately isn't a solid solution though. A string match on
the name would be good, but that would require stripping paths ( or not ).
Another thing not yet in bugtracking system:
>
> --stop --pidfile prints the pid unless --quiet is added.
>
> This behaviour should be changed to no pidfile is printed unless
> --verbose/-v is specified.
On this one, it seems more like a preference thing. I don't use the "FANCY"
define, so I don't even have a verbose flag. I'll leave this one to others
to decide, I don't ever do anything with the output, so the string doesn't
matter to me.
To cite Bernhard: "Would be awesome if you could take care of
> this while you're at it :)"
>
> I'll test it for you. ;-)
>
> --
> Natanael Copa
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20060828/c08fa6db/attachment-0001.htm
More information about the busybox
mailing list