[Pkg-sysvinit-devel] Bug#659480: startpar needs /proc/stat but is called before /proc is mounted
Robert Millan
rmh at debian.org
Sun Feb 12 21:33:19 UTC 2012
El 12 de febrer de 2012 15:18, Roger Leigh <rleigh at codelibre.net> ha escrit:
> tags 659480 + pending
> thanks
>
> On Sat, Feb 11, 2012 at 01:50:30PM +0100, Robert Millan wrote:
>> On GNU/kFreeBSD there's no pre-init ramdisk. When init is called, /proc
>> hasn't been mounted yet, so before calling startpar you need to mount /proc.
>
> Patch applied to git.
Uhm, I just realized that this code is supposed to be idempotent,
otherwise /proc is mounted multiple times. Please could you make
that:
if ! test -e /proc/stat ; then
...
fi
instead?
Sorry for not noticing earlier.
--
Robert Millan
More information about the Pkg-sysvinit-devel
mailing list