Re: disabling automount in Fedora 12

2009-12-18 Thread John Lumby

Eric wrote:

 Thanks Tom!  That at least gave me a hint as to where this is happening.
 I used the sledgehammer approach of removing the DeviceKit-disks package
 entirely.  That works, but a very cryptic error window does pop up every
 time I plug in a disk, and I don't get optical media automounted either.
 There ought to be a better solution, but this at least solves my immediate
 problem.

a lighter hammer :

mv /usr/libexec/devkit-disks-daemon /usr/libexec/devkit-disks-daemon.hide

and also kill the running deamons if you want it to work before next boot:
COLUMNS=720 ps -eo pid,ppid,uname,tty,stat,etime,time,pcpu,args | egrep -ie 
'dev.*kit' | fgrep -v grep
 1623 1 root ?S   21:00:54 00:00:22  0.0 
/usr/libexec/devkit-power-daemon
 1987 1 root ?S   21:00:36 00:00:00  0.0 
/usr/libexec/devkit-disks-daemon
 1996  1987 root ?S   21:00:34 00:00:00  0.0 
devkit-disks-daemon: not polling any devices

kill 1996 1987

works without any annoying error pop-ups.

John
  
_
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://go.microsoft.com/?linkid=9691816-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: disabling automount in Fedora 12

2009-11-18 Thread Eric Smith
Thanks Tom!  That at least gave me a hint as to where this is happening.  I
used the sledgehammer approach of removing the DeviceKit-disks package
entirely.  That works, but a very cryptic error window does pop up every
time I plug in a disk, and I don't get optical media automounted either.
There ought to be a better solution, but this at least solves my immediate
problem.

Years ago, there was a media preferences item that had simple checkboxes to
control automounting.  It would be nice if that came back.  At some point it
went away in favor of the authorizations which has now gone away as well.  I
think someone was confused, as setting system policy for who has permission
to mount devices should be completely orthogonal to whether a particular
user wants devices automounted.  In other words, just because I have
permission from the administrator doesn't mean that I always want it to
happen; I should still be able to disable it.  (Obviously if the
administrator doesn't give me permission, the user setting to enable it
isn't going to actually let me mount disks.)

Eric
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines