Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705348 - net-misc/ntpsec-1.1.8: QA Notice: systemd units using /etc/conf.d detected
Summary: net-misc/ntpsec-1.1.8: QA Notice: systemd units using /etc/conf.d detected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-01-13 13:11 UTC by crabbed halo ablution
Modified: 2020-03-13 17:08 UTC (History)
1 user (show)

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


Attachments
ntpd.service.patch (ntpd.service.patch,782 bytes, patch)
2020-01-13 13:17 UTC, crabbed halo ablution
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description crabbed halo ablution 2020-01-13 13:11:36 UTC
* QA Notice: systemd units using /etc/conf.d detected:
 * lib/systemd/system/ntpd.service:EnvironmentFile=-/etc/conf.d/ntp
 * See: https://wiki.gentoo.org/wiki/Project:Systemd/conf.d_files


Reproducible: Always
Comment 1 crabbed halo ablution 2020-01-13 13:17:25 UTC
Created attachment 603142 [details, diff]
ntpd.service.patch

Change the .service file to the preferred layout; good default configuration without conf.d environment variables.
Users can do:
systemctl edit ntpd.service
To override the service startup behaviour.
Also, ntpd supports --nofork and systemd maintainers prefer services to user the Type=simple startup method[1], so change that too.

[1] https://www.freedesktop.org/software/systemd/man/systemd.service.html
Comment 2 Steve Arnold archtester gentoo-dev 2020-03-13 17:08:20 UTC
systemd fix pushed with seccomp patch