From owner-freebsd-current@FreeBSD.ORG Thu Jun 17 12:00:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 572FB16A4D5 for ; Thu, 17 Jun 2004 12:00:46 +0000 (GMT) Received: from server26.ilap.com (server26-main.ilap.com [216.223.128.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ABF943D4C for ; Thu, 17 Jun 2004 12:00:45 +0000 (GMT) (envelope-from phorechuk@docucom.ca) Received: from docucom.ca ([216.223.150.66]) Power (tm) * http://ilap.com/ (tm)) with ESMTP id i5HBxiF14709; Thu, 17 Jun 2004 07:59:44 -0400 (EDT) Message-ID: <40D187B1.3060704@docucom.ca> Date: Thu, 17 Jun 2004 07:59:45 -0400 From: Paul Horechuk Organization: DocuCom Imaging Solutions User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040421 X-Accept-Language: en-us, en MIME-Version: 1.0 To: noackjr@alumni.rice.edu References: <40D050F1.3000300@docucom.ca> <40D0A685.4000102@alumni.rice.edu> In-Reply-To: <40D0A685.4000102@alumni.rice.edu> Content-Type: multipart/mixed; boundary="------------000102010801000702070805" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-current@freebsd.org Subject: Re: pam_nologin X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 12:00:46 -0000 This is a multi-part message in MIME format. --------------000102010801000702070805 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit There was an easier "fix". In another attempt to remedy the problem, I did another install (binaries only). This again dropped me into a usable system with no password set for root. I have full access and I pulled down the latest cvsup of src for current. This was the second time I did the reinstall. The first time I set a root password and the same thing happened, a login core dump. So, for now I am hoping a clean build will cure the problem. Jon Noack wrote: > On 06/16/04 08:53, Paul Horechuk wrote: > >> I just finished a binary upgrade from 4.7 to 5.21. The /usr/src tree >> has been cleaned out and /etc backed up. Everything appeard to go as >> expected. The system installed the root account with no password. I >> set a password and restored my hosts file. Upon a reboot I get the >> following after entering a username (any name): >> login: Unable to dlopen(/usr/lib/pam_nologin.so) >> Login: [dlerror: /lib/libutil.so.4: undefined symbol "mac_is_present"] >> login: adding faulty module: /usr/lib/pam_nologin.so >> >> then I get a core dump (login.core) >> >> I have to crash the system (Ctrl+Alt+Del) and login vy single user >> mode, but I don't have network access. >> >> Without a network I cannot cvsup any patches. > > > What I do when I need network access in single-user mode (mount disks, > turn on swap, turn on networking): > 1) 'fsck -p' (ensure disk consistency) > 2) 'mount -u /' (remount / as rw) > 3) 'mount -at ufs' (mount the rest of the local partitions) > 4) 'swapon -a' (get swap going) > 5) '/etc/netstart' (start networking) > > This may skip steps, do more than needed, or not use the right commands > -- I don't know. It's just always worked for me... > > Jon > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > --------------000102010801000702070805--