Package: puppet-agent
Version: 8.10.0-5

Dear maintainer,

having upgraded systems to Debian Trixie, I noticed this warning in /var/log/daemon.log: Oct 8 15:37:51 vm-lm-deb64 (puppet)[25672]: puppet.service: Referenced but unset environment variable evaluates to an empty string: PUPPET_EXTRA_OPTS

Probably a new feature of systemd (257.8-1~deb13u2).

The reason for this is that PUPPET_EXTRA_OPTS is used in "/etc/systemd/system/multi-user.target.wants/puppet.service" but "/etc/default/puppet" uses DAEMON_OPTS.

~# grep ExecStart /etc/systemd/system/multi-user.target.wants/puppet.service
ExecStart=/usr/bin/puppet agent $PUPPET_EXTRA_OPTS --no-daemonize

~# cat /etc/default/puppet
# Defaults for puppet - sourced by /etc/init.d/puppet

# Startup options
DAEMON_OPTS=""

Reply via email to