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:
@@ -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\"");
|
||||
|
Reference in New Issue
Block a user