Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#23598 - [initscripts] checks for inexistent environment variable
Attached to Project:
Arch Linux
Opened by Matthias Dienstbier (fs4000) - Tuesday, 05 April 2011, 20:51 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 22 April 2011, 00:17 GMT
Opened by Matthias Dienstbier (fs4000) - Tuesday, 05 April 2011, 20:51 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 22 April 2011, 00:17 GMT
|
DetailsI think this commit has to be reverted because mkinitcpio doesn't export cmdline anymore: http://projects.archlinux.org/initscripts.git/commit/?id=3d9fbd69fbab72ccdbdfda584b732636cece908c
|
This task depends upon
Closed by Andrea Scarpino (BaSh)
Friday, 22 April 2011, 00:17 GMT
Reason for closing: Fixed
Additional comments about closing: initscripts 2011.04.1-1
Friday, 22 April 2011, 00:17 GMT
Reason for closing: Fixed
Additional comments about closing: initscripts 2011.04.1-1
BTW: This commit causes two syntax errors: http://projects.archlinux.org/initscripts.git/commit/rc.sysinit?id=71a1b74eb778540d412705b09a24f1d2ba123a2b
My suggestion:
if ! [[ -L /etc/mtab ]]; then
if [[ -x /bin/findmnt && -e /proc/self/mountinfo ]]; then
/bin/findmnt -rnu -o SOURCE,TARGET,FSTYPE,OPTIONS >| /etc/mtab
else
cat /proc/mounts >| /etc/mtab
fi
fi