pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42073: pkg_src makes silly assumptions on gid/uid



The following reply was made to PR pkg/42073; it has been noted by GNATS.

From: Yuji Yamano <yyamano%kt.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost, obache%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost,
 damnhogs%hotmail.com@localhost
Subject: Re: pkg/42073: pkg_src makes silly assumptions on gid/uid
Date: Wed, 16 Sep 2009 23:39:15 -0700 (PDT)

 On Thu, 17 Sep 2009 00:10:05 +0000 (UTC), "OBATA Akio" 
<obache%netbsd.org@localhost> wrote:
 
 >  > GID checking from /etc/passwd by bootstrap scripts
 >  
 >  id -g -n ${root_user} ?
 
 Could you try this patch? I don't have Linux.
 
 Index: bootstrap
 ===================================================================
 RCS file: /cvsroot/pkgsrc/bootstrap/bootstrap,v
 retrieving revision 1.150
 diff -u -r1.150 bootstrap
 --- bootstrap  1 Aug 2009 20:19:37 -0000       1.150
 +++ bootstrap  17 Sep 2009 06:35:32 -0000
 @@ -536,7 +536,7 @@
        if [ -f /etc/debian_version ]; then
                DEBIAN=yes
        fi
 -      root_group=root
 +      root_group=`id -g -n $root_user`
        need_bsd_install=no
        need_awk=no
        need_sed=no
 
 
 -- Yuji Yamano
 Peace, unity, love and having fun!
 
 


Home | Main Index | Thread Index | Old Index