Group/user mentioned in udev rule prior to creation in postinstall hook

Bug #2065826 reported by Kyle Metscher
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
colord (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Opening as part of a support ticket response.

colord can install udev rules -- in this case, /usr/lib/udev/rules.d/69-cd-sensors.rules -- that mention the group colord before creating it. If "systemctl daemon-reload" is ran between installation of the rules file and creation of the group, it takes 60 seconds longer than usual. This can have a rather noticeable performance impact when installing colord along with many other packages, which occurs frequently in use cases like desktop provisioning.

I imagine it's possible to resolve this by moving the user/group creation from the postinst script to preinst.

Reported in 24.04 with package version 1.4.7-1build2.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in colord (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.