mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-28 07:47:20 +00:00
conf: log file descriptors on error during idmapped mount setup
Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
This commit is contained in:
parent
2e6e374c0a
commit
fc133a9f37
@ -4120,7 +4120,7 @@ int lxc_idmapped_mounts_parent(struct lxc_handler *handler)
|
|||||||
return syserror("Failed to receive idmapped mount file descriptors from child");
|
return syserror("Failed to receive idmapped mount file descriptors from child");
|
||||||
|
|
||||||
if (fd_from < 0 || fd_userns < 0)
|
if (fd_from < 0 || fd_userns < 0)
|
||||||
return log_trace(0, "Finished receiving idmapped mount file descriptors from child");
|
return log_trace(0, "Finished receiving idmapped mount file descriptors (%d | %d) from child", fd_from, fd_userns);
|
||||||
|
|
||||||
attr.attr_set = MOUNT_ATTR_IDMAP;
|
attr.attr_set = MOUNT_ATTR_IDMAP;
|
||||||
attr.userns_fd = fd_userns;
|
attr.userns_fd = fd_userns;
|
||||||
|
Loading…
Reference in New Issue
Block a user