2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 21:15:17 +00:00

conf: update comment

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner
2021-07-29 14:16:39 +02:00
parent e5cc3716b4
commit 03fd5d968f

View File

@@ -1816,7 +1816,7 @@ static int lxc_finalize_devpts_child(struct lxc_handler *handler)
return log_error_errno(-1, errno, "Failed to create \"/dev/ptmx\" file as bind mount target");
DEBUG("Created \"/dev/ptmx\" file as bind mount target");
/* Fallback option: create symlink /dev/ptmx -> /dev/pts/ptmx */
/* Main option: use a bind-mount to please AppArmor */
ret = mount("/dev/pts/ptmx", "/dev/ptmx", NULL, MS_BIND, NULL);
if (!ret)
return log_debug(0, "Bind mounted \"/dev/pts/ptmx\" to \"/dev/ptmx\"");