[Bug 688031] New: pam_mount builds faulty mount command
https://bugzilla.novell.com/show_bug.cgi?id=688031 https://bugzilla.novell.com/show_bug.cgi?id=688031#c0 Summary: pam_mount builds faulty mount command Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: richard@nod.at QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101 Firefox/4.0 I'm using a encrypted home partition. My pam_mount.conf.xml entry looks like this one: ---cut--- <volume user="rw" fstype="crypt" path="/dev/samsung-hdd/home_rw" mountpoint="/home/rw" options="acl,user_xattr"/> ---cut--- But mount fails. ---cut--- Apr 17 16:34:01 raccoon kdm: :0[6731]: pam_mount(mount.c:213): Mount info: globalconf, user=rw <volume fstype="crypt" server="(null)" path="/dev/samsung-hdd/home_rw" mountpoint="/home/rw" cipher="(null)" fskeypath="(null)" fskeycipher="(null)" fskeyhash="(null)" options="acl,user_xattr" /> fstab=0 ssh=0 Apr 17 16:34:01 raccoon kdm: :0[6731]: command: 'mount' '-t' 'crypt' 'acl,user_xattr' '/dev/samsung-hdd/home_rw' '/home/rw ---cut--- pam_mount does not pass "-o" the the command line. Thus, it fails. Other pam_mount entries with fstype=cifs work fine. They are using mount options too. Thanks, //richard Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=688031 https://bugzilla.novell.com/show_bug.cgi?id=688031#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |mc@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=688031 https://bugzilla.novell.com/show_bug.cgi?id=688031#c1 Michael Calmer <mc@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mc@novell.com |jengelh@medozas.de --- Comment #1 from Michael Calmer <mc@novell.com> 2011-04-18 07:34:08 UTC --- Jan: you may want to have a look ant this ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=688031 https://bugzilla.novell.com/show_bug.cgi?id=688031#c2 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |richard@nod.at --- Comment #2 from Jan Engelhardt <jengelh@medozas.de> 2011-05-01 22:14:57 UTC --- Please attach the entire pam_mount.conf.xml. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=688031 https://bugzilla.novell.com/show_bug.cgi?id=688031#c3 --- Comment #3 from Richard Weinberger <richard@nod.at> 2011-05-01 22:21:40 UTC --- Created an attachment (id=427458) --> (http://bugzilla.novell.com/attachment.cgi?id=427458) my pam_mount.conf.xml (imported from my old 11.0 workstation) There you go! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=688031 https://bugzilla.novell.com/show_bug.cgi?id=688031#c Richard Weinberger <richard@nod.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|richard@nod.at | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=688031 https://bugzilla.novell.com/show_bug.cgi?id=688031#c4 --- Comment #4 from Jan Engelhardt <jengelh@medozas.de> 2011-05-01 22:33:14 UTC --- Your config file contains old commands (<cryptmount>, et al) that should not be there anymore. Please take a fresh shipped pam_mount.conf.xml, and copy over the elements that you need changed -- which, in most cases, are just <volume>s. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=688031 https://bugzilla.novell.com/show_bug.cgi?id=688031#c5 --- Comment #5 from Richard Weinberger <richard@nod.at> 2011-05-01 22:42:23 UTC --- Thanks a lot! It works fine without <cryptmount>. :-) BTW: Why does pam_mount not ignore this old command? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=688031 https://bugzilla.novell.com/show_bug.cgi?id=688031#c6 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #6 from Jan Engelhardt <jengelh@medozas.de> 2011-05-01 22:47:21 UTC --- <cryptmount>, <cifsmount> and all the others can still be used to override the command for crypto/etc. mounts. But shipping the commands in the config file was a design problem I had inherited from the previous pam_mount maintainer. This had proved to be a showstopper for updates, so between v0.48 and v1.0, the commands have been removed from the cfg file, and are instead now hardcoded in the source. (with the cfg file still having the possibility to override.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com