[RFC] Bootscript changes

Alexander E. Patrakov patrakov at ums.usu.ru
Tue Apr 10 08:40:56 PDT 2007


Dan Nicholson wrote:
> I've been digging around in the bootscripts a little more lately, and
> I've found some behavior that I think could be changed and I'd like
> comments on. I can provide patches later, but first I thought I'd like
> to hear comments.
> 
> 1. Make statusproc() return unsuccessfully if the process isn't running

+1

> 2. Make statusproc() use pidofproc() instead of the deprecated getpids()

+1

> 3. Allow the -p pidfile argument to all *proc() functions

+1

> 4. Add the /sbin/service script to allow an agnostic way to query the
> bootscripts

+0

> This is not an original idea. I think all the major distros do this
> (Fedora and SuSE for sure), although it's not an LSB requirement.

Debian doesn't do this

5. Apply the patch from 
http://linuxfromscratch.org/pipermail/lfs-dev/2006-October/058454.html - 
also needed for hibernation on the LiveCD when the non-standard 
implementation of the PPPoE network service is used.

-- 
Alexander E. Patrakov



More information about the lfs-dev mailing list