diff --git a/CHANGELOG.md b/CHANGELOG.md index ba8172c2..34c23998 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed - Updated 70-persistent-net.rules.ww to use `(lower $netdev.Type)` for case-insensitive comparison of "infiniband". +- Fixed a regression in SELinux support by restoring the `/run` mount during wwinit. #1910 ### Removed diff --git a/overlays/wwinit/rootfs/init b/overlays/wwinit/rootfs/init index e189c850..f1cdaa58 100755 --- a/overlays/wwinit/rootfs/init +++ b/overlays/wwinit/rootfs/init @@ -6,6 +6,8 @@ echo "Mounting kernel file systems..." mountpoint -q /proc || (mkdir -p /proc && mount -t proc proc /proc && echo "Mounted /proc") mountpoint -q /dev || (mkdir -p /dev && mount -t devtmpfs devtmpfs /dev && echo "Mounted /dev") mountpoint -q /sys || (mkdir -p /sys && mount -t sysfs sysfs /sys && echo "Mounted /sys") +# https://systemd.io/INITRD_INTERFACE/ +mountpoint -q /run || (mkdir -p /run && mount -t tmpfs -o mode=0755,nodev,nosuid,strictatime tmpfs /run && echo "Mounted /run") echo echo "Loading /warewulf/config..." if [ -f "/warewulf/config" ]; then