I find what happened ! At the First time useradd runs well. At the second time, useradd cmd has specified the uid with 494 (kojibuilder in host), but the result is 495 in chroot(torrent in host) But i can't understand what would cause that !!!
[e...@wenjia etc]$ ll -d /var/lib/mock/dist-foo-build-62-14/root/builddir drwx------ 2 torrent mock 4096 04-07 08:28 /var/lib/mock/dist-foo-build-62-14/root/builddir [e...@wenjia etc]$ grep torrent /etc/passwd torrent:x:495:492:BitTorrent Seed/Tracker:/var/lib/bittorrent:/sbin/nologin [e...@wenjia etc]$ grep 494 /etc/passwd kojibuilder:x:494:490::/builddir:/bin/bash [e...@wenjia etc]$ grep mock /var/lib/mock/dist-foo-build-62-14/root/etc/passwd mockbuild::495:491::/builddir:/bin/bash [root.log] ... DEBUG backend.py:621: ========== /var/lib/mock/dist-foo-build-62-14/root/builddir: not exist. uid=0,euid=0,494=kojibuilder,495=torrent DEBUG util.py:284: Executing command: /usr/sbin/useradd -m -u 494 -g 491 -d /builddir -n mockbuild DEBUG util.py:323: Child returncode was: 0 DEBUG backend.py:629: ========== /var/lib/mock/dist-foo-build-62-14/root/builddir: kojibuilder:mock uid=0,euid=0,494=kojibuilder,495=torrent ... DEBUG backend.py:621: ========== /var/lib/mock/dist-foo-build-62-14/root/builddir: not exist. uid=0,euid=0,494=kojibuilder,495=torrent DEBUG util.py:284: Executing command: /usr/sbin/useradd -m -u 494 -g 491 -d /builddir -n mockbuild DEBUG util.py:323: Child returncode was: 0 DEBUG backend.py:629: ========== /var/lib/mock/dist-foo-build-62-14/root/builddir: torrent:mock uid=0,euid=0,494=kojibuilder,495=torrent ... (I have added some debug info) 2010/4/2 Mike McLean <[email protected]> > On 03/31/2010 09:48 PM, Eric Zhong wrote: > > If i use mock clean, does it break the data of koji ? > > When I suggested this, I assumed you were using mock directly (because I > have never seen kojid give this error and am having a hard time > understanding how it could). > > If this is happening in koji, then mock clean will not help. > -- > buildsys mailing list > [email protected] > https://admin.fedoraproject.org/mailman/listinfo/buildsys >
-- buildsys mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/buildsys
