From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 76C523834402; Thu, 4 Feb 2021 12:15:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76C523834402 From: "diabonas at gmx dot de" To: glibc-bugs@sourceware.org Subject: [Bug nss/27343] initgroups() SIGSEGVs when called on a system without nsswich.conf (in a chroot) Date: Thu, 04 Feb 2021 12:15:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nss X-Bugzilla-Version: 2.33 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: diabonas at gmx dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2021 12:15:25 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27343 Jonas Witschel changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |diabonas at gmx dot de --- Comment #2 from Jonas Witschel --- FWIW, creating /etc/nsswitch.conf (identical to the one from the main syste= m) within the chroot doesn't do the trick either, the reproducer still crashes with the same strace. I experimented with adding multiple files like /etc/passwd and /etc/group to the chroot, but couldn't get initgroups() to = work at all without crashing. Just for cross-referencing purposes, this was reported downstream against Unbound as well (https://github.com/NLnetLabs/unbound/issues/418), and as a tracking bug in Arch Linux (https://bugs.archlinux.org/task/69532). --=20 You are receiving this mail because: You are on the CC list for the bug.=