From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 22:46:06 2014 Return-Path: Delivered-To: freebsd-current@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 03B3C210; Fri, 12 Sep 2014 22:46:06 +0000 (UTC) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) by mx1.freebsd.org (Postfix) with ESMTP id CED5B662; Fri, 12 Sep 2014 22:46:05 +0000 (UTC) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 004005A9F0C; Fri, 12 Sep 2014 22:45:58 +0000 (UTC) Date: Fri, 12 Sep 2014 22:45:58 +0000 From: Brooks Davis To: Subbsd Subject: Re: shells/bash port, add a knob which symlinks to /bin/bash ? Message-ID: <20140912224558.GA47936@spindle.one-eyed-alien.net> References: <20140912214004.GT6096@ivaldir.etoilebsd.net> <54136D5D.3090905@mu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Craig Rodrigues , Alfred Perlstein , freebsd-current Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-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: Fri, 12 Sep 2014 22:46:06 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 13, 2014 at 02:33:58AM +0400, Subbsd wrote: > On Sat, Sep 13, 2014 at 2:23 AM, Craig Rodrigues wr= ote: > > Hi, > > > > I could live with this solution of additional port outside of the main > > bash port, which creates the symlink and updates /etc/shells. This is the approach I took at my previous employer. It's simple, works with packages, and people who hate adding things to /bin can avoid doing so. > Looks like variant symlink is may be useful for solving this problem > and it is not cluttered base >=20 > https://wiki.freebsd.org/200808DevSummit?action=3DAttachFile&do=3Dget&tar= get=3Dvariant-symlinks-for-freebsd.pdf As the person who ported variant symlinks to FreeBSD I can't image how they could be useful here. If you need a /bin/bash you need to put a file system object there (or I supposed hack namei). Variant symlinks only allow files to point to different things in different contexts. -- Brooks --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlQTd6YACgkQXY6L6fI4GtQfYACeM/E2eEUEYlqdhW0GDEoL5UUX n0YAn3zeJ1ev4f6wsvUJv8jYb/VusYMp =DN3Y -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--