From db68bf5d5a60b2232548dd95d1d60d3db623bd46 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 10 Jul 2013 10:42:04 +0200 Subject: [PATCH] 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. --- gen_initramfs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 2ed62e5..50f80ad 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -95,6 +95,7 @@ append_base_layout() { mknod -m 600 tty0 c 4 0 mknod -m 600 tty1 c 4 1 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 echo "Genkernel $GK_V" > ${TEMP}/initramfs-base-temp/etc/build_id