[SOLVED] possible bug: bindmount into running container no longer works

n0x0n

Member
Jan 20, 2022
35
3
13
Since 2022, I can bind-mount into a running comtainer (see this post).
While this still worked in January 2024, it's no longer working now.
Code:
root@pve:/# pct set 104 -mp1 /media/tmp,mp=/media/usb,replicate=0
400 Parameter verification failed.
mp1: unable to hotplug mp1: failed to move 'mp2' into container hierarchy: Permission denied


pct set <vmid> [OPTIONS]
The GUI displays the following, notice the orange color:
1712828183417.png

The LXC is a unprivileged container, HA is active.

Manually editing the LXC conf file and adding mp1: /media/tmp,mp=/media/usb,replicate=0 makes the GUI display the following in the usual black:
1712828701265.png
But in the running LXC, the mountpoint is not mounted.
 
Last edited:
no ETA, but core packages like pve-container are usually bumped quite frequently.
 
  • Like
Reactions: n0x0n