Incus - Default fs propagation is private,slave

I need to change the default behavior to shared, I am running incus on a VPS with rockylinux 9.7, also I am creating containers in a rootless account, I need to solve this to remove the warning from podman: WARN[0000] “/” is not a shared mount, this could cause issues or missing mounts with rootless containers

imagen

running incus on fedora 43 doesn’t have this behavior, it currently show shared,slave, i dont know is there is some difference beetwen copr:neelc and fedora repo on their installation

mount --make-shared /

Yeah, i’ve tried that command, it works, until i restart the container, also I’ve appended the command in /etc/rc.local but the containers doesn’t appear to run that file

Maybe try enabling /etc/rc.local with systemctl and make sure the file is executable, like this: Container with nvidia.runtime=true refuse to start after reboot of the host - #4 by ashni

Or this: https://www.cyberciti.biz/faq/how-to-enable-rc-local-shell-script-on-systemd-while-booting-linux-system/

If that doesn’t work, you can create your own service that will execute /etc/rc.local on startup: https://www.baeldung.com/linux/run-command-start-up#bd-2-enabling-rc-local-service-on-modern-linux-distributions