GNOME Bugzilla – Bug 155532
g-v-m trys to mount devices only mountable by root
Last modified: 2005-08-03 18:56:53 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.
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 :)