Long, full details. TLDR in next post.
It came to my attention that rsyslog is installed by default in Non-Qubes-Whonix. There is really no need for it nowadays. Among other non-essential packages.
Found the root cause. It’s related to which mmdebstrap (or same for debootstrap) variant gets used.
Symptom:
These are the “important” packages.
I: installing remaining packages inside the chroot…
Reading package lists…
Building dependency tree…
adduser is already the newest version (3.118).
apt is already the newest version (1.8.2).
debconf is already the newest version (1.5.71).
debian-archive-keyring is already the newest version (2019.1).
gpgv is already the newest version (2.2.12-1+deb10u1).
mawk is already the newest version (1.3.3-17+b3).
libpam-modules is already the newest version (1.3.1-5).
libpam-modules-bin is already the newest version (1.3.1-5).
libpam-runtime is already the newest version (1.3.1-5).
passwd is already the newest version (1:4.5-1.1).
fdisk is already the newest version (2.33.1-0.1).
The following additional packages will be installed:
dirmngr dmsetup gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm initramfs-tools-core klibc-utils libapparmor1
libapt-inst2.0 libargon2-1 libassuan0 libbsd0 libcap2 libcap2-bin
libcom-err2 libcryptsetup12 libdevmapper1.02.1 libdns-export1104
libeatmydata1 libelf1 libestr0 libexpat1 libext2fs2 libfastjson4 libidn11
libip4tc0 libip6tc0 libiptc0 libisc-export1100 libjson-c3 libklibc libkmod2
libksba8 libldap-2.4-2 libldap-common liblocale-gettext-perl liblognorm5
libmnl0 libncurses6 libnetfilter-conntrack3 libnewt0.52 libnfnetlink0
libnftnl11 libnpth0 libpopt0 libprocps7 libpython-stdlib libpython2-stdlib
libpython2.7-minimal libpython2.7-stdlib libreadline7 libsasl2-2
libsasl2-modules-db libslang2 libsqlite3-0 libtext-charwidth-perl
libtext-iconv-perl libtext-wrapi18n-perl libxtables12 linux-base lsb-base
mime-support pinentry-curses python-minimal python2 python2-minimal
python2.7 python2.7-minimal xxd
These are the “important” packages and the resulting dependencies begging installed.
The following NEW packages will be installed:
apt-transport-tor apt-utils bsdmainutils cpio cron debconf-i18n dirmngr
dmidecode dmsetup e2fslibs e2fsprogs eatmydata gdbm-l10n gnupg gnupg-l10n
gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm
ifupdown init initramfs-tools initramfs-tools-core iproute2 iptables
iputils-ping isc-dhcp-client isc-dhcp-common klibc-utils kmod less
libapparmor1 libapt-inst2.0 libargon2-1 libassuan0 libbsd0 libcap2
libcap2-bin libcom-err2 libcomerr2 libcryptsetup12 libdevmapper1.02.1
libdns-export1104 libeatmydata1 libelf1 libestr0 libexpat1 libext2fs2
libfastjson4 libidn11 libip4tc0 libip6tc0 libiptc0 libisc-export1100
libjson-c3 libklibc libkmod2 libksba8 libldap-2.4-2 libldap-common
liblocale-gettext-perl liblognorm5 libmnl0 libncurses6
libnetfilter-conntrack3 libnewt0.52 libnfnetlink0 libnftnl11 libnpth0
libpopt0 libprocps7 libpython-stdlib libpython2-stdlib libpython2.7-minimal
libpython2.7-stdlib libreadline7 libsasl2-2 libsasl2-modules-db libslang2
libsqlite3-0 libss2 libssl1.1 libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl libxtables12 linux-base logrotate lsb-base
mime-support mount nano netbase pinentry-curses procps python python-minimal
python2 python2-minimal python2.7 python2.7-minimal readline-common rsyslog
sensible-utils systemd systemd-sysv tasksel tasksel-data tzdata udev
vim-common vim-tiny whiptail xxd
0 upgraded, 118 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.4 MB of archives.
Quote mmdebstrap(1) — mmdebstrap — Debian buster — Debian Manpages
VARIANTS
All package sets also include the direct and indirect hard dependencies (but not recommends) of the selected package sets. The variants minbase , buildd and - , resemble the package sets that debootstrap would install with the same –variant argument.
extract
Installs nothing by default (not even “Essential:yes” packages). Packages given by the “–include” option are extracted but will not be installed.
custom
Installs nothing by default (not even “Essential:yes” packages). Packages given by the “–include” option will be installed. If another mode than chrootless was selected and dpkg was not part of the included package set, then this variant will fail because it cannot configure the packages.
essential
“Essential:yes” packages.
apt
The essential set plus apt.
required , minbase
The essential set plus all packages with Priority:required and apt.
buildd
The minbase set plus build-essential.
important , debootstrap , -
The required set plus all packages with Priority:important. This is the default of debootstrap.
standard
The important set plus all packages with Priority:standard.
“important” is the mmdebstrap default (which includes the following partially unwanted packages such as rsyslog). Now downgraded to “required” in Whonix git master.
Even if we want to keep these packages these should be re-added in anon-meta-packages/debian/control at master · Whonix/anon-meta-packages · GitHub