Bug 27059

Summary: gmc mounting/unmounting of devices succeeds, but pops up bogus warning dialogs
Product: [Retired] Red Hat Linux Reporter: Ed McKenzie <eem12>
Component: magicdevAssignee: Elliot Lee <sopwith>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-27 04:27:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ed McKenzie 2001-02-11 17:56:34 UTC
IMO, workstation-class installs should append the 'user' option to CD-ROM
and floppy devices in /etc/fstab. 'Workstation' tends to imply 'single
user,' and ideally that single user shouldn't be root.

Comment 1 Jeremy Katz 2001-02-11 22:12:26 UTC
Removable devices are given the 'owner' flag by default, allowing the user who
owns the device to mount it.  This coupled with pam_console chown'ing devices on
login should be sufficent for letting the user currently logged into the console
mount removable devices.

Comment 2 Ed McKenzie 2001-02-11 22:15:33 UTC
Then perhaps gmc should be patched so these devices work without 'user'? As it
is, gmc won't eject/mount/umount desktop devices as anyone but root.

Comment 3 Jeremy Katz 2001-02-11 22:23:44 UTC
Actually, gmc is mounting and unmounting the devices properly but not
interpreting the results of the mount properly... on mount, I get a warning
dialog box with gibberish or nothing and get similar warnings on unmount.
Reassigning to gmc and changing the subject to match the real problem

Comment 4 Glen Foster 2001-02-12 23:14:52 UTC
We (Red Hat) should really try to resolve this before next release.

Comment 5 Elliot Lee 2001-02-14 00:31:39 UTC
I don't see this bug. Can you provide detailed instructions on reproducing it?

Comment 6 Ed McKenzie 2001-02-14 05:27:27 UTC
This happens whenever I mount or unmount CD devices as a non-root user (haven't
tried it as root.) I get error dialogs with garbage, but the mount appears to
succeed anyway.

If it makes a difference, I do have two CD drives on this box.

Comment 7 Elliot Lee 2001-02-19 17:39:04 UTC
Like I said, works fine for me. I'm not really sure how to proceed without being
able to make it happen here.

Comment 8 Jeremy Katz 2001-02-27 04:27:23 UTC
I'm seeing this without fail on a fresh install of 20010226 rawhide with
gmc-4.5.51-25 and magicdev-0.3.0-4.  From looking at straces of both gmc and
magicdev, I don't think it's magicdev though (especially as I've only seen it on
manual mounts or double-click to open and mount).  Now for the really weird bit,
I've only gotten it to happen on the first login after removing all of my
.gnome* and .mc* directories.

The exact steps to reproducing were:
1) install
2) log in as non-root user (fresh account)
3) with floppy in drive, right click on floppy icon and click mount
   (alternately, double click for open)
4) see warning pop up
5) right click on floppy and select unmount device, see similar warning

Comment 9 Elliot Lee 2001-03-15 22:15:40 UTC

*** This bug has been marked as a duplicate of 29791 ***