After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 155532 - g-v-m trys to mount devices only mountable by root
g-v-m trys to mount devices only mountable by root
Status: RESOLVED INVALID
Product: gnome-volume-manager
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Robert Love
Robert Love
Depends on:
Blocks:
 
 
Reported: 2004-10-15 18:58 UTC by John (J5) Palmieri
Modified: 2005-08-03 18:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John (J5) Palmieri 2004-10-15 18:58:30 UTC
This was posted to RedHat's bugzilla:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=135801

Michal Jaegermann Wrote:
>I am not sure if this is really 'hal' but I am not sure what
>is this 'manager.c' which produces these messages:
>
>manager.c/982: mount_all: mounting /dev/sda1
>mount: only root can mount /dev/sda1 on /media/scsidisk6
>manager.c/982: mount_all: mounting /dev/sda2
>mount: only root can mount /dev/sda2 on /media/scsidisk5
>manager.c/982: mount_all: mounting /dev/sda3
>mount: only root can mount /dev/sda3 on /media/scsidisk4
>manager.c/982: mount_all: mounting /dev/sda6
>mount: only root can mount /dev/sda6 on /media/scsidisk3
>manager.c/982: mount_all: mounting /dev/sda7
>mount: only root can mount /dev/sda7 on /media/scsidisk2
>manager.c/982: mount_all: mounting /dev/sda8
>mount: only root can mount /dev/sda8 on /media/scsidisk1
>manager.c/982: mount_all: mounting /dev/sda9
>mount: only root can mount /dev/sda9 on /media/scsidisk
>
>Very good!  These are clearly marked 'noauto', and no other options,
>and there are __not supposed__ to be mounted and definitely that is
>the case for non-root.  So why all this racket?  Actually the fact
>that they get mounted when 'root' is loging to a desktop, and they
>have to be constantly unmounted, is a bug.  Not a show-stopper but a
>getting on nerves inconvenience.

Most of this was already explained in the RH bug to Michal as being configurable
but perhaps g-v-m can be a bit more intelligent when trying to mount drives that
will fail to mount so I am moving this issue upstream.
Comment 1 Jeffrey Stedfast 2005-06-27 21:05:21 UTC
I don't think g-v-m can easily know what will be and what won't be mountable as
the user, especially now that the mount command can be specified at compile-time
- so we can't even make assumptions about how the mounting program will work.

I'm inclined to simply close this and disable debug output - then he wouldn't
ever know that g-v-m was trying to ever mount it :)