HAL

hald not parsing policies under /etc/hal/fdi/policy on kubuntu feisty

Asked by Adriano Provvisiero

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/fdi/policy. The file gets blatantly ignored (even if the hald cache gets invalidated if any modifications are made to such file, judging from the output of hald --daemon=no --verbose=yes, therefore hald is picking that file up). The driver hald tries to use when mounting the partition is still the read only ntfs driver.

The same policy file, nevertheless, works like a charm if placed under /usr/share/hal/fdi/policy/10osvendor, where all of the other standard policy files already reside. Is this a mistake on ntfs-config's side (ie the /etc directory isn't parsed by design by hal), or is this not intentional and somehow hald is skipping out that directory ?

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">
                    <match key="@block.storage_device:storage.hotpluggable" bool="true">
                            <merge key="volume.fstype" type="string">ntfs-3g</merge>
                <merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
                            <append key="volume.mount.valid_options" type="strlist">locale=</append>
                </match>
            </match>
    </device>

</deviceinfo>

--

and a few more infos:

hal package version: 0.5.9-1ubuntu2~feisty1
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

Question information

Language:
English Edit question
Status:
Solved
For:
HAL Edit question
Assignee:
No assignee Edit question
Solved by:
Adriano Provvisiero
Solved:
Last query:
Last reply:
Revision history for this message
Best Adriano Provvisiero (nuu) said :
#1

this seems to be a bug in the hal package according to the package maintainer. I have therefore filed a bug, https://bugs.launchpad.net/ubuntu/+source/hal/+bug/115768