NetBSD Problem Report #52279
From john@tim.nextvr.com Wed Jun 7 00:20:48 2017
Return-Path: <john@tim.nextvr.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id F11CF7A1FE
for <gnats-bugs@gnats.NetBSD.org>; Wed, 7 Jun 2017 00:20:47 +0000 (UTC)
Message-Id: <201706062306.v56N6r95010474@tim.nextvr.com>
Date: Tue, 6 Jun 2017 23:06:53 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: Boot hangs with recent -current and security/cyrus-saslauthd
X-Send-Pr-Version: 3.95
>Number: 52279
>Category: pkg
>Synopsis: NetBSD cannot go multiuser with saslauthd launched from rc.conf
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: cjep
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 07 00:25:00 +0000 2017
>Closed-Date: Sun Feb 14 17:02:42 +0000 2021
>Last-Modified: Sun Feb 14 17:02:42 +0000 2021
>Originator: john@ziaspace.com
>Release: NetBSD 7.99.75
>Organization:
>Environment:
System: NetBSD tim.nextvr.com 7.99.75 NetBSD 7.99.75 (GENERIC) #0: Wed May 31 05:05:38 UTC 2017 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
I've noticed now on a few machines, both amd64 and evbarm, that updating
to -current within the last week or so has resulted in a system which
boots but which hangs before getty launches, meaning no console login and
no ssh login even though sshd is already running.
I didn't have time to really diagnose the issue, but I did narrow it down
to saslauthd. It was getting launched from /etc/rc.conf with:
saslauthd=YES
saslauthd_flags="-a getpwent"
Setting it to NO lets the system get all the way to multiuser.
I don't know if this is related to -current or to the update to
cyrus-saslauthd at the end of April, 2017.
>How-To-Repeat:
Install pkgsrc/security/cyrus-saslauthd with PKG_RCD_SCRIPTS=YES
echo 'saslauthd=YES' >> /etc/rc.conf
echo 'saslauthd_flags="-a getpwent"' >> /etc/rc.conf
reboot
>Fix:
None known besides not starting saslauthd via rc.conf.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->cjep
Responsible-Changed-By: cjep@NetBSD.org
Responsible-Changed-When: Sun, 14 Feb 2021 17:02:42 +0000
Responsible-Changed-Why:
Taking this.
State-Changed-From-To: open->closed
State-Changed-By: cjep@NetBSD.org
State-Changed-When: Sun, 14 Feb 2021 17:02:42 +0000
State-Changed-Why:
Hi - I've installed saslauthd on NetBSD/amd64 9.1 and installed the rc.d
scripts. I can boot to multiuser absolutely fine. I suspect there's been
change in the pkg since the bug was filed. I will close this - apologies
for the delay in getting to it.
Kind regards, Chris
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.