hotplug startup should be verbose when booting in recovery mode
Bug #17406 reported by
Matt Zimmerman
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hotplug (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
This is extremely valuable for debugging "hangs at boot during hotplug startup"
bugs.
It would be ideal if $VERBOSE would be forced to 'yes' in this case, but given
the implementation, this would be tricky without adding shell code to
/etc/default/rcS
To post a comment you must log in.
My preferred choice would be to test for single user mode in /etc/default/rcS
and set VERBOSE=yes in it in that case. However, that file is not a conffile, so
we can't change it in an upgrade, and we don't have /proc/cmdline available when
/etc/init.d/rcS runs, so for now we have to restrict this to hotplug.
So we could apply this idea to /etc/default/ hotplug and set QUIET to no. This is
not a conffile as well, though, so upgrades would get funny.
But why do we need to touch /etc/init.d/rcS for that?