[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#253099: killall.sh: Can kill wrong PID

Thomas Hood wrote:
> (3) ps has built in output formatting so sed isn't really needed.

busybox ps does not support any of the options you used, as far as I can

> Another thing: One second isn't very long.  What happens if this code
> kill -KILL's the DHCP client before it has finished deconfiguring the
> interface?  Perhaps start-stop-daemon should be used here with a
> longer timeout.

This is the d-i initrd. We don't have start-stop-daemon. I think that
running the code and playing with it on the actual d-i system may have
better results than mere inspection.

(The d-i system doesn't have sleep either, FWIW.)

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: