init.d/alsa-utils hangs waiting for /var to be mounted

Bug #280667 reported by Tim Jones
2
Affects Status Importance Assigned to Milestone
alsa-utils (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: alsa-utils

During boot /etc/init.d/alsa-utils, or more specifically /etc/rcS.d/S20alsa-utils, loops forever in:

# 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.

Revision history for this message
Tim Jones (tim-mr-dog) wrote :

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.

Revision history for this message
Daniel T Chen (crimsun) wrote :

What version of which [Debian-based] distro did you have installed? The last Ubuntu alsa-utils package to install into /etc/rcS.d was before dapper (6.06) was released.

Changed in alsa-utils:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Daniel T Chen (crimsun) wrote :

Please reopen if reproducible in a default, fresh install of 9.04.

Changed in alsa-utils:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.