From owner-freebsd-stable@FreeBSD.ORG Thu Jun 14 08:58:43 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 7B4D6106567C for ; Thu, 14 Jun 2012 08:58:43 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp11.smtpout.orange.fr [80.12.242.133]) by mx1.freebsd.org (Postfix) with ESMTP id 1BC658FC16 for ; Thu, 14 Jun 2012 08:58:42 +0000 (UTC) Received: from localhost ([92.162.13.178]) by mwinf5d21 with ME id N8ya1j00C3qVoKg038yar7; Thu, 14 Jun 2012 10:58:35 +0200 Message-ID: <4FD9A7B9.2070704@orange.fr> Date: Thu, 14 Jun 2012 10:58:33 +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: Thu, 14 Jun 2012 08:58:43 -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 All systems now patched. chpass now OK. no known side effect Thanks Claude Buisson