[Pkg-sysvinit-devel] Bug#542953: sysvinit: fixes for GNU/kFreeBSD
Roger Leigh
rleigh at codelibre.net
Mon Apr 9 11:29:22 UTC 2012
On Sat, Aug 22, 2009 at 03:00:52PM +0200, Aurelien Jarno wrote:
> Since insserv is enabled by default, it is not possible to do GNU/kFreeBSD
> specific initialisation in a dedicated script and ensure it is done at
> the right moment due to dependencies issue. This is especially true for
> mtab.sh, which makes the system no bootable if /etc/mtab has not been yet
> changed to a symlink, by mounting an empty tmpfs over /dev.
>
> The patch below fixes the problem by having different initialisation on
> Linux and GNU/kFreeBSD. In case the systems is unknown, it switches to
> doing nothing by default, which is probaby the safest option. It also
> correctly detects available filesystem on GNU/kFreeBSD.
Hi Aurelien,
Is this patch still required for kFreeBSD? I notice that we don't
currently carry code for mounting linsysfs or fdescfs, but
mount-functions.sh does contain special-casing for linprocfs and
nullfs. So support for kFreeBSD-specific filesystem variants
could be added there. Does /etc/init.d/rc still need the linprocfs
special-case or is this now handled by mountkernfs? If startpar still
requires /proc, then probably not, but I don't understand why this
doesn't break on Linux (without initramfs) if this is the case, since
it won't have /proc mounted either.
If the patch is still required, please could you remake it against
current git, since this is now too outdated to work.
Thanks,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
More information about the Pkg-sysvinit-devel
mailing list