Bug 3645

Summary: break after latest update
Product: Mageia Reporter: Guillaume Rousse <guillomovitch>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: pam_mount CVE:
Status comment:

Description Guillaume Rousse 2011-12-06 22:31:42 CET
pam_mount stopped working after latest update:


Dec  6 20:35:10 localhost login: pam_mount(pam_mount.c:364): pam_mount 2.12: entering auth stage
Dec  6 20:35:10 localhost login: pam_mount(pam_mount.c:553): pam_mount 2.12: entering session stage
Dec  6 20:35:10 localhost login: pam_mount(misc.c:38): Session open: (ruid/rgid=0/0, e=0/0)
Dec  6 20:35:10 localhost login: pam_mount(mount.c:226): Mount info: globalconf, user=guillaume <volume fstype="crypt" server="(null)" path="/dev/sda7" mountpoint="/home" cipher="aes-cbc-essiv:sha256" fskeypath="(null)" fskeycipher="(null)" fskeyhash="(null)" options="" /> fstab=0 ssh=0
Dec  6 20:35:10 localhost login: command: 'mount' '-t' 'crypt' '/dev/sda7' '/home'
Dec  6 20:35:10 localhost login: pam_mount(misc.c:38): set_myuid<pre>: (ruid/rgid=0/0, e=0/0)
Dec  6 20:35:10 localhost login: pam_mount(misc.c:38): set_myuid<post>: (ruid/rgid=0/0, e=0/0)
Dec  6 20:35:10 localhost login: pam_mount(mount.c:65): Messages from underlying mount program:
Dec  6 20:35:10 localhost login: pam_mount(mount.c:69): NOTE: mount.crypt does not support utab (systems with no mtab or read-only mtab) yet. This means that you will temporarily need to call umount.crypt(8) rather than umount(8) to get crypto volumes unmounted.
Dec  6 20:35:10 localhost login: pam_mount(mount.c:604): could not remove /home again: Directory not empty
[ snip long list of mounted systemd-related directories ]
Dec  6 20:35:10 localhost login: pam_mount(pam_mount.c:521): mount of /dev/sda7 failed
Dec  6 20:35:10 localhost login: command: 'pmvarrun' '-u' 'guillaume' '-o' '1'
Dec  6 20:35:10 localhost login: pam_mount(misc.c:38): set_myuid<pre>: (ruid/rgid=0/0, e=0/0)
Dec  6 20:35:10 localhost login: pam_mount(misc.c:38): set_myuid<post>: (ruid/rgid=0/0, e=0/0)
Dec  6 20:35:10 localhost login: pam_mount(pam_mount.c:440): pmvarrun says login count is 1
Dec  6 20:35:10 localhost login: pam_mount(pam_mount.c:645): done opening session (ret=0)

My configuration didn't change:

<pam_mount>
<debug enable="0" />
<volume user="guillaume" fstype="crypt" path="/dev/sda7" mountpoint="/home"/>
<mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" />
<mntoptions require="nosuid,nodev" />
<path>/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin</path>
<logout wait="0" hup="0" term="0" kill="0" />
<mkmountpoint enable="1" remove="true" />
</pam_mount>
Comment 1 Guillaume Rousse 2011-12-07 09:27:18 CET
Fixed in 2.12-3mga

Status: NEW => RESOLVED
Resolution: (none) => FIXED