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
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 BuissonCrap I'll work on a fix asap. regards, Bapt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120613/1a1a98cc/attachment.pgp
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 BuissonCan you try with the following patch? http://people.freebsd.org/~bapt/add-special-case-for-toor.diff Regards, Bapt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120613/b179a326/attachment.pgp
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, > BaptThanks, Will try tomorrow Claude Buisson
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.Fisr >> >> Claude Buisson > > Can you try with the following patch? > > http://people.freebsd.org/~bapt/add-special-case-for-toor.diff > > Regards, > BaptI managed to do a first test sooner. On 9-STABLE i386, I confirm that the patch solves the problem !! Tomorrow , I will patch 9-STABLE amd64 and 8-STABLE i386. Claude Buisson
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
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, > BaptAll systems now patched. chpass now OK. no known side effect Thanks Claude Buisson