Package: chrony Version: 4.0-8+deb11u2 Tags: bullseye,bookworm,trixie,forky,sid found: 4.3-2+deb12u2 found: 4.6.1-3+deb13u1 found: 4.8-3
schroot, by default, copies /etc/group from the host. Because of the use of statoverride, this immediately breaks any installation attempt with apt, given that my host does not use chrony, nor is it guaranteed that any host does.
dpkg: unrecoverable fatal error, aborting:unknown system user '_chrony' in statoverride file; the system user got removed
before the override, which is most probably a packaging bug, to recover you can remove the override manually with dpkg-statoverride E: Sub-process /usr/bin/dpkg returned an error code (2) # dpkg-statoverride --list root crontab 2755 /usr/bin/crontab _chrony _chrony 750 /var/lib/chrony _chrony _chrony 750 /var/log/chronyRemoving these entries, or setting setup.nssdatabases= in the schroot .conf for the chroot, allows installation to continue, albeit at the potential cost of other functionality with the chroot.
These checks don't look like they should be done by dpkg, and should be done by an init/startup script provided by the package. Alternatively it should be safe to assume that the package installer has done its job and these directories are created correctly.
I don't know if Chrony is even useful in a schroot, but Ubuntu Stonking includes it now by default. This may be subject to change as Stonking is not yet released. (But perhaps this is an Ubuntu problem for Ubuntu to deal with.)
OpenPGP_signature.asc
Description: OpenPGP digital signature

