Bug 177589
Summary: | gnome-mount does not seem to be working at all | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> |
Component: | gnome-mount | Assignee: | John (J5) Palmieri <johnp> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | david.r.bentley, jkeck |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-23 14:39:14 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
Michal Jaegermann
2006-01-11 23:27:23 UTC
Did you reboot your machine after upgrading? > Did you reboot ...
Yes. Updates included, among other things, kernel and glibc.
what about se-linux? selinux is turned off This all works for me. Please update your complete system to the latest rawhide and tell me if it still is not working. Actually wait a couple of days. Right as of yesterday it got completely borked in Rawhide. I tried what will happen with gnome-mount-0.4-0.cvs20060117 and other current updates. Results are at least strange. First nothing is mounted by whatever mechanisms are supposed to do that on a desktop. While trying gnome-mount -d /dev/fd0 I am getting invariably an alert "Unable to mount media. There is probably no media in the drive". There is no difference if the here are media in a drive or not. The same alert shows up when I try to use "Mount" menu entry on a floppy icon after I will open "Computer" browse window. As root I can do 'mount /dev/fd0 /media/floppy'. No problems here and this causes a floppy icon to show up on a desktop and also an icon in a "Computer" window changes shape. Then I can unmount this floppy with a mouse on an "Unmount Volume" menu entry on that icon. In that "Computer" window there is a CD-ROM icon as long as I will not put a CD into a drive. After some access, with a disk spinning and ligths showing up a on drive, that icon disappears from that window and gnome-mount silently ignores /dev/hdc - which happens to be a correct device. I do not see anything weird in an output of lshal but maybe I am missing something. That icon returns when I will take out my CD. I can do as well 'mount -r /dev/hdc /media/cdrecorder' but this time this does not make a corresponding icon to show up. Attempts to umount or eject that CD using 'gnome-(u)mount' are ignored too although 'eject' does not have any problems. Media connected via USB are also silently ignored by 'gnome-mount' although in logs I see that they are correctly detected and recognized. Adding '-v' flag to 'gnome-mount' invocations does not produce any extra output. Is that detail that this is on x86_64 somehow relevant? I tested on another machine, i386 this time, with the current rawhide on it. USB cannot be done as it is broken hardware-wise on that particular box. Floppy behaves exactly the same way as described in comment #7. There is a difference with CDs though. They are still not mounted on an insert even if all required boxes are marked in preferences. I checked. OTOH a drive icon does not vanish from "Computer" browse window and "Mount volume" on an icon menu has a desired effect - i.e. media are mounted and a corresponding icon shows up on a desktop and it can be used to eject. Auto-mounting on insert used to work on this machine in the past and floppies were mountable too. They stil are, with a help of 'mount', so there is nothing wrong hardwarewise. I have a Pioneer DVD-303 scsi dvd drive which exhibits the following problem. On inserting media CD or DVD (audio or data CD and data DVD) the drive appears to see the media (spins up etc...) but on trying to use the mount menu option I get a small box with a white cross on an icon and a button with OK on it and another box titled error with a message saying Unable to mount media and suggesting that there is probably no media in the drive. Adding myself to the Cc list A new version of HAL should be released upstream shortly. It should fix the floppy problem. I'm not sure about teh CD-ROM problems. When it is released I will update this bug. Is anybody still seeing these issues with current rawhide / test3 ? > Is anybody still seeing these issues with current rawhide / test3 ?
There are changes but things are far from sane and/or consistent.
My setup is current now with all available updates applied.
I see different behaviour on non-root and root accounts.
First non-root. CDs and a USB storage which I can try indeed are now
mounted automatically. Beyond a totally broken tendency to mount at
a mount point derived from some random string this more or less behaves.
Who invented this particular extra heavy brain-damage and where is documented
how to get around that? I know for the fact that this will be a serious
obstacle for people with a bad eyesight and surely will have many other nasty
side effects.
Floppies have to be mounted by clicking on a floppy icon in a "Computer"
window. So far so good but they cannot be unmounted by picking up
"Unmount volume" from a corresponding floppy menu. That action is silently
ignored. Typing in a terminal window
gnome-mount -e -v -d /dev/fd0
does unmount that floppy, silently despite of -v, but it leaves behind
/media/floppy directory owned by root. The next attempt to mount floppy
mounts it on /media/floppy-1, which is left behind, and repeating that
operation quickly fills /media directory with a garbage which only root
can remove.
BTW 'gnome-umount -e -v -d /dev/fd0' silently returns doing nothing
despite that '-e' option is listed by '--help'. Dropping '-e' makes this work.
For root the situation is somewhat different. Anything mountable behaves
like a floppy. That means that it does not automount but it has to be
explicitely coached with a mouse. It does not matter which combinations
of boxes are checked in "Preferences" for "Removable Drives ...".
Unmounting from an icon menu works for all kinds of media, including floppy,
but it still leaves behind /media/floppy, /media/floppy-1, and ad nauseam.
Anything of the above should be split into a separate bug reports?
Michal, Thanks for the detailed bug reports but can I ask you not to be abusive in them. It's not fun reading lines like "extra heavy brain-damage" before my morning coffee. As for the naming we take the volume label of the device. I would mark that as not a bug. If you disagree that is something to descuss upstream. Gnome-mount being broken and not removing directories should be opened up as a new bug however. The root issue should also be opened up as a new bug but I suspect it is a security measure and perhaps we should note it on the preference capplet but that is low priority and another thing upstream should handle. Thanks. Closing this bug. > As for the naming we take the volume label of the device. I would mark that as > not a bug. That what I was afraid of. Otherwise I would file that as an evident bug. No, you do not take the volume label of the device. You try to and this sometimes works and sometimes it does not. Even when this happens to work, for what gains it is beyond comprehension as at least a CD volume label shows up on a desktop even if a mountpoint has not label-derived, it is still a random, not very well defined string and results are not pretty. > If you disagree that is something to descuss upstream. Past experience shows that this is a total waste of time. I would settle for a well defined and documented way to work around that damage. |