[Pkg-bluetooth-maintainers] Bug#534118: bluez: /etc/dbus-1/system.d/bluetooth.conf references possibly non-existant netdev group

Nikita V. Youshchenko yoush at debian.org
Sun Jun 21 19:30:34 UTC 2009


Package: bluez
Version: 4.40-2
Severity: minor

Hi.

bluez package provides /etc/dbus-1/system.d/bluetooth.conf file, that
(as of bluez 4.40-2) mentions "netdev" group:

...
  <policy group="netdev">
...

However bluez postinst does not create this group, and it is not guaranteed to
exist (currently is gets created on most desktop systems by avahi, but bluez
may be installed e.g. on embedded system that does not have avahi installed).

This at least results in ugly error messages on system boot.

Please consider adding something like

    # Add the netdev group unless it's already there
    if ! getent group netdev >/dev/null; then
      addgroup --quiet --system netdev || true
    fi

to bluez postinst.





More information about the Pkg-bluetooth-maintainers mailing list