Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /dev/shm mode 1777
Date: Sat, 04 Oct 2014 03:48:43
Message-Id: 20141004034843.GC1792@syscon7
In Reply to: Re: [gentoo-user] /dev/shm mode 1777 by Joseph
1 On 10/03/14 21:42, Joseph wrote:
2 [snip]
3 >>
4 >>Yes, that should be fairly safe to run. The only risk is if you have
5 >>some application running which has files open on it; but umount should
6 >>give you an error in that case.
7 >>
8 >>Also, you can/should remove that fstab entry entirely once you have
9 >>remounted it; both openrc and systemd will automatically mount
10 >>/dev/shm with proper permissions if it is missing from fstab.
11 >
12 >Will it?
13 >In my kernel confg I have:
14 >
15 >grep CONFIG_DEVTMPFS /usr/src/linux/.config
16 >CONFIG_DEVTMPFS=y
17 ># CONFIG_DEVTMPFS_MOUNT is not set
18 >
19 >should I set "CONFIG_DEVTMPFS_MOUNT=y"
20
21 or should I just run:
22 chmod 1777 /dev/shm
23
24 --
25 Joseph