Package: pbuilder
Version: 0.231.1
Followup-For: Bug #916122
X-Debbugs-Cc: [email protected]
Same here, I got a new fat yellow warning about cgroups not being
available which REALLY stands out…
… after I went through considerable pain to make cgroups available
so podman+crun can work.
My suggestion for this is:
1. in /usr/share/pbuilder/pbuilderrc change
-USECGROUP=yes
+USECGROUP=default
2. in /usr/lib/pbuilder/pbuilder-checkparams, before line…
391 if [ "$USECGROUP" = "yes" ]; then
… add this:
if [ "$USECGROUP" = "default" ]; then
if test -d /run/systemd/system && \
command -v systemctl >/dev/null 2>&1; then
USECGROUP=yes
else
# cgroups currently are only supported in
# pbuilder for systemd so quietly disable
USECGROUP=no
fi
fi
… and further below, change…
else
log.w "cgroups are not available on the host, not using them."
USECGROUP=not-available
fi
… to this (for when someone does not set =default):
elif test -d /run/systemd/system && \
command -v systemctl >/dev/null 2>&1; then
log.w "cgroups are not available on the host, not using them."
USECGROUP=not-available
else
log.i "cgroups currently only supported with systemd,
disabling."
USECGROUP=not-available
fi
(note, untested)
-- System Information:
Debian Release: 13.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.100+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages pbuilder depends on:
ii debconf [debconf-2.0] 1.5.91
ii debootstrap 1.0.141
ii dpkg-dev 1.22.22
ii mount 2.41-5
Versions of packages pbuilder recommends:
ii devscripts 2.25.15+deb13u1
ii eatmydata 131-2
ii fakeroot 1.37.1.1-1
ii iproute2 6.15.0-1
ii net-tools 2.10-1.3
ii sudo 1.9.16p2-3+deb13u2
Versions of packages pbuilder suggests:
ii cowdancer 0.90
pn gdebi-core <none>
-- Configuration Files:
/etc/pbuilder/buildd-config.sh [file not found]
-- debconf information:
* pbuilder/nomirror:
* pbuilder/mirrorsite: nein
pbuilder/rewrite: false