pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42957: xfce4 does not mount CDROM

>Number:         42957
>Category:       pkg
>Synopsis:       xfce4 does not mount CDROM
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 11 11:45:00 +0000 2010
>Originator:     Petr Topiarz
>Release:        5.99.24 (GENERIC) - current
NetBSD acer.bsd.home 5.99.24 NetBSD 5.99.24 (GENERIC) #0: Fri Mar  5 00:05:42 
UTC 2010

I log into xfce4 through gdm. Hal is autostarted by rc.conf. Procfs is mounted. 
/proc exists is owned by root and in the group owning it is haldaemon. chmown 
is 770. 

Xfce 4 can see a cdrom (I don't have it in fstab) and when I insert a cd, the 
label appears under the icon. If I want to mount it by right clicking and 
selecting "mount", a window appears saying Unable to mount "CD-ROM Disc":

Given device "/org/freedesktop/Hal/devices/cd0d" is not a volume or drive

However lshal reviels:

lshal |grep cd0  
udi = '/org/freedesktop/Hal/devices/cd0'
  block.device = '/dev/cd0d'  (string)
  block.netbsd.raw_device = '/dev/rcd0d'  (string)
  info.product = 'cd0'  (string)
  info.udi = '/org/freedesktop/Hal/devices/cd0'  (string)
  netbsd.device = 'cd0'  (string)
udi = '/org/freedesktop/Hal/devices/cd0d'
  block.device = '/dev/cd0d'  (string)
  block.netbsd.raw_device = '/dev/rcd0d'  (string)
  block.storage_device = '/org/freedesktop/Hal/devices/cd0'  (string)
  info.parent = '/org/freedesktop/Hal/devices/cd0'  (string)
  info.product = 'cd0d'  (string)
  info.udi = '/org/freedesktop/Hal/devices/cd0d'  (string)
  netbsd.device = 'cd0d'  (string)

to see my policykit conf (which works greatly on 5.0.2 with xfce4)

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"

<!-- See the manual page PolicyKit.conf(5) for file format -->

<config version="0.1">

<match user="root">
n result="yes"/>

        <match user="beowulf">
                <return result="yes"/>
        <define_admin_auth group="wheel"/>

any idea how to fix this?
Install NetBSD 5.99.24 (GENERIC) and xfce4 from pkgsrc-current.
Log through GDM.
Insert a cdrom.
Try to mount it by clicking at mount from the right-click menu.

Home | Main Index | Thread Index | Old Index