[Bug 1207056] New: systemd missing conf.d directories
https://bugzilla.suse.com/show_bug.cgi?id=1207056 Bug ID: 1207056 Summary: systemd missing conf.d directories Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: dmueller@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- /etc/systemd/system.conf is recommending, rather than modifying it, to create a droplet in /etc/systemd/system.conf.d/ and /etc/system/user.conf.d (for /etc/systemd/user.conf). can we please ship those directories as part of the systemd package? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207056 Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |systemd-maintainers@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207056 https://bugzilla.suse.com/show_bug.cgi?id=1207056#c1 Michael Hirmke <opensuse@mike.franken.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |opensuse@mike.franken.de --- Comment #1 from Michael Hirmke <opensuse@mike.franken.de> --- (In reply to Dirk Mueller from comment #0)
/etc/systemd/system.conf is recommending, rather than modifying it, to create a droplet in /etc/systemd/system.conf.d/ and /etc/system/user.conf.d (for /etc/systemd/user.conf).
can we please ship those directories as part of the systemd package?
Of course you can do that, but I'd prefer to create these directories only if I need them. Reason: I don't want to look into additional empty directories in case of a problem. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207056 https://bugzilla.suse.com/show_bug.cgi?id=1207056#c2 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fbui@suse.com --- Comment #2 from Franck Bui <fbui@suse.com> --- If we do that we have create empty /etc/systemd/*.conf.d/ directories for all main config files that systemd or any of its sub-package ship. And most of them will likely remain empty. So I'm not sure it's a good idea. What's wrong with letting the user creates them when needed ? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207056 https://bugzilla.suse.com/show_bug.cgi?id=1207056#c3 --- Comment #3 from Franck Bui <fbui@suse.com> --- Ludwig, can you please give your opinion here ? The situation is pretty messy currently since systemd ships *some* empty drop-in directories in /etc already. For consistency sake I assume that we should either ship all of them or none. Given the fact that packages should avoid shipping stuff in /etc these days, if we decide to ship the directories then we should create them via tmpfiles, right ? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207056 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com Flags| |needinfo?(lnussel@suse.com) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207056 https://bugzilla.suse.com/show_bug.cgi?id=1207056#c4 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(lnussel@suse.com) | --- Comment #4 from Ludwig Nussel <lnussel@suse.com> --- Directories are not a problem. They can be created based on information in the rpm database, like microos does today already for /srv and /var: https://confluence.suse.com/pages/viewpage.action?pageId=1157103705 So no extra tmpfiles etc needed. Whether or not we should ship those directories I have no opinion. No harm done by doing so. What seems to be missing is a systemd-analyze edit-config tool though. There's only cat-config, while systemctl has both edit and cat. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207056 https://bugzilla.suse.com/show_bug.cgi?id=1207056#c5 --- Comment #5 from Ludwig Nussel <lnussel@suse.com> --- This is the correct link: https://github.com/openSUSE/transactional-update/blob/master/sbin/create_dir... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com