Bug#972510: glibc: Please ignore misc/tst-sbrk and/or misc/tst-sbrk-pie on all archs

2020-10-23 Thread Florian Weimer
* Aurelien Jarno:

> brk/sbrk is definitely something deprecated. But it is still part of the
> API (especially for old architectures) and still used by software like
> jemalloc, gcl or libgc. This is therefore important to keep this feature
> in a good shape.
>
> It's also used by many less important packages, often just to print a
> backtrace.
>
> If someone has spoons it might be worth opening bugs again those
> package, so that they stop using brk/sbrk.

glibc malloc also uses sbrk, and has some glitches in corner cases
when it has to switch from sbrk to mmap for the main arena.

I think it is worth investigating *why* sbrk fails.  Usually that is
due to an obstructing mapping caused by problematic address space
layouts.  With ASLR, such failures can essentially appear to be
random.



Bug#972770: libnss-nis: dist-upgrade buster to sid error

2020-10-23 Thread Alexis LĂ©onard
Subject: libnss-nis: dist-upgrade buster to sid error
Package: libnss-nis
Version: 3.1-4
Severity: normal

Dear Maintainer,

When I try to upgrade from buster to sid, errors show that libc6 could not
be configured :

/usr/bin/apt-get dist-upgrade -y
...
... (no errors above)
...
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for initramfs-tools (0.139) ...
update-initramfs: Generating /boot/initrd.img-5.9.0-1-amd64
E: Could not configure 'libc6:amd64'.
E: Could not perform immediate configuration on 'libnss-nis:amd64'. Please
see man 5 apt.conf under APT::Immediate-Configure for details. (2)



When I add option -o APT::Immediate-Configure=0 :

/usr/bin/apt-get dist-upgrade -y -o APT::Immediate-Configure=0
...
... (no errors above)
...
E: Could not configure 'libc6:amd64'.
E: Could not perform immediate configuration on 'libtirpc3:amd64'. Please
see man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Could not configure 'libc6:amd64'.
E: Could not perform immediate configuration on 'libnsl2:amd64'. Please see
man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Could not configure 'libc6:amd64'.
E: Could not perform immediate configuration on 'libnss-nis:amd64'. Please
see man 5 apt.conf under APT::Immediate-Configure for details. (2)


The issue can be bypassed by installing libc6 with Immediate-Configure=0
option BEFORE upgrading :

/usr/bin/apt-get install -y libc6 -f -o APT::Immediate-Configure=0 &&
/usr/bin/apt-get dist-upgrade -y


All this was performed from a fresh debian buster 10.6 install (classical,
all default options), update sources.list to unstable, and then run
dist-upgrade.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-12-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libnss-nis depends on:
ii  libc62.31-4
ii  libnsl2  1.3.0-2

libnss-nis recommends no packages.

libnss-nis suggests no packages.

-- no debconf information