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#10178 - [rc.sysinit] $TIMEZONE should be enclosed in quotes
Attached to Project:
Arch Linux
Opened by Elifarley (elifarley) - Sunday, 13 April 2008, 12:44 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 22 April 2008, 03:23 GMT
Opened by Elifarley (elifarley) - Sunday, 13 April 2008, 12:44 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 22 April 2008, 03:23 GMT
|
DetailsDescription:
My rc.conf file has "America/Sao Paulo" configured as time zone. Since it has a space in its name, I think references to the time zone should enclose it in quotes. Recently, 'rc.sysinit' was changed so that "/usr/share/zoneinfo/$TIMEZONE" is now properly enclosed in quotes. However, there still is an unquoted reference to the timezone, as we can see below: if [ "$TIMEZONE" != "" -a -e "/usr/share/zoneinfo/$TIMEZONE" ]; then /bin/rm -f /etc/localtime /bin/cp /usr/share/zoneinfo/$TIMEZONE /etc/localtime fi I think it should read like this: /bin/cp "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime I have attached a patch for this change. Steps to reproduce: In rc.conf, configure a time zone that has a space in its name, then restart your system. Something wrong should happen. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Tuesday, 22 April 2008, 03:23 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in git
Tuesday, 22 April 2008, 03:23 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in git
rc.sysinit.patch
http://projects.archlinux.org/git/?p=initscripts.git;a=commitdiff;h=af36e8dd3c025d7593bda4f310612989927149d1