Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470910 - sys-apps/util-linux - uuidd: make optional, add openrc script
Summary: sys-apps/util-linux - uuidd: make optional, add openrc script
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
Keywords: PATCH
Depends on:
Blocks: systemd-consumers 462058
  Show dependency tree
Reported: 2013-05-21 19:28 UTC by Alexander Tsoy
Modified: 2021-07-08 02:38 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---

files/uuidd.initd (uuidd.initd,573 bytes, text/plain)
2013-05-21 19:28 UTC, Alexander Tsoy
util-linux-2.22.2.ebuild.patch (util-linux-2.22.2.ebuild.patch,1.66 KB, patch)
2013-05-21 19:29 UTC, Alexander Tsoy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2013-05-21 19:28:16 UTC
1. Let's make uuidd optional. Seems it is not widely used: nobody requested openrc script for it yet and some distributions (e.g. rhel) even ships uuidd in a separate package.

2. Add openrc script for uuidd.

3. Systemd units are instaled automagically if systemd is installed. Use systemd.eclass to always install systemd units if USE=uuidd.
Comment 1 Alexander Tsoy 2013-05-21 19:28:47 UTC
Created attachment 348850 [details]
Comment 2 Alexander Tsoy 2013-05-21 19:29:07 UTC
Created attachment 348852 [details, diff]
Comment 3 Alexander Tsoy 2013-05-21 22:31:19 UTC
(In reply to comment #1)
> Created attachment 348850 [details]
> files/uuidd.initd

depend() should be changed:
"after clock" -> "need localmount clock"
Comment 4 Kai Krakow 2013-12-09 13:49:41 UTC
For uuidd to actually work with the shipped uuidd service files, uuidd has to be compiled with socket activation support. The man page even states that this is only used in combination with systemd.

So maybe add a systemd useflag which compiles uuidd with socket activation support.

If you still want to make uuidd optional, there should probably be a use constraint like "systemd? (uuid)".

Having a use flag like systemd sounds more logical to me than implementing suggestion number 3 from the bug description.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-04-03 23:12:43 UTC
Can you bump this patch with acct-{user,group}/uuidd?