[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004861: marked as done (libc6: dist-upgrade to stable fails kernel version checks on LXC guests)



Your message dated Fri, 18 Mar 2022 20:15:40 +0000
with message-id <E1nVJ0e-000DdN-2f@fasolo.debian.org>
and subject line Bug#1004861: fixed in glibc 2.28-10+deb10u1
has caused the Debian Bug report #1004861,
regarding libc6: dist-upgrade to stable fails kernel version checks on LXC guests
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1004861: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004861
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.31-13
Severity: normal

Dear Maintainer,

I tried to upgrade from old-stable to stable on an LXC guest running on
an ASUS NAS (underlying "ADM" OS) and got blocked during preinst :

Preparing to unpack .../libc6_2.31-13+deb11u2_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 105: [: Illegal number:
/var/lib/dpkg/tmp.ci/preinst: 9: /var/lib/dpkg/tmp.ci/preinst:
arithmetic expression: expecting primary: "5 * 10000 + 4 * 100 + "
dpkg: error processing archive
/var/cache/apt/archives/libc6_2.31-13+deb11u2_amd64.deb (--unpack):
  new libc6:amd64 package pre-installation script subprocess returned
error exit status 2
Errors were encountered while processing:
  /var/cache/apt/archives/libc6_2.31-13+deb11u2_amd64.deb

It appears a workaround is to create a fake uname script in
/usr/local/bin that will report 5.4.0 (for instance) instead of the
5.4.x which is returned by uname -r in this Debian guest (why the NAS
maintainers have such numbering of kernels... who knows).

This was discussed in french on
https://debian-facile.org/viewtopic.php?id=25401 but I though this might
deserve a proper bug report.

I guess this wouldn't be too hard to fix in the preinst script, but
haven't checked the code.

Dunno which side effects might depend on having .0 in the end, but
appart that, the upgrade went smoothless.

Hope this helps,

-- 
Olivier BERGER
https://www-public.imtbs-tsp.eu/~berger_o/ - OpenPGP 2048R/0xF9EAE3A65819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.28-10+deb10u1
Done: Aurelien Jarno <aurel32@debian.org>

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1004861@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 15 Mar 2022 23:48:49 +0100
Source: glibc
Architecture: source
Version: 2.28-10+deb10u1
Distribution: buster
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Closes: 930697 953257 987266 1004861
Changes:
 glibc (2.28-10+deb10u1) buster; urgency=medium
 .
   [ Aurelien Jarno ]
   * debian/patches/git-updates.diff: update from upstream stable branch
     (Closes: #930697):
     - Add more integrity check to malloc() function.
     - Fix crash in _IO_wfile_sync.
     - Fix bad free() in libdl if dlerror() is not used.  Closes: #953257.
     - Fix overflow in glibc.malloc.tcache_count tunable.
     - Fix old x86 applications crash on exit() under valgrind.
     - Remove copy_file_range emulation. The kernel interface has at evolved
       and the glibc emulation doesn't match it anymore, so it's better for
       it to return -ENOSYS. This only impacts Linux kernels << 4.8.
     - Avoid lazy binding of symbols that may follow a variant PCS on arm64, to
       support binaries using AdvSIMD and SVE vector calls.
     - Fix large mmap64 offset for the N32 ABI on mips/mipsel/mips64el.
     - Improve string functions performances on arm64.
   * debian/patches/any/git-libio-stdout-putc.diff: refresh.
   * debian/debhelper.in/libc.preinst: simplify the version comparison by only
     comparing the two first parts, now that kernel 2.X are not supported
     anymore.  Closes: #1004861.
   * debian/debhelper.in/libc.preinst: drop the check for kernel release > 255
     now that glibc and preinstall script are fixed.  Closes: #987266.
Checksums-Sha1:
 243f0628429fb07884d7296efbc9061c76c6271e 8921 glibc_2.28-10+deb10u1.dsc
 850647b95ec602f2ad699646b0d0b9b5ada59372 899676 glibc_2.28-10+deb10u1.debian.tar.xz
 5724c49144613d48fa8fe4d0e6e3acab50c27396 7569 glibc_2.28-10+deb10u1_source.buildinfo
Checksums-Sha256:
 9bb410368ec00f6c6d2b281e97244337fb3513c885c250c0bd5caab694f4f62f 8921 glibc_2.28-10+deb10u1.dsc
 2f8b22a99965eafcfbb65f14bfb2dbe2400b06cb8e646e909eb22317c222dfe7 899676 glibc_2.28-10+deb10u1.debian.tar.xz
 deb07a130abba4c2ff46d7cb322388aeada9ad9947084ad925f19a5d171090cb 7569 glibc_2.28-10+deb10u1_source.buildinfo
Files:
 02890154ecc784fb9bc8d622b30a6b84 8921 libs required glibc_2.28-10+deb10u1.dsc
 0b0ef6ead64111aeee314ad523c03acb 899676 libs required glibc_2.28-10+deb10u1.debian.tar.xz
 6497b0149148112212ae1072f04efc22 7569 libs required glibc_2.28-10+deb10u1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmIzr2sACgkQE4jA+Jno
M2vSkw/+Kbw30ZfDZEDUCUY31m6UTlxtiJz1HFxsz//bE4hQ1jW86TYOSm+zDL+x
edaFjrchTF2HhKMe8fO7jo+0xZpeLu2mVt1DmV7OUv1xaIcBzMbpzyVGHh4SCsku
MXMvMo2QO24saKUs7iK35h/FyOWmIAkDIs2dUvN8Hw4yyF+lRmOqTwEA+9h0oJg7
H18Cf7H//0uT3IWyTwQ5cD/oq9FDCC6MsWSCJ3VLOrOjWKaI7gYxAVVLS5GZqarQ
r+eBnKxnW6eSEiVHNDz//AvbyYTuSGZfnyAuNXhM/JAC6/YNBXu/4S8dn/Z6ddyU
IVYeWe1q/thrg7hi6iexnjuk0yeYL8n8BLbrQ3HD4rdf5S871Kjr2/ipr65PW73M
7AjiTFVB1SEYAHXMuMV5Bq8DT/Wz1/0tYN++Rfj4H+1FyPX/7BIE5LlGo8YJ84sc
qflBT7wXU0o9ej/jvPKZ5KOWQhb5rQRD+SAziYEeS1aAM7b7asv+pwEZ/2EO/nNr
bnzzuckzH//mXrySGPxRtkhRWm3ojT0cM/xASLfa1qJIRKI6KJdgRo+HPJLxkuJM
3knPo7RkZTyFEawr0Nla0Y5k/rUd7vIbc3q4ferct1hCKFdB6zHVlci8jvK8RRzd
0pL2L0ZaTbBG0wk29pa49My37PIt1DsoVLvhVxiJXGlQqIxedoY=
=nbo+
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: