I tried to run mock from scratch (--scrub=all as you recommended), but it's still the same.
I cannot even run shell in chroot (it gives same error), but I have checked /etc/group file in chroot tree and there's no "mock" group and no group with number 135. As regarding bugzilla entry my environment is centos 7 and I just did not find any dbus-broker package here at all. I'll try to downgrade to mock < 1.4.14 (that oldest release mentioned in bug id 1704488 Best regards, On 10.06.2019 19:26, Miroslav Suchý wrote: > 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 > -- \ / | | (OvO) | Михаил Иванов | (^^^) | | \^/ | E-mail: [email protected] | ^ ^ | | _______________________________________________ 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]
