Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892005 - sys-apps/hd-idle-1.05-r1 installs systemd units that use /etc/conf.d (USR-MERGE-SYSTEM)
Summary: sys-apps/hd-idle-1.05-r1 installs systemd units that use /etc/conf.d (USR-MER...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Oliver Freyermuth
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-01-25 11:23 UTC by Agostino Sarubbo
Modified: 2023-02-09 13:33 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,40.83 KB, text/plain)
2023-01-25 11:23 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-25 11:23:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/hd-idle-1.05-r1 installs systemd units that use /etc/conf.d (USR-MERGE-SYSTEM).
Discovered on: amd64 (internal ref: usr-merge_tinderbox)

NOTE:
(USR-MERGE-SYSTEM) in the summary means that the bug was found on a machine that runs default/linux/amd64/17.1/systemd/merged-usr profile but this bug MAY or MAY NOT BE related to the new profile.
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-25 11:23:47 UTC
Created attachment 849183 [details]
build.log

build log and emerge --info
Comment 2 Oliver Freyermuth 2023-01-25 11:45:33 UTC
Thanks for the report! I can confirm, this is not usr-merge related. During pacakging, I was just blissfully unaware of
https://wiki.gentoo.org/wiki/Project:Systemd/conf.d_files
and took inspiration from Debian, which seems to violate systemd guidelines. 

I will modify the Gentoo packaging later this week to adhere to the guidelines.
Comment 3 Larry the Git Cow gentoo-dev 2023-02-09 13:33:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f367f6a6be36721959a7d638b1388b4589d098aa

commit f367f6a6be36721959a7d638b1388b4589d098aa
Author:     Oliver Freyermuth <o.freyermuth@googlemail.com>
AuthorDate: 2023-01-25 22:13:34 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-02-09 13:29:37 +0000

    sys-apps/hd-idle: systemd units must not use conf.d
    
    Add a drop-in file to allow configuration for systemd users
    and inform about the change via elog.
    Also, bump to EAPI 8 and use https for HOMEPAGE.
    
    Closes: https://bugs.gentoo.org/892005
    Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
    Closes: https://github.com/gentoo/gentoo/pull/29270
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sys-apps/hd-idle/files/hd-idle-dropin.conf | 30 ++++++++++++++++++++++++++
 sys-apps/hd-idle/files/hd-idle.service     | 12 +++++++++++
 sys-apps/hd-idle/hd-idle-1.05-r2.ebuild    | 34 ++++++++++++++++++++++++++++++
 3 files changed, 76 insertions(+)