init.d/alsa-utils hangs waiting for /var to be mounted
Bug #280667 reported by
Tim Jones
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-utils (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: alsa-utils
During boot /etc/init.
# Wait for filesystems to show up
while [ ! -d /usr/bin -o ! -d /var/lib/alsa ]; do
sleep 0.2
done
As my /var is a mount point which has not yet been mounted, it never gets mounted as the above loop blocks all other startup scripts, including the mounting of /var. Deadlock.
Should all local FS mounts be mounted earlier, or alsa-utils started later, I'm not sure. This is a similar problem to one I may have found in resolvconf not being able to access files on a not yet mounted dir, so maybe it's the local FSs that should be mounted earlier.
To post a comment you must log in.
I think I may have had an old link laying around in my /etc/rcS.d dir for alsa-utils. That may have been my problem as purging the alsa-utils package and reinstalling has not replaced the link in rcS.d.
Can probably close this bug if this is confirmed.