SLES15 /etc/issue file mangement

This document (000020529) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15

Situation

In SLES15, all Service Packs, the /etc/issue file is a symlink to /run/issue.
The symlink is created by the systemd "issue-generator" service:

systemctl status issue-generator.service

If changes are made directly to /etc/issue, they will be overwritten on the next system reboot.

Resolution

The text in /etc/issue:
"Welcome to SUSE Linux Enterprise Server 15 SP3  (x86_64) - Kernel \r (\l)."

comes from: /usr/lib/issue.d/10-SUSE
That file is owned by the "release" RPM: sles-release-15.3-55.4.1

SUSE does not recommend changing that file.

The best way to move forward is to create your own file in:
/etc/issue.d/

Based on the "issue.d" man page, man issue.d:
"Files in /etc/issue.d override files with the same name in /usr/lib/issue.d and /run/issue.d."

If you create the file:
/etc/issue.d/10-SUSE
it will overwrite the default file "/usr/lib/issue.d/10-SUSE".

In addition, new files in /etc/issue.d/ will be appended to the "10-SUSE" file and both will be seen in /etc/issue and /run/issue.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020529
  • Creation Date: 05-Jan-2022
  • Modified Date:05-Jan-2022
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Server for SAP Applications
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center