Bug 1054161
Summary: | RFE: support .d/ unit drop-ins for [install] section settings | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Honza Horak <hhorak> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | johannbg, lnykryn, msekleta, plautrba, systemd-maint, vpavlin, zbyszek |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-09-08 13:54:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Honza Horak
2014-01-16 11:27:05 UTC
.d drop-ins are currently not support for settings in the [Install] section. (In reply to Lennart Poettering from comment #1) > .d drop-ins are currently not support for settings in the [Install] section. Any particular reason for that or just lack of manpower to implement this? This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. (In reply to Honza Horak from comment #2) > Any particular reason for that or just lack of manpower to implement this? Lack of manpower mostly, but I think that there's a bit of uncertainty as to whether this is needed. From similar rhel Bugzilla: (In reply to Lennart Poettering from comment #1) > I am not convinced this is really a good idea. The [install] section of unit > files contains directives how to enable and disable units, as suggestions > made by the author of the unit file, and that's about it. Currently, we only > allow using it in the unit file shipped in /usr, and not in extensions or > overriding unit files in /etc. That's because /etc is the space for admin > configuration, while /usr is the space for vendor configuration. If a > user/admin wants to extend a unit file, or whther it is enabled/pulled in by > something, he can do so directly in /etc, there's no need to extend the > [install] logic at all, since the [install] logic is really just about > suggesting good defaults to the admin, and that's it. I mean, why would an > admin not just make the changes he wants to make directly in 7etc? Why would > he want to changet the suggestions the vendor makes for him, and then apply > those? Why this indirection, the extra step of altering the vendor > suggestions? That makes little sense, I think. > > I think what would make sense would be to make it easier to make manual > changes to /etc. For example, we could add "systemctl add-wants" or so, > which creates a symlink in /etc that pulls in some unit from some other unit > or so. This would be much easier for the admin to do than asking him to > first extend [install] and then use "systemctl enable"... > > So yeah, I think we should figure out what precisely people want to extend > [install] for. If it's only about adding WantedBy= and RequiredBy= then a > high-level "systemctl add-wants" and "systemctl add-requires" would be the > better choice. > > And in fact, that's actually on the todo list, though nobody has worked on > it so far. And we now have add-wants so lets close this bug. |