Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [NOMERGE] glibc: update to 2.31.
Date: Sun, 02 Feb 2020 19:37:06 +0100	[thread overview]
Message-ID: <20200202183706.I3zMAc4EhnCnOgpgk4cQTuGw9WahhNxmyjYuEP6gqvA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18737@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1588 bytes --]

New comment by ailiop-git on void-packages repository

https://github.com/void-linux/void-packages/pull/18737#issuecomment-581163700

Comment:
> I just noticed sshd breaking due to this upgrade, so please hold off merging.

The sshd is breaking due to its seccomp filter not explicitly allowing the clock_nanosleep and clock_nanosleep_time64 syscalls which are being called due to glibc commit 2e44b10b42 ("sysdeps/clock_nanosleep: Use clock_nanosleep_time64 if avaliable"), so logins fail as the child process is being killed.

This is fixed in openssh upstream with commit b1c82f4b ("seccomp: Allow clock_nanosleep() in sandbox."), which will be part of the next release (see also [1]). 

I've backported this for now, but I'm afraid that this means there will be many other packages breaking due to using seccomp sandboxes (note that this is especially valid on 64-bit archs, as glibc is now invoking clock_nanosleep_time64 which has a different syscall nr).

There's also at least one other issue, glibc 2.31 has removed the __glibc_has_include macro (commit bfa864e164 ("Don't use a custom wrapper macro around __has_include (bug 25189)."), and this breaks compilation of sources that include stat.h/statx.h, as gcc does fixincludes on those headers (it will use the gcc fixed-up /usr/lib/gcc/x86_64-unknown-linux-gnu/9.2/include-fixed/bits/statx.h while glibc-2.31 has removed the macro, and fail). See also [2], this seems to be in progress with gcc upstream.

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=3093
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91085

  parent reply	other threads:[~2020-02-02 18:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-02 11:21 [PR PATCH] " voidlinux-github
2020-02-02 15:39 ` voidlinux-github
2020-02-02 17:10 ` voidlinux-github
2020-02-02 18:37 ` voidlinux-github [this message]
2020-02-02 18:53 ` [NOMERGE] " voidlinux-github
2020-04-30 11:25 ` schnitzeltony
2020-04-30 12:15 ` pullmoll
2020-04-30 12:35 ` ailiop-git
2020-04-30 15:53 ` schnitzeltony
2020-09-27 18:01 ` kernle32dll
2020-12-05 20:42 ` ericonr
2021-01-05 21:34 ` leahneukirchen
2021-01-05 21:34 ` [PR PATCH] [Closed]: " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200202183706.I3zMAc4EhnCnOgpgk4cQTuGw9WahhNxmyjYuEP6gqvA@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).