http://bugzilla.suse.com/show_bug.cgi?id=1168405
Bug ID: 1168405 Summary: adjust issue handling to new agetty 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: lnussel@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: ---
agetty from util-linux 2.35 (not yet packaged) supports reading issue files from /run and /usr in the following way:
if /etc/issue exists: read /etc/issue and /etc/issue.d else if /run/issue exists or /run/issue.d has any files read those else read /usr/lib/issue read /usr/lib/issue.d
Moreover, the \4 and \6 escape codes use the first configured interface to print the IP address.
That means for the most useful default case we don't need to run the extra code of issue generator to enumerate network interfaces and merge issue files anymore. We can rely on agetty built-in features only. Those who need the extra features to print ssh keys or custom computed stuff could still install issue-generator. So I propose the following change:
- don't hard require issue-generator in openSUSE-release - don't ship /etc/issue - ship /usr/lib/issue.d/10-openSUSE.issue with the following content: Welcome to \S{PRETTY_NAME} \S{VERSION_ID} - Kernel \r (\l). \4 \6
http://bugzilla.suse.com/show_bug.cgi?id=1168405
Alynx Zhou alynx.zhou@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alynx.zhou@suse.com Assignee|screening-team-bugs@suse.de |sbrabec@suse.com
https://bugzilla.suse.com/show_bug.cgi?id=1168405 https://bugzilla.suse.com/show_bug.cgi?id=1168405#c3
Petr Gajdos pgajdos@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgajdos@suse.com Assignee|sbrabec@suse.com |kukuk@suse.com
--- Comment #3 from Petr Gajdos pgajdos@suse.com --- Stanislav is on long leave. I think this bug has wrong assignee anyway. If that is not true, please forgive me, and in that case hints are welcome.
https://bugzilla.suse.com/show_bug.cgi?id=1168405
Bug 1168405 depends on bug 1194322, which changed state.
Bug 1194322 Summary: eth0 report update as boot completes causes screen to clear, in spite of --noclean agetty option https://bugzilla.suse.com/show_bug.cgi?id=1194322
What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |WORKSFORME
https://bugzilla.suse.com/show_bug.cgi?id=1168405 https://bugzilla.suse.com/show_bug.cgi?id=1168405#c4
Thorsten Kukuk kukuk@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX
--- Comment #4 from Thorsten Kukuk kukuk@suse.com --- I don't see any sense or benefit in such a change.
If you have more than one interface (even all of my notebooks have this), this single \4 or \6 without interface is very confusing (but ok, most likely you don't need it here). Servers, where you need it, have most often more than one network interface.
https://bugzilla.suse.com/show_bug.cgi?id=1168405 https://bugzilla.suse.com/show_bug.cgi?id=1168405#c5
--- Comment #5 from Ludwig Nussel lnussel@suse.com --- Align us with upstream, align upstream with us ...