Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Nov 2014 01:51:41 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Xin LI <delphij@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r273919 - head/etc/rc.d
Message-ID:  <86bnor9202.fsf@nine.des.no>
In-Reply-To: <201410312220.s9VMKRaO096404@svn.freebsd.org> (Xin LI's message of "Fri, 31 Oct 2014 22:20:27 %2B0000 (UTC)")
References:  <201410312220.s9VMKRaO096404@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Xin LI <delphij@FreeBSD.org> writes:
> Log:
>   rc.d/geli should not depend on random, as the attach functionality
>   do not require additional entropy to function.
>=20=20=20
>   It would create a circular dependency (not immediately obvious:
>   geli provides 'disks' and requires 'random' as of r273872,
>   'random' requires 'FILESYSTEMS', 'FILESYSTEMS' requires 'root',
>   'root' requires 'swap', and finally 'swap' requires 'disk').

My first instinct was: shouldn't rcorder warn about this?  It turns out
that it does, but in a very cryptic fashion:

des@nine ~head/etc/rc.d% svn up -qr273871=20=20
des@nine ~head/etc/rc.d% rcorder * >/dev/null
des@nine ~head/etc/rc.d% svn up -qr273872=20=20=20=20
des@nine ~head/etc/rc.d% rcorder * >/dev/null
rcorder: Circular dependency on file `zfs'.
rcorder: Circular dependency on provision `mountcritlocal' in file `zfs'.
rcorder: Circular dependency on provision `mountcritlocal' in file `var'.
rcorder: Circular dependency on provision `mountcritlocal' in file `FILESYS=
TEMS'.
rcorder: Circular dependency on provision `root' in file `FILESYSTEMS'.
des@nine ~head/etc/rc.d% svn up -qr273919=20=20=20=20
des@nine ~head/etc/rc.d% rcorder * >/dev/null
des@nine ~head/etc/rc.d%=20

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bnor9202.fsf>