[Bug 1133929] New: [etc cleanup] move motd to /usr
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 Bug ID: 1133929 Summary: [etc cleanup] move motd to /usr Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: lnussel@suse.com Reporter: lnussel@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- login has built in defaults for finding motd in /etc/motd and /usr/share/misc/motd so remove the explicit setting from /etc/login.defs and move the file to /usr -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 http://bugzilla.opensuse.org/show_bug.cgi?id=1133929#c1 --- Comment #1 from Ludwig Nussel <lnussel@suse.com> --- login from util-linux has that fallback. login from shadow doesn't and pam_motd neither. Both are not used by default in our distro so doesn't matter. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 http://bugzilla.opensuse.org/show_bug.cgi?id=1133929#c2 --- Comment #2 from Ludwig Nussel <lnussel@suse.com> --- pam_motd has even more options: /etc/motd /run/motd /usr/lib/motd /etc/motd.d/ /run/motd.d/ /usr/lib/motd.d/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 http://bugzilla.opensuse.org/show_bug.cgi?id=1133929#c6 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbrabec@suse.com --- Comment #6 from Stanislav Brabec <sbrabec@suse.com> --- I am now working on an update that involves login.defs change. Do you want to backport this change to SLE15 *, SLE12 *? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1165830 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 http://bugzilla.opensuse.org/show_bug.cgi?id=1133929#c10 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1165830 |1173001 --- Comment #10 from Ludwig Nussel <lnussel@suse.com> --- /usr/lib/modprobe.d/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1173001 | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1173001 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1173001 | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1165830 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 http://bugzilla.opensuse.org/show_bug.cgi?id=1133929#c11 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmazda@earthlink.net --- Comment #11 from Felix Miata <mrmazda@earthlink.net> --- openSUSE-release is currently (20210718) removing /etc/motd created by sysadmin, not nice, even though saved as motd.rpmsave. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133929 http://bugzilla.opensuse.org/show_bug.cgi?id=1133929#c13 --- Comment #13 from Stanislav Brabec <sbrabec@suse.com> --- Thorsten Kukuk: Yes, it is how rpm works. But if /etc/motd.rpmsave is created by rpm, then the motd was modified by sysadmin. (Otherwise it would be silently deleted.) As in this particular case, there is nothing to merge manually, and "Have a lot of fun..." did not change for a long time, I propose to add to the release spec file: %posttrans # /etc/motd was modified by sysadmin. Keep it as it is. if test -f /etc/motd.rpmsave ; then mv /etc/motd.rpmsave /etc/motd fi -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com