[regression] hald ignores changes to files in /usr/share/hal/fdi and /etc/hal/fdi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Binary package hint: hal
since one of the last upgrades, the hald isn't configurable anymore.
It ignores changes to or new files in /usr/share/hal/fdi and /etc/hal/fdi
I tried to comment out the
<!-- merge key="info.ignore" type="bool"
for my Huawei USB-modem as I want to access the microSD card (which did work fine with earlier versions ..). lshal reports it as ignored even after restarting hal or the whole system. Also creating a file to /etc/hal/
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<!-- Ignore the Huawei E220/E180 CD emulation -->
<match key="@storage.
<match key="@storage.
<merge key="storage.
<match key="storage.
<merge key="info.ignore" type="bool"
</match>
</match>
</match>
</match>
</device>
</deviceinfo>
to /etc/hal/
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="block.
<merge key="volume.ignore" type="bool"
</match>
</device>
</deviceinfo>
which is ignored in /etc/hal/policy and /usr/share/
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelMo
Package: hal 0.5.11-4ubuntu4 [modified: usr/bin/lshal usr/bin/
ProcEnviron:
LANGUAGE=de
PATH=/
LANG=de_AT.UTF-8
SHELL=/bin/bash
SourcePackage: hal
Uname: Linux 2.6.27-10-generic i686
Changed in hal: | |
assignee: | nobody → pitti |
Changed in hal: | |
importance: | Undecided → High |
status: | New → In Progress |
The root of the problem was a future timestamp of the fdi-cache:
-rw-r--r-- 1 root root 1039604 2024-07-20 02:45 fdi-cache
after deleting it, everything works fine again. The future time probably came from a PM_TRACE, which I have activated, since the S2Mem is f*ing instable since intrepid ... nevertheless, I regard this behavior as a bug in hal. It is or has been discussed there for Debian and Ubuntu, so there should:
http://<email address hidden> /msg572726. html groups. google. com/group/ linux.debian. bugs.dist/ browse_ thread/ thread/ 83d30ea7b629e4a 4
http://
and here you find a patch (which is secure, as it deletes the fdi-cache on every hal-start, but increases boot-time):
http:// groups. google. com/group/ linux.debian. bugs.dist/ attach/ b524a9234fe6547 d/hal.fdi- cache.debdiff? part=3
regards,
tom