Bug #13906
closedrudder-agent 4.3.6 does not install correctly from Debian 9.6 Installer
Description
When installing rudder-agent 4.3.6 (did not try 5.x) from Debian Installer (Debian 9.6) the installed rudder agent does not run correctly; it is on the system, you can do rudder agent (run|health|check|inventory) manually but get various warnings about the executor not running or the service being disabled in systemd.
I'm installing rudder-agent from d-i by adding the repository via
d-i apt-setup/local0/repository [...]
and the key from a local (tftp) source. Then a
d-i pkgsel/include string rudder-agent
is done, finally there's a
d-i preseed/late_command string echo [...] > /target/var/rudder/cfengine-community/policy_server.dat
It used to work with Debian 9.5 / rudder-agent 4.3.4 and the setup of the policy server as well as the rudder component seems to be OK; I haven't checked deeper, but I suspect problems with cf-execd or cf-agent to be causing the misbehaviour. The cron command to run rudder agent check every 5min is correctly set up, though.
The workaround is to install rudder-agent manually after installing Debian (which is a bit of a hassle for an automated deployment, though)