> the line
>
> ebegin "Cleaning /var/lock, /var/run"
> ( find /var/lock -type f -print0 | xargs -0 rm -f -- 1>&2 )
>
> can be changed to:
>
> ebegin "Cleaning /var/lock, /var/run"
> ( find /var/lock -type f -exec rm -f {} \; )
This definitely fixes the error but I'm curious why the first version
doesn't work? Seems like a bug in gnu find or xargs to me -- the fix is
really more of a workaround.
The first version attempts to be more efficient (the latter forks a
separate "rm" process for every file found).
Can anybody explain what the problem is with the first version? When I
try to run it manually (rather than as part of the runlevels boot
process) it seems to work fine.
Puzzled.
--
Rex
--
[EMAIL PROTECTED] mailing list