#1122884 dante-server: does not start without /opt directory

Package:
dante-server
Source:
dante-server
Description:
SOCKS (v4 and v5) proxy daemon (danted)
Submitter:
Bernhard Geier
Date:
2025-12-13 18:07:04 UTC
Severity:
normal
Tags:
#1122884#5
Date:
2025-12-13 17:57:17 UTC
From:
To:
Dear Maintainer,

the danted service does not start if directory /opt does not exist.
/opt is not created by default, so it does not exist on all Debian
installations.

The culprit is in /usr/lib/systemd/system/danted.service:

InaccessibleDirectories=/boot /home /media /mnt /opt /root

should be changed to

InaccessibleDirectories=/boot /home /media /mnt -/opt /root


That way, a missing /opt directory gets simply ignored.