Public bug reported:

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/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

** Affects: hal (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
hald not parsing policies under /etc/hal/fdi/policy on kubuntu feisty
https://bugs.launchpad.net/bugs/115768
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to