hald not parsing policies under /etc/hal/fdi/policy on kubuntu feisty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt | ||
ntfs-config (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: hal
Hello,
recently i installed ntfs-config, a package that attempts to tell hal to mount ntfs partitions using the ntfs-3g (read/write) driver.
ntfs-config tries to achieve so by symlinking one of its policy files under /etc/hal/
The same policy file, nevertheless, works like a charm if placed under /usr/share/
here's the policy file:
--
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<!-- file created by ntfs-config -->
<!-- mount ntfs volume with the ntfs-3g driver to enable write support -->
<device>
<match key="volume.fstype" string="ntfs">
</device>
</deviceinfo>
--
and a few more infos:
hal package version: 0.5.9-1ubuntu2~
ntfs-config version: Version: 0.5.5-0ubuntu1
uname -r: 2.6.20-15-generic
the distribution is Kubuntu Feisty 7.04
Thanks for your time.
nuu
The error is not in hal. The problem is that there is no policykit in kubuntu/ubuntu distributions. Try to watch you .xsession-errors while plug in ntfs-3g device and you'll see something like this: p/Hal/devices/ volume_ uuid_2EE506BF00 0932C2: org.freedesktop .Hal.Device. PermissionDenie dByPolicy - hal-storage- removable- mount-all- opti p/Hal/devices/ volume_ uuid_2EE506BF00 0932C2 returned hal-storage- removable- mount-all- options refused uid 1000 :slotMediumAdde d: sdb1_1
kded: ERROR: mount failed for /org/freedeskto
ons refused uid 1000
kded: ERROR: mounting /org/freedeskto
MediaManager: