Hi, running 10.1 with ctwm, so I installed ivman-0.6.9-16.3 (updated package) according to http://en.opensuse.org/SDB:Automount_CD/DVD_with_ivman Running ivman as root works and I can access CDs as root. Running as user, I get this error when I insert a CD: manager.c:768 (ivm_run_command) Running: halmount '/dev/hdc' /dev/hdc: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal") Can someone give me a hint what to do? I took a look at the dbus config file, but I'm far from understanding it. And I also wouldn't like to patch some dbus file or sth. just to mount a CD. This must work out of the box I guess... cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
No one??? Looks like I'm not supposed to work with SuSE anymore, because I will never run Gnome or KDE. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
No one??? Looks like I'm not supposed to work with SuSE anymore, because I will never run Gnome or KDE.
I am currently cooking up a solution because Knoppix suffers from the same problem :p Already works with "devices" (read: USB sticks), but I still have to add CDROM support (which are always "plugged in") Jan Engelhardt -- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Engelhardt wrote
No one??? Looks like I'm not supposed to work with SuSE anymore, because I will never run Gnome or KDE.
I am currently cooking up a solution because Knoppix suffers from the same problem :p Already works with "devices" (read: USB sticks), but I still have to add CDROM support (which are always "plugged in")
Thanks for caring ;-) Is this a solution to the permissions problem, or are you "cooking" a solution without ivman? Anyway, please let know when you are done :-) If you want me to test your solution on our SuSE systems, feel free to send me any (beta or whatever) version and I will check it out here and give you some feedback! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
No one??? Looks like I'm not supposed to work with SuSE anymore, because I will never run Gnome or KDE.
I am currently cooking up a solution because Knoppix suffers from the same problem :p Already works with "devices" (read: USB sticks), but I still have to add CDROM support (which are always "plugged in")
Thanks for caring ;-) Is this a solution to the permissions problem, or are you "cooking" a solution without ivman? Anyway, please let know when you are done :-)
A solution without any requirements for graphical software. http://jengelh.hopto.org/f/micromount-0.1.tar.bz2 There is probably a better way using HAL itself, so I put µmount on hold for now. Note that it was created for another project, and therefore will - at this time - mount into /clusterwork and write the mountpoint into /etc/exports while the device is plugged in (so it's not entirely user-friendly-conform-configurable). Jan Engelhardt --
Jan Engelhardt wrote
A solution without any requirements for graphical software. http://jengelh.hopto.org/f/micromount-0.1.tar.bz2
I will check that out! Thanks! -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
No one??? Looks like I'm not supposed to work with SuSE anymore, because I will never run Gnome or KDE.
I am currently cooking up a solution because Knoppix suffers from the same problem :p Already works with "devices" (read: USB sticks), but I still have to add CDROM support (which are always "plugged in")
Thanks for caring ;-) Is this a solution to the permissions problem, or are you "cooking" a solution without ivman? Anyway, please let know when you are done :-)
A solution without any requirements for graphical software. http://jengelh.hopto.org/f/micromount-0.1.tar.bz2
There is probably a better way using HAL itself, so I put µmount on hold for now. Note that it was created for another project, and therefore will - at this time - mount into /clusterwork and write the mountpoint into /etc/exports while the device is plugged in (so it's not entirely user-friendly-conform-configurable).
I found out that ivman does what I effectively want (automount without K/G), therefore I cancelled any other effort. What sucks though, is that you need a shitload of components just to automount, udev hal dbusd ivman (python) Big minus. Jan Engelhardt --
On 2006-09-07 09:10:37 +0200, Jan Engelhardt wrote:
udev hal dbusd ivman (python)
where udev, hal, dbus are system essentials. so the only 2 packages you really need to install later are python and ivman. hmm jan how long would it take you to provide a C binary that replaces the python script? darix p.s. or perl script. as perl is in the core set too. -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
udev hal dbusd ivman (python)
where udev, hal, dbus are system essentials. so the only 2 packages you really need to install later are python and ivman.
hmm jan how long would it take you to provide a C binary that replaces the python script?
micromount, in its current state (uses udev rather than hal - therefore only acts on device events, not media change events like cdrom), took half a day to write and test. To extend it for media changes, I would probably need libhal, and libhal however seems a lot more complex (its interface also has a certain ugliness factor) than udev's "API". What I say is that at least udev, hald and dbusd could/should be one process. Jan Engelhardt -- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Engelhardt wrote
No one??? Looks like I'm not supposed to work with SuSE anymore, because I will never run Gnome or KDE.
I am currently cooking up a solution because Knoppix suffers from the same problem :p Already works with "devices" (read: USB sticks), but I still have to add CDROM support (which are always "plugged in")
One more info that might be interesting for you, too. We figured our that the permission problem only shows up when the user logs via the text console (and uses startx afterwards). If you login via kdm/gdm (but still do *not* use KDE or Gnome but e.g. ctwm), ivman can mount a CD for the user. Maybe it's due to some pam stuff. I remember some permissions were set when you log in via kdm in 9.2, but I'm not sure what happens exactly. I will let you know if I find out more. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 05 September 2006 12:17, Frank Steiner wrote:
Jan Engelhardt wrote
No one??? Looks like I'm not supposed to work with SuSE anymore, because I will never run Gnome or KDE.
I am currently cooking up a solution because Knoppix suffers from the same problem :p Already works with "devices" (read: USB sticks), but I still have to add CDROM support (which are always "plugged in")
One more info that might be interesting for you, too. We figured our that the permission problem only shows up when the user logs via the text console (and uses startx afterwards). If you login via kdm/gdm (but still do *not* use KDE or Gnome but e.g. ctwm), ivman can mount a CD for the user.
Maybe it's due to some pam stuff. I remember some permissions were set when you log in via kdm in 9.2, but I'm not sure what happens exactly. I will let you know if I find out more.
Probably it's related to pam_resmgr, which is used by the display managers but not on console login (for safety reasons, since if there is a problem with resmgr, you could be locked out even as root) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson wrote
Maybe it's due to some pam stuff. I remember some permissions were set when you log in via kdm in 9.2, but I'm not sure what happens exactly. I will let you know if I find out more.
Probably it's related to pam_resmgr, which is used by the display managers but not on console login (for safety reasons, since if there is a problem with resmgr, you could be locked out even as root)
That's what I thought first, but /etc/pam.d/login also contains session required pam_resmgr.so so that cannot be the reason. Maybe it's one of the scripts in /etc/X11/xdm that set some permissions somewhere. I will try to check those. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Frank Steiner wrote
Running ivman as root works and I can access CDs as root. Running as user, I get this error when I insert a CD: manager.c:768 (ivm_run_command) Running: halmount '/dev/hdc' /dev/hdc: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
I was able to resolve this: Due to some veeeery old mechanism, we used sth. like "startx& logout" to start X. Therefore the resmgr permissions were revoked during logout and so users didn't have any access via resmgr when X comes up. "resmgr list" showed an empty list of deviced. We changed that so that the permissions given at login were kept when starting X, and now ivman works for users, too. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Anders Johansson
-
Frank Steiner
-
Jan Engelhardt
-
Marcus Rueckert