Issue
- ELevate upgrade to the CloudLinux 8 failed:
STDERR:
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux:
Read-only file system
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux:
Read-only file system
No matches found for the following disable plugin patterns:
subscription-manager
Can not load RPM file:
/installroot/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/files/bundled-rpms/leapp-deps-el8-5.0.8-0.202403281153Z.c18549c5.HEAD.el8.noarch.rpm.
Can not load RPM file:
/installroot/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/files/bundled-rpms/leapp-repository-deps-el8-5.0.8-0.202403281153Z.c18549c5.HEAD.el8.noarch.rpm.
Can not load RPM file:
/installroot/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/files/bundled-rpms/kernel-workaround-0.1-1.el8.noarch.rpm.
Could not open:
/installroot/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/files/bundled-rpms/leapp-deps-el8-5.0.8-0.202403281153Z.c18549c5.HEAD.el8.noarch.rpm
/installroot/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/files/bundled-rpms/leapp-repository-deps-el8-5.0.8-0.202403281153Z.c18549c5.HEAD.el8.noarch.rpm
/installroot/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/files/bundled-rpms/kernel-workaround-0.1-1.el8.noarch.rpm - Partition where files located do not have the
shared
propagation flag set in the/etc/fstab
file
Environment
- Elevate
Solution
1. Remount these file systems to set them as shared:
# mount -o remount --make-shared <mountpoint>
2. Replace <mountpoint> with the mount point of each file system. For example:
mount -o remount --make-shared /
mount -o remount --make-shared /home
mount -o remount --make-shared /var
mount -o remount --make-shared /var/log
mount -o remount --make-shared /usr
mount -o remount --make-shared /boot
mount -o remount --make-shared /tmp
Make sure leapp-upgrade-el7toel8
is up to date:
yum update leapp-upgrade-el7toel8
Cause
RedHat bug RHEL-23449.
Comments
0 comments
Please sign in to leave a comment.