Public bug reported:

After upgrading from 9.04 -> 9.10 /etc/hal/fdi/policy/* files are no
longer parsed.

I've changed /etc/default/hal to include DAEMON_OPTS="--verbose=yes
--use-syslog" and I see no syslog output at all in /var/log/syslog or
any other log file. Maybe this is a bug too.

If a hal expert can tell me how to trace hal policy parsing I'll return
whatever additional data is required.

I have a policy file /etc/hal/fdi/policy/diebluebirds.fdi which
contains:

r...@home1:~# cat /etc/hal/fdi/policy/diebluebirds.fdi 
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
 <device>
  <match key="volume.label" string="Bluebirds">
   <merge key="volume.ignore" type="bool">true</merge>
  </match>
 </device>
</deviceinfo>

This worked perfectly under 9.04 suppressing the "Bluebirds" Desktop
icon.

After update to 9.10 this no longer worked. I've also placed this policy
file in a 10osvendor subdirectory as some bug reports suggest doing,
with no effect.

The output from lshal shows:

da...@home1:~$ lshal -m

Start monitoring devicelist:
-------------------------------------------------
11:29:39.932: volume_label_Bluebirds property volume.mount_point = ''
11:29:39.935: volume_label_Bluebirds property volume.is_mounted_read_only = 
false
11:29:39.936: volume_label_Bluebirds property volume.is_mounted = false
11:29:42.803: storage_model_DVDRAM_GH22LS50 property 
storage.removable.media_available = false
11:29:43.063: storage_model_DVDRAM_GH22LS50 property storage.cdrom.write_speeds 
= {'8468', '8467', '7057', '7056', '5646', '5645', '4235', '4234', '2822', 
'1411', '706'}
11:29:43.064: volume_label_Bluebirds removed
11:30:05.572: storage_model_DVDRAM_GH22LS50 property 
storage.removable.media_available = true
11:30:05.595: storage_model_DVDRAM_GH22LS50 property storage.cdrom.write_speeds 
= {'8468', '8467', '7057', '7056', '5646', '5645', '4235', '4234', '2822', 
'1411', '706'}
11:30:05.673: volume_label_Bluebirds added
11:30:05.768: volume_label_Bluebirds property volume.mount_point = 
'/media/Bluebirds'
11:30:05.769: volume_label_Bluebirds property volume.is_mounted_read_only = true
11:30:05.772: volume_label_Bluebirds property volume.is_mounted = true

Changing key=volume.label to key=volume.mount_point +
string="/media/Bluebirds" has no effect either.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
9.04 -> 9.10 hal fails to parse /etc/hal/fdi/policy/* files
https://bugs.launchpad.net/bugs/421150
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to