From owner-freebsd-questions@FreeBSD.ORG Tue Mar 25 13:17:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AF1A8CD for ; Tue, 25 Mar 2014 13:17:28 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0F038A37 for ; Tue, 25 Mar 2014 13:17:27 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WSREM-00022s-KG for freebsd-questions@freebsd.org; Tue, 25 Mar 2014 06:17:26 -0700 Date: Tue, 25 Mar 2014 06:17:26 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1395753446601-5897506.post@n5.nabble.com> Subject: Single-User mode problems MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 13:17:28 -0000 I am seeing two problems when system goes to single-user mode. 1. If I boot into single-user, It gives ""cannot read termcap database using dumb terminal settings". I have checked /usr/share/misc and ran "# cap_mkdb termcap". Resulting .db file is same size as before. 2. On the other hand, if I go to single user with "shutdown now", "Enter full pathname of shell or RETURN for /bin/sh:", Return > system freezes and shows "init: can't exec for single user no such file or directory". I then have to "ctrl+alt+del" and reboot. It's possible problem #1 is related to #2, but I can't figure out how... $ ls /bin/*sh* > csh sh tcsh $ cat /etc/shells > /bin/sh, /bin/csh, /bin/tcsh, /usr/local/bin/bash, /usr/local/bin/rbash, /usr/local/libexec/git-core/git-shell ----- FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS -- View this message in context: http://freebsd.1045724.n5.nabble.com/Single-User-mode-problems-tp5897506.html Sent from the freebsd-questions mailing list archive at Nabble.com.