Dne 10. 06. 19 v 13:30 Michael Ivanov napsal(a):
> Hallo!
> 
> I'm trying to run mock in lxd container and I'm getting the following error:
> 
> [ Report about packages being successfully installed]
> 
>   . . . . . . . . . . . .
> 
>   zip.x86_64 0:3.0-11.el7                              zlib.x86_64 
> 0:1.2.7-18.el7
> 
> Complete!
> Finish: yum install
> WARNING: Machine 5d2dae6606d449f3aa4c85ba1845b141 still running. Killing...
> ERROR: Command failed:
>  # /usr/bin/systemd-nspawn -q -M 5d2dae6606d449f3aa4c85ba1845b141 -D 
> /var/lib/mock/cs7/root --setenv=TERM=vt100
> --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock 
> --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin
> --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" 
> --setenv=PS1=<mock-chroot> \s-\v\$  --setenv=LANG=C.UTF-8
> --setenv=QTDIR=/usr --setenv=ORACLE_HOME=/usr/lib/oracle/12.2/client64 
> /usr/sbin/groupadd -g 135 mock
> 
> I checked /etc/group file in chroot tree, mock group does not exist there.
> 
> My container runs CentOS Linux release 7.6.1810, mock is version 1.4.16, 
> installed from epel.
> System used inside mock's chroot is also centos 7.

I recall two issues which can be related:

1) https://bugzilla.redhat.com/show_bug.cgi?id=1704488
2) in cached chroot group mock already existed, but with differen gid.
     mock -r epel-7-x86_64 --scrub=all
   should help in that case

-- 
Miroslav Suchy, RHCA
Red Hat, Associate Manager ABRT/Copr, #brno, #fedora-buildsys
_______________________________________________
buildsys mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to