[lxc-devel] LXCFS update problems
Dietmar Maurer
dietmar at proxmox.com
Thu Nov 19 10:51:29 UTC 2015
> Update the lxcfs package stop/restart the fuse filesystem. So this
> breaks all active containers.
>
> AFAIK restarting fuse without umount is not possible, so are there
> any other ideas how to solve that problem?
The following lxcfs.service seems to behave much better:
-------------------------------
[Unit]
Description=FUSE filesystem for LXC
ConditionVirtualization=!container
Before=lxc.service
[Service]
ExecStart=/usr/bin/lxcfs -f -s -o allow_other /var/lib/lxcfs/
KillMode=none
Restart=on-failure
ExecStop=/bin/fusermount -u /var/lib/lxcfs
[Install]
WantedBy=multi-user.target
---------------------------------
Because this does not kill a running lxcfs as long as there are references.
Would this have any drawbacks?
More information about the lxc-devel
mailing list