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#25351 - rc.d doesn't restore console font after an error

Attached to Project: Arch Linux
Opened by Yaşar Arabacı (yasar11732) - Monday, 01 August 2011, 18:18 GMT
Last edited by Tom Gundersen (tomegun) - Monday, 01 August 2011, 23:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After an Error, rc.d command fails to restore console text color and boldness

Package version: initscripts 2011.06.4-1

Steps to reproduce:

Try to start/restart non-existant init script, e.g rc.d nginx start (will try to start "start!" which is not exist) it gives an error but dosn't restore console font boldness to its default value.
   01.png (9.7 KiB)
This task depends upon

Closed by  Tom Gundersen (tomegun)
Monday, 01 August 2011, 23:15 GMT
Reason for closing:  Duplicate
Additional comments about closing:  #24879
Comment by Yaşar Arabacı (yasar11732) - Monday, 01 August 2011, 18:38 GMT
Adding (in /sbin/rc.d)

printf "${C_CLEAR}"

after

printf "${C_OTHER}:: ${C_FAIL}Error: ${C_DONE}Daemon script $i does not exist.\n"

solved problem for me.
Comment by Sébastien Luttringer (seblu) - Monday, 01 August 2011, 23:09 GMT
this bug is a duplicate of #24879.

bug is fixed in 2011.07 by this commit: http://projects.archlinux.org/initscripts.git/commit/?id=ec953231
Comment by Tom Gundersen (tomegun) - Monday, 01 August 2011, 23:15 GMT
@seblu: thanks for clearing this up. I remember seeing the bug before, but had forgotten that it was actually solved ;-)

Loading...