mgr-storage-server reports error: /usr/sbin/selinuxenabled: No such file or directory
This document (000021787) is provided subject to the disclaimer at the end of this document.
Environment
Multi Linux Manager 5.0 on SUSE Linux Enterprise Server 15 SP6
Situation
When configuring custom persistent storage using the mgr-storage-server command the following errors are encountered:
mgr-storage-server /dev/vdb /dev/vdc
/usr/lib/susemanager/susemanager-storage-setup-functions.sh: line 81: /usr/sbin/selinuxenabled: No such file or directory
/usr/lib/susemanager/susemanager-storage-setup-functions.sh: line 81: /usr/sbin/selinuxenabled: No such file or directory
--> Checking disk for content signature
--> Creating xfs filesystem
--> Mounting storage at /var/lib/containers/storage/manager_storage_tmp
/usr/lib/susemanager/susemanager-storage-setup-functions.sh: line 139: /usr/sbin/selinuxenabled: No such file or directory
--> Checking data base disk for content signature
--> Creating xfs filesystem
--> Mounting storage at /var/lib/containers/storage/pgsql_storage_tmp
/usr/lib/susemanager/susemanager-storage-setup-functions.sh: line 139: /usr/sbin/selinuxenabled: No such file or directory
--> Syncing SUSE Manager Server directories to storage disk(s)
--> Creating entry in /etc/fstab
/usr/lib/susemanager/susemanager-storage-setup-functions.sh: line 139: /usr/sbin/selinuxenabled: No such file or directory
/usr/lib/susemanager/susemanager-storage-setup-functions.sh: line 139: /usr/sbin/selinuxenabled: No such file or directory
Resolution
These errors are cosmetic, mgr-storage-server completes successfully.
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sr0 11:0 1 1024M 0 rom
vda 254:0 0 40G 0 disk
├─vda1 254:1 0 8M 0 part
├─vda2 254:2 0 37G 0 part /var
│ /tmp
│ /boot/grub2/x86_64-efi
│ /usr/local
│ /root
│ /srv
│ /opt
│ /boot/grub2/i386-pc
│ /.snapshots
│ /home
│ /
└─vda3 254:3 0 3G 0 part [SWAP]
vdb 254:16 0 100G 0 disk /var/lib/containers/storage/volumes
vdc 254:32 0 40G 0 disk /var/lib/containers/storage/volumes/var-pgsql
Cause
These messages are seen because SELinux is not present/enabled in the current installation of SUSE Linux Enterprise Server 15 SP6.
Status
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:000021787
- Creation Date: 11-Apr-2025
- Modified Date:22-Apr-2025
-
- SUSE Manager Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com