pkgsrc-Bugs archive

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

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



>Number:         42073
>Category:       pkg
>Synopsis:       pkg_src makes silly assumptions on gid/uid
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 16 12:35:00 +0000 2009
>Originator:     Michael ML
>Release:        pkgsrc-2009Q2
>Organization:
>Environment:
linux
>Description:
pkgsrc makes a silly assumption on linux that GID will be root, in some distos 
this is not the case, which causes bootstraping issues.
Perhaps bootstrap scripts should check with /etc/passwd to get the actual GID 
will be root.
One example of this problem is installing pkgsrc on SSD/Linux from 
http://www.plathome.com/products/microserver/ssdlinux/
Which has root/wheel as uid/gid for superuser.

Regards Michael
>How-To-Repeat:
Download a linux distro such as SSD/Linux and attempt to bootstrap pkgsrc on it.
>Fix:
GID checking from /etc/passwd by bootstrap scripts



Home | Main Index | Thread Index | Old Index