Hi, On 2021-09-30 22:16, Adam D. Barratt wrote: > On Mon, 2021-09-27 at 12:38 +0100, Adam D. Barratt wrote: > > Control: tags -1 + confirmed d-i > > > > To confirm some IRC conversations - given the closeness of the freeze > for 11.1, please feel free to upload and kibi can review the package > from stable-new. >
Unfortunately Cyril has found an issue while testing, the query to debconf doesn't work when the libc6.preinst script is re-executed by the debconf frontend: | ... | Preparing to unpack .../libc6_2.31-13+deb11u1_amd64.deb ... | debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable | Unpacking libc6:amd64 (2.31-13+deb11u1) over (2.31-13+deb11u1) . | ... This message is harmless in most cases, but can cause a switch to text mode while debconf is able to fallback to another frontend. It is also very worrying for users. As discussed on IRC, I have uploaded glibc 2.31-13+deb11u2 that fixes that issue by not trying to detect if debconf is available when the debconf frontend has already been loaded. You will find the corresponding debdiff attached. Regards, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
diff --git a/debian/changelog b/debian/changelog index dd5370af..7c23c790 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +glibc (2.31-13+deb11u2) bullseye; urgency=medium + + [ Aurelien Jarno ] + * debian/debhelper.in/libc.preinst: do not try to detect if debconf is + available when the debconf frontend has already been loaded. + + -- Aurelien Jarno <aure...@debian.org> Sat, 02 Oct 2021 14:47:40 +0200 + glibc (2.31-13+deb11u1) bullseye; urgency=medium [ Aurelien Jarno ] diff --git a/debian/debhelper.in/libc.preinst b/debian/debhelper.in/libc.preinst index f0285832..ff59ad9a 100644 --- a/debian/debhelper.in/libc.preinst +++ b/debian/debhelper.in/libc.preinst @@ -23,7 +23,11 @@ if [ "$type" != abort-upgrade -a -z "$DPKG_ROOT" ] then # Check if the debconf module is available and usable USE_DEBCONF= - if [ -f /usr/share/debconf/confmodule ]; then + if [ "$DEBIAN_HAS_FRONTEND" ]; then + # Debconf is already loaded, so we already checked if the frontend + # is usable or not + USE_DEBCONF=1 + elif [ -f /usr/share/debconf/confmodule ]; then # cdebconf has a working fallback mechanism in case dialog # is not usable, so do not try to do anything smart here if [ "$DEBCONF_USE_CDEBCONF" ] ; then
signature.asc
Description: PGP signature