Description of problem:
While installing an update to alsa-lib I got few times (on x86_64 with
libraries for different architectures):
Usage: ainit user_name start|stop [--version] [--help]
Looking at installation scriplets that likely meand that
/var/run/console/console.lock was found but not with an expected content.
BTW, a script like /etc/hotplug/usb/usbcam looks for console.lock file
in few different places.
Version-Release number of selected component (if applicable):
Which version of pam do you have?
Could you please attach the /var/run/console/console.lock file?
> Which version of pam do you have?
pam-0.80-7 at this moment. It was installed on 25 Aug 2005.
> Could you please attach the /var/run/console/console.lock file?
I am afraid that there is nothing to attach. Such file does not exist.
'find /var -name console.lock' does not report it somewhere else either.
At least current alsa-lib package scripts have a check for this contigency
but this means that /usr/bin/ainit will not run. No idea what practical
effects this will have. Why it is important that during an de/installation
ainit runs for whomever happens to be listed in console.lock, if such thing
does exist, and not just simply for root? "Random User" cannot install.
If you run ainit for root, only root will be able to use sound card. So I added
check for configuration reloading for the current user, which is using
soundcard. If you are root, you can use the soundcard anyway.