[arch-projects] [initscripts] Incorrect environment variable checks in sysinit & co?

Thomas Bächler thomas at archlinux.org
Thu Mar 31 18:40:12 EDT 2011


I just revisited [1] and found out that it isn't correct. The kernel
only exports foo=bar pairs to init (and only if it doesn't know the left
hand side, for instance, it doesn't export root=). Statements without =
are not exported.

The reason this worked is that mkinitcpio used 'export' to export
'verbose=y' in this case. This is not true anymore for 0.6.9 (and future
releases, as 0.6.9 has a bug related to this change).

I guess [1] should be reverted, and the initscripts should be search for
more such checks.

[1]
http://projects.archlinux.org/initscripts.git/commit/?id=3d9fbd69fbab72ccdbdfda584b732636cece908c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20110401/99fbadd4/attachment.asc>


More information about the arch-projects mailing list