Bug#377689: HAL policy breaks mounting for next KDE

Sjoerd Simons sjoerd at spring.luon.net
Tue Aug 8 20:01:06 UTC 2006


On Mon, Jul 10, 2006 at 02:06:27PM -0400, Christopher Martin wrote:
> Package: hal
> Version: 0.5.7-2
> Severity: important
> 
> The next release of KDE, 3.5.4, brings changes to how removable devices 
> are mounted (by changing how dbus/HAL/pmount is used), and this has 
> uncovered a problem with Debian's HAL.
> 
> Prior to 3.5.4, users running KDE could mount or unmount volumes (data 
> CDs, DVDs, etc.) as long as they were members of the plugdev group. No 
> entry in /etc/fstab was required for a device to be mounted; KDE would 
> use fstab if it existed, but if not it created its own directory 
> under /media and mounted the device there. It used pmount to do this.
> 
> Now, however, an entry under /etc/fstab is required for users to be able 
> to mount a volume, and it must have the "user" or "users" option there 
> as well. Otherwise, users receive an error message:
> 
> "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")"
> 
> ...when trying to mount a volume. I guess KDE doesn't use pmount 
> anymore.

At least for gnome we have patched various part to use pmount instead of the
hal callout to do the mounting. The KDE packagers probably did the same for the
current version of KDE  and i would expect them to do the same for the next
version. I've CC'd the kde maintainers so they can give their opinion :)

Btw for etch we will probably keep using the pmount method unless somebody
comes with very good reasons to switch to hal callouts for mounting.

  Sjoerd
-- 
A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
		-- Leibnitz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20060808/2c60faf3/attachment.pgp


More information about the pkg-kde-talk mailing list