Package: cfengine3
Version: 3.21.0-2
Severity: normal

Dear Maintainer,

Trying to set up cfengine as a policy host in bookworm.

Minimal procedure would be:
1. install cfengine3 on host; enable services in /etc/default/cfengine3
2. make changes in /var/lib/cfengine3/masterfiles (which was populated
from /usr/share/cfengine3/masterfiles during install)
3. bootstrap the host to itself with "cf-agent -B <host's own IP address>"
4. this should result in /var/lib/cfengine3/masterfiles being (verified
and) copied over to /var/lib/cfengine3/inputs and used by the cfengine3
service
5. host is then available as policy host to other devices

Instead, after step 4 the contents of /usr/share/cfengine3/masterfiles
are always copied back to /var/lib/cfengine3/inputs; and it is not
usable as a policy host.

Capturing -v output of the bootstrap run seems to show that
/var/lib/cfengine3/masterfiles/ are copied over correctly first; but are then
replaced by /usr/share/cfengine3/inputs

In comparison, the cfengine-community package v3.21.4 available direct
from the cfengine3 project pages works as expected when following steps
1..5 above (but uses /var/cfengine/ instead of /var/lib/cfengine3).



-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-21-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cfengine3 depends on:
ii  e2fsprogs                  1.47.0-2
ii  libacl1                    2.3.1-3
ii  libc6                      2.36-9+deb12u7
ii  liblmdb0                   0.9.24-1
ii  libpam0g                   1.5.2-6+deb12u1
ii  libpcre3                   2:8.39-15
ii  libpromises3               3.21.0-2
ii  libssl3                    3.0.11-1~deb12u2
ii  libvirt0                   9.0.0-4
ii  libxml2                    2.9.14+dfsg-1.3~deb12u1
ii  libyaml-0-2                0.2.5-1
ii  sysvinit-utils [lsb-base]  3.06-4

Versions of packages cfengine3 recommends:
ii  python3  3.11.2-1+b1

cfengine3 suggests no packages.

-- Configuration Files:
/etc/default/cfengine3 changed:
RUN_CFMONITORD=1
RUN_CFSERVERD=1
RUN_CFEXECD=1
CFMONITORD_ARGS=""
CFSERVERD_ARGS=""
CFEXECD_ARGS=""


-- debconf-show failed

--

Gilbert Laycock            email:  g...@leicester.ac.uk
Sci & Eng IT Team          tel:           0116 252 3902
University of Leicester                @gtl1 on MSTeams
UK                         GPG:          4096R/35B6A094

Reply via email to