bsdci / libioc

A Python library to manage jails with ioc{age,ell}
https://bsd.ci/libioc
Other
38 stars 11 forks source link

provisioning does not cleanup mounted resources #724

Closed igalic closed 5 years ago

igalic commented 5 years ago

Make sure to follow and check these boxes before submitting an issue! Thank you.

so re-running a provisioning, leads to:

# ioc -d debug provision webproxy
/iocage/pkg/12/cache mounted to running jail webproxy
/iocage/jails/webproxy/fstab written
Adding line to fstab: /usr/local/etc/puppet/environments        /iocage/jails/webproxy/root/usr/local/etc/puppet/environments   nullfs  ro      0       0
auto-mount /iocage/jails/webproxy/root/usr/local/etc/puppet/environments
Command exited with 1: /sbin/mount -o ro -t nullfs /usr/local/etc/puppet/environments /iocage/jails/webproxy/root/usr/local/etc/puppet/environments
    mount_nullfs: /iocage/jails/webproxy/root/usr/local/etc/puppet/environments: Resource deadlock avoided
Command exited with 1
igalic commented 5 years ago

fixed with #725.