Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 470910

Summary: sys-apps/util-linux - uuidd: make optional, add openrc script
Product: Gentoo Linux Reporter: Alexander Tsoy <alexander>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein, lssndrbarbieri, nikoli, sam, systemd
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 365937, 462058    
Attachments: files/uuidd.initd
util-linux-2.22.2.ebuild.patch

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]
files/uuidd.initd
Comment 2 Alexander Tsoy 2013-05-21 19:29:07 UTC
Created attachment 348852 [details, diff]
util-linux-2.22.2.ebuild.patch
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
eroyf:
Can you bump this patch with acct-{user,group}/uuidd?