From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 25 11:00:48 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7978616A4CE for ; Fri, 25 Feb 2005 11:00:48 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21D3D43D80 for ; Fri, 25 Feb 2005 11:00:47 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1PB0k0i046794 for ; Fri, 25 Feb 2005 11:00:46 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1PB0kJw046793; Fri, 25 Feb 2005 11:00:46 GMT (envelope-from gnats) Date: Fri, 25 Feb 2005 11:00:46 GMT Message-Id: <200502251100.j1PB0kJw046793@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Giorgos Keramidas Subject: Re: conf/75668: 4.11-RC1: /etc/shells missing /usr/local/bin/bash X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Giorgos Keramidas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 11:00:48 -0000 The following reply was made to PR conf/75668; it has been noted by GNATS. From: Giorgos Keramidas To: Randy Pratt Cc: bug-followup@freebsd.org, freebsd-doc@freebsd.org Subject: Re: conf/75668: 4.11-RC1: /etc/shells missing /usr/local/bin/bash Date: Fri, 25 Feb 2005 12:59:11 +0200 On 2005-02-23 23:08, Randy Pratt wrote: >On Wed, 23 Feb 2005 18:20:07 GMT >Giorgos Keramidas wrote: >> State-Changed-From-To: open->closed >> State-Changed-By: keramida >> State-Changed-When: Wed Feb 23 18:18:45 GMT 2005 >> State-Changed-Why: >> The bash ports take care of updating /etc/shells at install >> and deinstall time. Something else is wrong with the setup >> of the machine that exhibited the problem. >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=75668 > > The problem exhibits itself during the initial installation of > the OS. Its also dependent on which bash is included on the > cdrom media. Some have bash and some have bash2. That is what > seems to determine what goes in /etc/shells. > > Its not readily apparent of what you need to enter for a user's > bash shell when creating a new user at installation with sysinstall. > If bash2 is what is included in the packages, then entering > "/usr/local/bin/bash" generates an error. > > In the Handbook, Figure 2-62. Add User Information, shows > /usr/local/bin/bash as the shell when bash2 was previously > added. In the past, this did work since both bash and bash2 > were in the /etc/shells. > > The 4.11-RELEASE is long past so it doesn't matter for that but > I think some small disconnect is there. I think we have to update the Handbook. I just deinstalled bash2 and installed it as a package (built locally, but that shouldn't matter). The package install/deinstall process correctly updates /etc/shells. This means that what seems like a mistake in the Handbook, is very probably just that: a bug of the Handbook (which should certainly be fixed).