Am 25.11.24 um 14:09 schrieb Filip Schauer: > When mounting volumes as read-only, certain mount options like > "discard", "lazytime", and "noatime" are either ignored or can cause the > mount to fail. For example, attempting to mount with "-t zfs" and > "-o ro,discard" leads to an error: filesystem cannot be mounted due to > invalid option 'discard'. > > This commit ensures that only valid mount options, such as "nodev", > "noexec", and "nosuid", are applied to read-only mounts, avoiding > potential mount failures. > > Signed-off-by: Filip Schauer <f.scha...@proxmox.com> > --- > src/PVE/LXC.pm | 8 ++++++-- > src/PVE/LXC/Config.pm | 6 ++++++ > 2 files changed, 12 insertions(+), 2 deletions(-) > >
applied, with Fiona's and Daniels R-b and T-b trailers, thanks! _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel