Public bug reported: Hi,
have a look at systemctl status unbound.service or /var/log/syslog with every start, unbound issues an error message unbound.service: Referenced but unset environment variable evaluates to an empty string: DAEMON_OPTS because /usr/lib/systemd/system/unbound.service contains ExecStart=/usr/sbin/unbound -d -p $DAEMON_OPTS where DAEMON_OPTS is never set. Reason is obviously a missing /etc/default/unbound, which is (if exists) read by EnvironmentFile=-/etc/default/unbound which does not exist in the package. Usually, the env variable DAEMON_OPTS is set in this file. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: unbound 1.19.2-1ubuntu3.3 ProcVersionSignature: Ubuntu 6.8.0-50.51-generic 6.8.12 Uname: Linux 6.8.0-50-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.3 Architecture: amd64 CasperMD5CheckResult: unknown CloudArchitecture: x86_64 CloudID: hetzner CloudName: hetzner CloudPlatform: hetzner CloudSubPlatform: metadata (http://169.254.169.254/hetzner/v1/metadata) Date: Tue Dec 17 21:47:59 2024 SourcePackage: unbound UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: unbound (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2091977 Title: missing file /etc/default/unbound To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unbound/+bug/2091977/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs