Make sure to create /dev/shm with 1777, bug #476278

However, this seems to affect only a small set of scenarios, since
I don't have any problems here with ~arch openrc and systemd when
using udev.
master v18
Fabio Erculiani 12 years ago
parent af182ed72a
commit db68bf5d5a

@ -95,6 +95,7 @@ append_base_layout() {
mknod -m 600 tty0 c 4 0 mknod -m 600 tty0 c 4 0
mknod -m 600 tty1 c 4 1 mknod -m 600 tty1 c 4 1
mknod -m 600 ttyS0 c 4 64 mknod -m 600 ttyS0 c 4 64
chmod 1777 shm # bug 476278
date -u '+%Y%m%d-%H%M%S' > ${TEMP}/initramfs-base-temp/etc/build_date date -u '+%Y%m%d-%H%M%S' > ${TEMP}/initramfs-base-temp/etc/build_date
echo "Genkernel $GK_V" > ${TEMP}/initramfs-base-temp/etc/build_id echo "Genkernel $GK_V" > ${TEMP}/initramfs-base-temp/etc/build_id

Loading…
Cancel
Save