summaryrefslogtreecommitdiff
path: root/src/mount-setup.c
diff options
context:
space:
mode:
authorRobert "arachnist" Gerus <ar@bash.org.pl>2010-07-22 15:20:53 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-23 05:12:13 +0200
commit28322e1eb6507f2f40418e2dcdc6ee33e38ecee6 (patch)
tree4d98de6893571c31b3a4e0dc265d9cfc94a26037 /src/mount-setup.c
parent25da667e1a917dbb1d7e740de04c39182e48d687 (diff)
sshd, tmux and others are broken when /dev/pts is mounted with "-o nodev"
Diffstat (limited to 'src/mount-setup.c')
-rw-r--r--src/mount-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount-setup.c b/src/mount-setup.c
index 6b0539bf97..b6b6a0c94f 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -46,7 +46,7 @@ static const MountPoint mount_table[] = {
{ "sysfs", "/sys", "sysfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
{ "devtmpfs", "/dev", "devtmpfs", "mode=755", MS_NOSUID, true },
{ "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
- { "devpts", "/dev/pts", "devpts", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false },
+ { "devpts", "/dev/pts", "devpts", NULL, MS_NOSUID|MS_NOEXEC, false },
{ "tmpfs", "/cgroup", "tmpfs", "mode=755", MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
{ "cgroup", "/cgroup/systemd", "cgroup", "none,name=systemd", MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
};