pkgsrc-Bugs archive

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

pkg/52279: Boot hangs with recent -current and security/cyrus-saslauthd



>Number:         52279
>Category:       pkg
>Synopsis:       NetBSD cannot go multiuser with saslauthd launched from rc.conf
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 07 00:25:00 +0000 2017
>Originator:     john%ziaspace.com@localhost
>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@localhost:/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.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index