From owner-freebsd-stable@FreeBSD.ORG Thu Jun 14 05:07:14 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 D7350106564A; Thu, 14 Jun 2012 05:07:14 +0000 (UTC) (envelope-from fluffy@fluffy.khv.ru) Received: from forward8.mail.yandex.net (forward8.mail.yandex.net [77.88.61.38]) by mx1.freebsd.org (Postfix) with ESMTP id 81F968FC15; Thu, 14 Jun 2012 05:07:14 +0000 (UTC) Received: from smtp9.mail.yandex.net (smtp9.mail.yandex.net [77.88.61.35]) by forward8.mail.yandex.net (Yandex) with ESMTP id 8A7B8F60F4A; Thu, 14 Jun 2012 09:05:18 +0400 (MSK) Received: from smtp9.mail.yandex.net (localhost [127.0.0.1]) by smtp9.mail.yandex.net (Yandex) with ESMTP id 551501520648; Thu, 14 Jun 2012 09:05:18 +0400 (MSK) Received: from client22-22.khabnet.ru (client22-22.khabnet.ru [109.197.22.22]) by smtp9.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 5FsK8GrN-5Hsihrcm; Thu, 14 Jun 2012 09:05:18 +0400 X-Yandex-Rcpt-Suid: bapt@freebsd.org X-Yandex-Rcpt-Suid: clbuisson@orange.fr X-Yandex-Rcpt-Suid: freebsd-stable@freebsd.org Message-ID: <4FD970FF.90700@fluffy.khv.ru> Date: Thu, 14 Jun 2012 16:05:03 +1100 From: Dima Panov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 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=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Claude Buisson , 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 Reply-To: fluffy@FreeBSD.org 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 05:07:14 -0000 14.06.2012 8:44, Baptiste Daroussin написал: > 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 > Works here. FreeBSD 10.0-1000013-CURRENT clang #0 r236355M: -- Dima Panov (fluffy@FreeBSD.org) (KDE, Office)@FreeBSD team Facebook: http://www.facebook.com/fluffy.khv IRC: fluffy@EFNet, fluffykhv@FreeNode twitter: fluffy_khv | skype: dima.panov