[Bug 1215487] New: add support for nsswitch.conf dropins
https://bugzilla.suse.com/show_bug.cgi?id=1215487 Bug ID: 1215487 Summary: add support for nsswitch.conf dropins Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem Assignee: schwab@suse.com Reporter: lnussel@suse.com QA Contact: qa-bugs@suse.de CC: RBrownCCB@opensuse.org Target Milestone: --- Found By: --- Blocker: --- nsswitch.conf is a rather monolithic file at the moment. It's not possible to extend specific entries. To modify it, one has to copy the whole file to /etc and edit it there. That doesn't fly for OS vendors that need to ship any OS files in /usr. We'd need a more flexible solution that allows to have snippets in both /etc and /usr to extend settings. Off the bat I could think of something like this: usr └── etc └── nsswitch.conf.d ├── hosts │ ├── 10-mymachines │ ├── 20-resolved │ ├── 50-files │ └── 60-dns └── passwd ├── 10-compat └── 20-systemd # head usr/etc/nsswitch.conf.d/*/* ==> usr/etc/nsswitch.conf.d/hosts/10-mymachines <== mymachines ==> usr/etc/nsswitch.conf.d/hosts/20-resolved <== resolve [!UNAVAIL=return] ==> usr/etc/nsswitch.conf.d/hosts/50-files <== files ==> usr/etc/nsswitch.conf.d/hosts/60-dns <== dns ==> usr/etc/nsswitch.conf.d/passwd/10-compat <== compat ==> usr/etc/nsswitch.conf.d/passwd/20-systemd <== systemd -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215487 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kukuk@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=1215487 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1216724 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com