Confirming the issue. After upgrade from 18.04 to 20.04.1 danded failed to start with following error:
systemd[774]: danted.service: Failed to set up mount namespacing: /run/systemd/unit-root/opt: No such file or directory systemd[774]: danted.service: Failed at step NAMESPACE spawning /bin/sh: No such file or directory systemd tries to setup mount namespace for non-existent /opt directory and fails. Replacing '/opt' with '-/opt' inside 'InaccessibleDirectories' option fixes the issue. e.g. /lib/systemd/system/danted.service: InaccessibleDirectories=/boot /home /media /mnt -/opt /root However, I had one more issue with the service file configuration. dante was configured to log into /var/log/sockd.log, so I also had to remove '/var' from the 'ReadOnlyDirectories' to make it work as expected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1873585 Title: namespace error if /opt not exists To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dante/+bug/1873585/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
