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

Re: Some updates to the sysvinit/initactions spec



Previously tytso@MIT.EDU wrote:
> If no one comments, I'll choose /lib/lsb/init-functions.  That seems to
> make the most amount of sense.
> 
>       2. killproc basename [signal] and pidofproc basename:
> 
> 	 Can we replace basename with "path" ? If we have the full path
> 	 to a program it is much easier and safer to identify the right
> 	 process.
> 
>    This seems reasonable to me, although it's a change from what the
>    SysVinit package does.  Comments?

It's not only reasonable, it's essential imho. Killing a users process
by accident just because his process has the same name is a Bad Thing.

Also, Debian has been doing that forever using start-stop-daemon so
we know it is possible and works.

Wichert.

-- 
  _________________________________________________________________
 /       Nothing is fool-proof to a sufficiently talented fool     \
| wichert@cistron.nl                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



Reply to: