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 15
Situation
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
"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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com