[Bug 568144] New: Gnome attempts to automount an encrypted DVD image which is listed in fstab
http://bugzilla.novell.com/show_bug.cgi?id=568144 http://bugzilla.novell.com/show_bug.cgi?id=568144#c0 Summary: Gnome attempts to automount an encrypted DVD image which is listed in fstab Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i686 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: carlos.e.r@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=334873) --> (http://bugzilla.novell.com/attachment.cgi?id=334873) Screenshot of password prompt Gnome attempts to automount an encrypted DVD image which is listed in fstab, impeding scripts to continue and make them fail. Procedure. I burn a reiserfs, LUKS encripted, image to DVD using wodim. I eject the DVD. I run: file --dereference -s /dev/dvd which fails: /dev/dvd: writable, no read permission The command: nice cmp --bytes=$(wc -c <$1) /dev/dvd $IMAGE also fails: cmp: /dev/dvd: No medium found After about 8 seconds, gnome pops up a message prompting for the password (see attached capture), and then the above command succeed. The above sequence worked in 11.0, if I added some delays. To get it working in 11.2 I use this sequence: echo "Esperando a que el GNome suelte la deuvedera" while true ; do SALIDA=`file --dereference -s /dev/dvd` if test "$SALIDA" != "/dev/dvd: writable, no read permission" ; then echo "¡La soltó!" break else echo "Todavía no: ("$SALIDA")" sleep 1 fi done So that is "solved". What I'm reporting here is that GNome should not attempt to mount a device which is listed in fstab and crypttab. If I put a plain DVD, gnome says nothing. But it is encrypted, it asks for the password. Nice, but not wanted in this system. fstab: /dev/dvd /mnt/dvd auto ro,user 0 0 /dev/mapper/cr_mm_dvd /mnt/dvd.crypta.x \ auto ro,noauto,user,noatime,nodiratime 0 0 /dev/mapper/cr_mm_dvd.l /mnt/dvd.crypta.l \ auto ro,noauto,user,noatime,nodiratime 0 0 /etc/crypttab: cr_mm_dvd /dev/dvd none \ cipher=twofish-cbc-plain,size=256,hash=sha512,noauto,loop cr_mm_dvd.l /dev/dvd.l none noauto,loop /dev/dvd.l is a symlink to /dev/dvd -- Configure bugmail: http://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=568144 https://bugzilla.novell.com/show_bug.cgi?id=568144#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> 2013-09-29 17:09:27 UTC --- Dear Reporter, Thank you for taking the time to report this bug and helping to make openSUSE better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in openSUSE since the time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a current, supported openSUSE version. When you test it and it is still an issue, kindly reopen this bug and move it to the tested version of openSUSE. Truly yours. -- 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