From owner-freebsd-questions@FreeBSD.ORG Tue Oct 30 19:14:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0543616A41A for ; Tue, 30 Oct 2007 19:14:00 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id CEC6913C447 for ; Tue, 30 Oct 2007 19:13:59 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailrelay3.lanl.gov (mailrelay3.lanl.gov [128.165.4.104]) by mailwasher.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l9UJDbhL022051; Tue, 30 Oct 2007 13:13:37 -0600 Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay3.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l9UJDX8B024256; Tue, 30 Oct 2007 13:13:33 -0600 Received: from [128.165.86.10] (secretariat.lanl.gov [128.165.86.10]) by oppie-mail.lanl.gov (Postfix) with ESMTP id 583AE1F8002; Tue, 30 Oct 2007 13:13:28 -0600 (MDT) From: James To: Stephen Allen In-Reply-To: <472647A0.3030009@brookes.ac.uk> References: <472647A0.3030009@brookes.ac.uk> Organization: Los Alamos National Laboratories Date: Tue, 30 Oct 2007 13:13:45 -0600 Message-Id: <1193771625.66035.8.camel@secretariat.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: Dangers of using a non-base shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jamesh@lanl.gov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 19:14:00 -0000 On Mon, 2007-10-29 at 20:50 +0000, Stephen Allen wrote: > It's been drawn to my attention not to use bash from the ports > collection, because if one of it's dependencies (gettext or libiconv) > fails or is updated significantly, it could break, and prevent login. > The suggested solution was to use a base shell (such as sh) and append > 'bash -l' to .shrc to automatically enter bash. > > The quite annoying side-effect is having to type 'exit' twice to get out > of a su shell or screen. > > Would it be a better idea to use the pre-compiled binary for bash? No, as the same problem exists. What you're looking for is a statically compiled binary. There have been a few threads in the October about statically compiling bash. If you look hard enough, you'll even find someone who claims that the only shells for unix lovers are sh, csh, and tcsh. But I like bash's tab completion. No other shell implements it as well that I've found. > And > if I did so, could I be alerted to updates as easy as using 'pkg_version > -v' when checking if any ports need updating? > > Many thanks, > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"