dbus reports missing group "lp"
This group needs to be added to the src/buildroot/skeleton/etc/group file in the PiBox tree.
Updated by Hammel almost 8 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?
- Strip it during firstboot
- Provide a skeleton file for it
- Patch bluez
- 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.