Bug #242

dbus reports missing group "lp"

Added by Hammel almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:10 Nov 2013
Priority:UrgentDue date:
Assignee:Hammel% Done:

100%

Category:03 - Linux Kernel
Target version:0.8.0
Severity:03 - Medium

Description

This group needs to be added to the src/buildroot/skeleton/etc/group file in the PiBox tree.

Associated revisions

Revision e879c665
Added by Hammel over 3 years ago

RM #242: Add missing group lp to remove extraneous error on boot from dbus.

History

#1 Updated by Hammel over 3 years ago

  • Priority changed from High to Urgent
  • Target version changed from 1.0 - Atreides to 0.8.0

#2 Updated by Hammel over 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 40

There is no lp group at the moment. This message comes from /etc/dbus-1/system.d/bluetooth.conf, which tries to give users of the lp group access to bluetoothd. That isn't really needed, since this isn't intended to be used with printers. One can argue not to pull it out in case we do want it, but at the moment I don't want it in there.

This file comes from the bluez source, in src/bluetooth.conf.

The question is: how do I remove that?
  1. Strip it during firstboot
  2. Provide a skeleton file for it
  3. Patch bluez
  4. Add the lp group

I think the third one seems most appropriate. I can create a patch to the conf file, then create a patch that adds the patch to the buildroot/package/bluez_utils-4.101 directory. But the quickest solution is just add the lp group. I just worry that it opens holes by providing a group that isn't needed.

For now, I'll just add the group. I have more important issues (like rev'ing the kernel version) and I don't want to bog down on things like this.

#3 Updated by Hammel over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 40 to 100

Group added and tested. Changes pushed upstream.

This issue can be closed.

Also available in: Atom PDF