From: Robert "arachnist" Gerus Date: Thu, 22 Jul 2010 13:20:53 +0000 (+0200) Subject: sshd, tmux and others are broken when /dev/pts is mounted with "-o nodev" X-Git-Tag: v4~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28322e1eb6507f2f40418e2dcdc6ee33e38ecee6;p=systemd sshd, tmux and others are broken when /dev/pts is mounted with "-o nodev" --- diff --git a/src/mount-setup.c b/src/mount-setup.c index 6b0539bf..b6b6a0c9 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 }, };