From owner-freebsd-stable@FreeBSD.ORG Wed Jun 13 22:15:42 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 A856C1065673 for ; Wed, 13 Jun 2012 22:15:42 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp05.smtpout.orange.fr [80.12.242.127]) by mx1.freebsd.org (Postfix) with ESMTP id 482518FC12 for ; Wed, 13 Jun 2012 22:15:41 +0000 (UTC) Received: from localhost ([92.162.3.97]) by mwinf5d61 with ME id MyFa1j00725bJvQ03yFarF; Thu, 14 Jun 2012 00:15:35 +0200 Message-ID: <4FD91106.8020109@orange.fr> Date: Thu, 14 Jun 2012 00:15:34 +0200 From: Claude Buisson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.28) Gecko/20120315 Thunderbird/3.1.20 MIME-Version: 1.0 To: Baptiste Daroussin References: <4FD8C682.1050705@orange.fr> <20120613214415.GP60433@ithaqua.etoilebsd.net> In-Reply-To: <20120613214415.GP60433@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 22:15:42 -0000 On 06/13/2012 23:44, Baptiste Daroussin wrote: > On Wed, Jun 13, 2012 at 06:57:38PM +0200, Claude Buisson wrote: >> Hi, >> >> I have some 8-STABLE and 9-STABLE systems which have been upgraded from sources >> csuped on June 3, and I found that I could no more change the shell for toor: >> >> #chpass -s /bin/csh toor >> chpass: entry inconsistent >> chpass: pw_copy: Invalid argument >> >> and seemingly ONLY for toor. >> >> 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. >> >> Claude Buisson > > Can you try with the following patch? > > http://people.freebsd.org/~bapt/add-special-case-for-toor.diff > > Regards, > Bapt Thanks, Will try tomorrow Claude Buisson