Bug 906824
Summary: | RFE: introduce systemctl edit $unit | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jóhann B. Guðmundsson <johannbg> | ||||
Component: | systemd | Assignee: | systemd-maint | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | chevalier.ronny+bugsredhat, harald, johannbg, lnykryn, metherid, msekleta, plautrba, psklenar, rvokal, systemd-maint, vpavlin, zbyszek | ||||
Target Milestone: | --- | Keywords: | Triaged | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | systemd-218-5.fc22 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-03-13 05:02:37 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 959971, 784611 | ||||||
Attachments: |
|
Description
Jóhann B. Guðmundsson
2013-02-01 15:28:30 UTC
With the addition of "<unit>.d" files, this probably should be a completely new tool. Well I would think we would not want to add another tool but rather focus on having administrators always just having to use systemctl ( in this case systemctl -e ) rather then introducing another tool to learn about ( something like systemc-edit foo.unit ) remind me again what problem we where solving with introducing <unit>.d directories since we have started to introduce a complete new complexity on top of the maze of symbolic links for administrators to learn. As things seams are heading we need to restructure our /etc/system directory in not to distant future to keep things from being to complex and hard to use. Created attachment 733706 [details]
Custom unit design
Threw together how I mostly see how this should be implemented and solved in general when users edit or add units themselves
(In reply to comment #3) > Created attachment 733706 [details] > Custom unit design > > Threw together how I mostly see how this should be implemented and solved in > general when users edit or add units themselves Ofcourse the time template should default it's [Install] section to the timer.target as I mentioned we needed in BRNO I would say, we should always present admin with union of all config fragments. In case of new unit with template. On save tool should figure out for each changed configuration line where it comes from and override it in an appropriate location. I think this should be handled in separate tool rather than in systemctl. Done upstream in http://cgit.freedesktop.org/systemd/systemd/commit/?id=7d4fb3b1c5. It can only edit units for the moment. No unit creation based on a template has been implemented. |