Plans for LFS-6.3
dbn.lists at gmail.com
Tue Jul 17 19:14:47 PDT 2007
On 7/17/07, Ken Moffat <ken at linuxfromscratch.org> wrote:
> What do your bootscript patches do, and how do you view their risk
Should be backwards compatible. A couple I have queued up but keep
forgetting to commit them. Add an early script to quiet the kernel log
level, then kill the level handling in init.d/modules.
Second one would kill this bug:
Two other things I haven't done, but would like to (meaning, I may
punt for now since I haven't tested). Support for IP
Fixing pidofproc to actually do the right thing w.r.t pid files.
Dennis Perkins actually put that part together. The other change he
does there is make the pid list local and echo it back. This is
slightly different and possibly not backwards compatible since the
current behavior has the other *proc() functions just using the global
pidlist variable created in pidofproc.
I prefer Dennis' way and can fix the functions to catch the result in
it's own variable, but it could break existing scripts which call
pidofproc directly. In most cases, though, pidofproc is being called
indirectly through loadproc or statusproc. The difference is this:
pidofproc -s $1 # creates pidlist
for pid in $pidlist; do
pids=$(pidofproc -s $1) # pidlist is local to pidofproc
for pid in $pids; do
That may be able to be split into two parts since the pid file
handling is a bug and should be safe to fix.
More information about the lfs-dev