[Bug 1173321] New: Move /etc/skel/* files to /usr/etc/skel ?
https://bugzilla.suse.com/show_bug.cgi?id=1173321 Bug ID: 1173321 Summary: Move /etc/skel/* files to /usr/etc/skel ? 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: sndirsch@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I'm currently working on the config file switch /etc --> /usr/etc (find Details on https://en.opensuse.org/openSUSE:Packaging_UsrEtc) and now I'm wondering what should be done with files in /etc/skel/* Thorten Kukuk: Hard to change, as the admin should be able to change them... Me: Hm. Maybe move the distributed ones to /usr/etc/skel and adjust everything needed to priotarize the ones in /etc/skel, i.e. use any file in /etc/skel but also any file, which exists in /usr/etc/skel, but not in /etc/skel? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro@suse.com --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- Adding maintainer of filesystem. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1173052 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c2 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com --- Comment #2 from Ludwig Nussel <lnussel@suse.com> --- the solution here is to simply not ship any skel files and not clutter new users's homes. What we do need to keep is the bin directory though. That is important for 3rd party installers. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1173052 | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |ro@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=1173321 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1176431 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c3 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(werner@suse.com) --- Comment #3 from Ruediger Oertel <ro@suse.com> --- in aaa_base we only have /etc/skel/.emacs /etc/skel/.inputrc werner can we move these last two to the respective packages ? readline for the .inputrc and some common package for the .emacs base stub ? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c4 --- Comment #4 from Ludwig Nussel <lnussel@suse.com> --- or rather drop them without replacement. They are just cluttering new users homes. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c5 --- Comment #5 from Stefan Dirsch <sndirsch@suse.com> --- I don't buy this argument. I meanwhile have about 400 dotfiles/dotdirs in my SUSE"s $HOME (exists since 1999) and 8 are coming from /etc/skel. So I would say using a $HOME for a longer time dotfiles coming from /etc/skel would be not more than 5%-10%. The remaining dotfiles/dotdirs are coming from program creating them on demand. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c6 --- Comment #6 from Stefan Dirsch <sndirsch@suse.com> --- I think best would be to work with /usr/etc/skel and /etc/skel as it's proposed in https://en.opensuse.org/openSUSE:Packaging_UsrEtc#Variant_3 For this we would need a patch for useradd at least (shadow package). I don't know whether there are other programs/scripts on our distribution adding users and the initial $HOME for them. Is YaST using useradd? I have no idea ... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c16 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ro@suse.de |mvetter@suse.com Flags|needinfo?(mvetter@suse.com) | --- Comment #16 from Stefan Dirsch <sndirsch@suse.com> --- Let's reassing to shadow package maintainer. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c17 --- Comment #17 from Stefan Dirsch <sndirsch@suse.com> --- Werner? Michael, could you have a look at my patch? (comment #11) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c20 --- Comment #20 from Stefan Dirsch <sndirsch@suse.com> --- Werner, could you submit a shadow package with your useradd patch, please? You could even accept it then yourself, since you're maintainer of Base:System. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c24 --- Comment #24 from Michael Vetter <mvetter@suse.com> --- (In reply to Stefan Dirsch from comment #20)
Werner, could you submit a shadow package with your useradd patch, please? You could even accept it then yourself, since you're maintainer of Base:System.
Hi! Sorry for the long delay. I was on vacation. Being back now I can accept the SR once it's ready. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c25 --- Comment #25 from Fabian Vogt <fvogt@suse.com> --- (In reply to Dr. Werner Fink from comment #23)
Fabian? What is the rational for this switch from bash to sh?
That shadow can be used without bash, for instance with busybox sh or dash. That was a requirement for carwos and can be useful outside of that as well, especially because it didn't need any changes beyond that. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c30 --- Comment #30 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1173321) was mentioned in https://build.opensuse.org/request/show/840431 Factory / shadow -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c33 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #33 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to OBSbugzilla Bot from comment #30)
This is an autogenerated message for OBS integration: This bug (1173321) was mentioned in https://build.opensuse.org/request/show/840431 Factory / shadow
Yeah. It has been accepted. Bug can be closed, i.e. packages now can move their skel files to /usr/etc/skel. But this doesn't need to be tracked here. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c34 --- Comment #34 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1173321) was mentioned in https://build.opensuse.org/request/show/842793 Factory / filesystem -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c35 --- Comment #35 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1173321) was mentioned in https://build.opensuse.org/request/show/847777 Factory / shadow -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 Callum Farmer <gmbr3@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gmbr3@opensuse.org -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1173321 https://bugzilla.suse.com/show_bug.cgi?id=1173321#c40 --- Comment #40 from Michael Vetter <mvetter@suse.com> --- This has now been upstreamed: https://github.com/shadow-maint/shadow/pull/591 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com