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#5386 - Unnecessary noise in the boot process

Attached to Project: Arch Linux
Opened by Alex Merry (pippin) - Monday, 11 September 2006, 00:04 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 17 August 2007, 15:54 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It's not a big thing, but...

During the boot process, the RAID and LVM setup produces output even when everything is working fine. This messes up the BUSY->DONE transition. In addition, the crypt setup code doesn't produce the "standard" notification - ie: BUSY->DONE - and the RAID setup doesn't show BUSY while it is generating nodes.

The attached patches fix this. The cryptsetup one may be considered a bit blunt, seeing as it doesn't output errors (except for showing FAIL), but I couldn't see a straighforward way of getting round the fact that the tools in question output success messages to stderr.

One of the patches is for rc.shutdown, since LVM has the same issue then.

Note: the RAID patch assumes the fix in task 5385. It probably shouldn't, but it's easy enough to edit the patch and replace -e with -f in the node existance test.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Friday, 17 August 2007, 15:54 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Monday, 11 September 2006, 06:40 GMT
i would suggest use the quiet option before sending everything to >/dev/null
Comment by Alex Merry (pippin) - Monday, 11 September 2006, 10:16 GMT
OK. I've added a filter function to /etc/rc.d/functions. This outputs its input if and only if the quiet option is set on the kernel commandline.

I also added a stat_retval function to clean up the tests for an exit status.
Comment by Alex Merry (pippin) - Monday, 13 November 2006, 22:25 GMT
Oh, the filter function I wrote's no good, by the way. It should include a while loop for multi-line text.
Comment by Thomas Bächler (brain0) - Monday, 02 April 2007, 17:11 GMT
Does this still apply? As far as I can see, lvm and cryptsetup don't make noise anymore (after all, this bug report is old). I don't know about raid.
Comment by Alex Merry (pippin) - Monday, 02 April 2007, 17:19 GMT
Not really, to be honest. The only thing that still makes excessive noise on my system is LVM when layered on top of (rather than underneath) encrypted partitions - it says it can't find any LVM groups the first time through.
Comment by Tobias Powalowski (tpowa) - Friday, 17 August 2007, 10:25 GMT
can we close this?
Comment by Alex Merry (pippin) - Friday, 17 August 2007, 15:52 GMT
Yes, I'm happy that it's fixed.

Loading...