Arch Linux

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!
Tasklist

FS#10833 - rc-script.proto in abs loads /etc/rc.conf too late, breaking colors

Attached to Project: Arch Linux
Opened by Anonymous Submitter - Sunday, 06 July 2008, 01:56 GMT
Last edited by Allan McRae (Allan) - Thursday, 10 July 2008, 10:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Have been building a package for AUR, and used the rc-script.proto supplied in the abs package. I found that when I called the script, it wasn't showing color status messages, unlike all the other /etc/rc.d/ scripts, and contrary to the /etc/rc.conf setting.

in the abs supplied file, the calls to the functions and /etc/rc.conf files are as follows:

--
. /etc/rc.d/functions

. /etc/conf.d/$daemon_name.conf

. /etc/rc.conf
--

changing the order to

--
. /etc/rc.conf

. /etc/conf.d/$daemon_name.conf

. /etc/rc.d/functions
--

fixed the problem.
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 10 July 2008, 10:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in git commit 4f1d0a7ccc7336fa0dfff8ba38d640c5f55ec001

Loading...