]> err.no Git - systemd/commitdiff
sshd, tmux and others are broken when /dev/pts is mounted with "-o nodev"
authorRobert "arachnist" Gerus <ar@bash.org.pl>
Thu, 22 Jul 2010 13:20:53 +0000 (15:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Jul 2010 03:12:13 +0000 (05:12 +0200)
src/mount-setup.c

index 6b0539bf97cf8f6041d46044889e8b6065bf842c..b6b6a0c94ffe7e1b32e29e6522de8402b9f9141c 100644 (file)
@@ -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 },
 };