[Pkg-utopia-maintainers] Bug#524781: hald does not read files in /etc/hal/fdi

Antoine Sirinelli debian at monte-stello.com
Sun Apr 19 21:23:05 UTC 2009


Package: hal
Version: 0.5.12~git20090406.46dc48-2
Severity: normal

If you add some files in /etc/hal/fdi/policy, they will not be taken into
account. I think hald is just ignoring these files. You can reproduce this bug
like this:

-Terminal 1- launch this command:
inotifywatch /etc/hal/fdi/information/media-check-disable-DVDW_TS_L632D.fdi /etc/hal/fdi/policy/preferences.fdi

-Terminal 2- launch then this command:
/etc/init.d/hal restart

After the complete restart of hald, you can stop inotifywatch (with Ctrl-C):
Establishing watches...
Finished establishing watches, now collecting statistics.
No events occurred.

That means that no program has tried to acces to the 2 files watched in
/etc/hal/fdi/[information|policy]

Thus, you cannot add home-made rules for hald.

Antoine


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  acl          2.2.47-2                    Access control list utilities
ii  adduser      3.110                       add and remove users and groups
ii  consolekit   0.3.0-2                     framework for defining and trackin
ii  dbus         1.2.12-1                    simple interprocess messaging syst
ii  hal-info     20090309-1                  Hardware Abstraction Layer - fdi f
ii  libc6        2.9-7                       GNU C Library: Shared libraries
ii  libdbus-1-3  1.2.12-1                    simple interprocess messaging syst
ii  libdbus-glib 0.80-3                      simple interprocess messaging syst
ii  libexpat1    2.0.1-4                     XML parsing C library - runtime li
ii  libgcc1      1:4.3.3-8                   GCC support library
ii  libglib2.0-0 2.20.1-1                    The GLib library of C routines
ii  libhal-stora 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer - share
ii  libhal1      0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer - share
ii  libpolkit2   0.9-3                       library for accessing PolicyKit
ii  libsmbios2   2.0.3.dfsg-1                Provide access to (SM)BIOS informa
ii  libstdc++6   4.3.3-8                     The GNU Standard C++ Library v3
ii  libusb-0.1-4 2:0.1.12-13                 userspace USB programming library
ii  libvolume-id 0.141-1                     libvolume_id shared library
ii  lsb-base     3.2-22                      Linux Standard Base 3.2 init scrip
ii  mount        2.13.1.1-1                  Tools for mounting and manipulatin
ii  pciutils     1:3.1.2-3                   Linux PCI Utilities
ii  pm-utils     1.2.5-2                     utilities and scripts for power ma
ii  policykit    0.9-3                       framework for managing administrat
ii  udev         0.141-1                     /dev/ and hotplug management daemo
ii  usbutils     0.73-10                     Linux USB utilities

Versions of packages hal recommends:
ii  eject           2.1.5+deb1+cvs20081104-6 ejects CDs and operates CD-Changer
ii  libsmbios-bin   2.0.3.dfsg-1             Provide access to (SM)BIOS informa

Versions of packages hal suggests:
ii  gnome-device-manager          0.2-3      GNOME device manager based on HAL

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list