From owner-freebsd-stable@FreeBSD.ORG Wed Jun 13 21:44:18 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1909106567B for ; Wed, 13 Jun 2012 21:44:18 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id B740D8FC1B; Wed, 13 Jun 2012 21:44:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5DLiIBh047188; Wed, 13 Jun 2012 21:44:18 GMT (envelope-from bapt@freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5DLiITL047187; Wed, 13 Jun 2012 21:44:18 GMT (envelope-from bapt@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@freebsd.org using -f Date: Wed, 13 Jun 2012 23:44:15 +0200 From: Baptiste Daroussin To: Claude Buisson Message-ID: <20120613214415.GP60433@ithaqua.etoilebsd.net> References: <4FD8C682.1050705@orange.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8+74qwmUvVX309i6" Content-Disposition: inline In-Reply-To: <4FD8C682.1050705@orange.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: problem with chpass after recent libutil change X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2012 21:44:19 -0000 --8+74qwmUvVX309i6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 13, 2012 at 06:57:38PM +0200, Claude Buisson wrote: > Hi, >=20 > I have some 8-STABLE and 9-STABLE systems which have been upgraded from s= ources > csuped on June 3, and I found that I could no more change the shell for t= oor: >=20 > #chpass -s /bin/csh toor > chpass: entry inconsistent > chpass: pw_copy: Invalid argument >=20 > and seemingly ONLY for toor. >=20 > reverting lib/lib/libutil/pw_util.c from r236451 (on 9.X) or r236452 (on = 8.X) > to the previous version seems to be workaround. >=20 > Claude Buisson Can you try with the following patch? http://people.freebsd.org/~bapt/add-special-case-for-toor.diff Regards, Bapt --8+74qwmUvVX309i6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/ZCa8ACgkQ8kTtMUmk6ExzbgCgrT/89wzBRBW6D2dfmbwXm4q1 mPgAnA499553e2u9s0Ndak8TliAo/8Vt =vsAL -----END PGP SIGNATURE----- --8+74qwmUvVX309i6--