Public bug reported:

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.

** Affects: colord (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065826

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/colord/+bug/2065826/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to