Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 36601
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Rainer Größlinger <scandium@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Elan Ruusamäe <glen@delfi.ee>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 36601 depends on: Show dependency tree
Bug 36601 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-12-27 12:50 0000
what can i say, it adds user in build time, thus creating user only in build
host. version used: cvs-1.11.11

and if somebody gonna fix this, maybe look also bug 36416



Reproducible: Always
Steps to Reproduce:
1.get binary package
2.install it


Actual Results:  
in my system /var/cvsroot being owned by dhcp user....


Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-ck3)
=================================================================
System uname: 2.4.22-ck3 i686
Gentoo Base System version 1.4.3.10
distcc[26115] (dcc_mkdir) ERROR: mkdir /home/glen/.distcc/state failed: 
Permission denied [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe 
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config 
/var/qmail/control /var/qmail/alias"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe 
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs distcc buildpkg userpriv"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles
http://ftp.uni-erlangen.
de/pub/mirrors/gentoo http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss avi cups encode gif gtk2 jpeg libg++ mad mpeg ncurses png
quicktime 
truetype xv zlib slang arts X sdl gpm pam libwww ssl imlib oggvorbis gtk opengl 
acpi artswrappersuid fbcon maildir md5sum memlimit mmx mozilla samba -apm
-crypt 
-foomaticdb kde -tcltk -python -gnome -mikmod -motif -nls -spell -svga -gdbm 
-tcpd -doc aalib lirc -esd -berkdb -perl -java javascript svga -xml2 -pdflib
-qt 
-readline tiff perl directfb dga ggi -xmms"

------- Comment #1 From SpanKY 2003-12-27 16:47:43 0000 -------
enewuser/enewgroup should not be used inside of src_install() ...

it should be used inside of pkg_setup() or pkg_preinst() or pkg_postinst() or pkg_config()

i'll update the manpages to reflect this

------- Comment #2 From Rainer Größlinger 2003-12-28 07:45:38 0000 -------
Since the cvs user/group is not required for building/installing cvs but only
for running the pserver I think pkg_postinst() would be the correct place to
add the user/group.

If there are no objections I am going to change that in the cvs ebuild later
today.
Anyway, our two "core" problems still exist
(http://bugs.gentoo.org/show_bug.cgi?id=36215#c3)

------- Comment #3 From Rainer Größlinger 2003-12-29 06:48:35 0000 -------
ok, after thinking about it I suppose it would be better to move it to
pkg_config() and use a little pkg_postinst() to tell the user that this will
generate the cvs user/group for use with a cvspserver.
We probably could also move the xinet.d file to pkg_config() so that people who
just use cvs client-side aren't bothered with anything pserver related and
those who want to run a pserver just need to use the ebuild ... config to get
the xinet.d file and the cvs user/group.

------- Comment #4 From Rainer Größlinger 2004-02-09 12:59:43 0000 -------
just as a heads up, I will be committing cvs-1.11.12 within the next days which
fixes that bug [moved it to pkg_setup()].

I also hope there's a solution for bug 36416 in the meantime.

------- Comment #5 From Rainer Größlinger 2004-02-15 05:26:03 0000 -------
should be fixed with cvs-1.11.13, please give it a go :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug