dkms build triggers pam_mount (requiring password), thus fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: dkms
My /home partition is encrypted and I confirued pam_mount to mount the decrypted partition.
I used to have no problem with ubuntu 9.04 and dkms.
I've had problems installing the latest virtualbox which uses dkms to recompile the kernel modules.
The part that fails is
status=`$DKMS status -m vboxdrv -v 3.0.12`
if echo $status | grep added > /dev/null ||
echo $status | grep built > /dev/null ||
echo $status | grep installed > /dev/null
then
$DKMS remove -m vboxdrv -v 3.0.12 --all
I've seen that in the command line, running
dkms build ..... causes pam_mount to ask for my password.
not exactly sure why.
This is maybe a mis-configuration on my side (maybe the upgrade to ubuntu 9.10 caused me some issues in pam_mount upgrades ?). I've also seen bug 378833, which seems somewhat similar.
Some more info:
I've had problems with VirtualBox 3.0.12 as found on download. virtualbox. org/virtualbox/ debian karmic non-free
deb http://
Here's the VirtualBox/DKMS install log
# tail -f /var/log/ vbox-install. log dkms/vboxdrv/ 3.0.12/ source ->
/usr/ src/vboxdrv- 3.0.12
Creating symlink /var/lib/
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
reenter password for pam_mount:
(hangs there)
Probably related to my pam_mount config:
# grep mount /etc/pam.d/common-* d/common- auth:auth optional pam_mount.so use_first_pass d/common- auth:#auth optional /lib/security/ pam_mount. so use_first_pass d/common- pammount: # # added for libpam-mount d/common- pammount: # @include common-pammount d/common- pammount: # above the common-pammount include (just as in the example above). d/common- pammount: # replace "optional" with "required" if a user must mount the specified d/common- pammount: # priority before these entries, else the pam_mount module is not d/common- pammount: # /usr/share/ doc/libpam- mount/README. Debian. gz d/common- pammount: auth optional pam_mount.so use_first_pass d/common- pammount: session optional pam_mount.so d/common- session: session optional pam_mount.so d/common- session: #session optional /lib/security/ pam_mount. so d/common- session- noninteractive: session optional pam_mount.so d/common- session- noninteractive: #session optional /lib/security/ pam_mount. so /tmp#
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
/etc/pam.
root@expresso2: