-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mock init fails #54
Comments
|
As @mich181189 pointed me to systemd/systemd#3649 and looks like it's systemd bug.... If I try to run nspawn command printed by mock without |
@keszybz, suggestions? |
I just manually installed the output of the latest systemd koji build into my VM where I reproduced this, and it seems fixed. https://koji.fedoraproject.org/koji/buildinfo?buildID=863811 |
@mich181189 so, should we close this bug then? |
I think so. |
OK. So the workaround (until the systemd hit the stable) when you are hit by this issue is to use |
in trying to test current git head mock -r fedora-rawhide-x86_64 --init failed
my config has some diffs to the rpmnew version but nothing that should break anything
[root@anubis mock]# diff -u fedora-rawhide-x86_64.cfg.rpmnew fedora-rawhide-x86_64.cfg
--- fedora-rawhide-x86_64.cfg.rpmnew 2017-03-02 04:32:52.000000000 -0600
+++ fedora-rawhide-x86_64.cfg 2015-12-18 13:02:36.637889081 -0600
@@ -4,7 +4,7 @@
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
config_opts['dist'] = 'rawhide' # only useful for --resultdir variable subst
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
-config_opts['releasever'] = '27'
+config_opts['releasever'] = '24'
config_opts['package_manager'] = 'dnf'
@@ -22,7 +22,6 @@
syslog_device=
install_weak_deps=0
metadata_expire=0
-best=1
repos
@@ -33,11 +32,11 @@
[local]
name=local
-baseurl=https://kojipkgs.fedoraproject.org/repos/rawhide/latest/x86_64/
+baseurl=http://kojipkgs.fedoraproject.org/repos/rawhide/latest/x86_64/
cost=2000
-enabled=0
+enabled=1
-[fedora-debuginfo]
+[debug]
name=Fedora Rawhide - x86_64 - Debug
failovermethod=priority
metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-debug&arch=$basearch
the failure is
INFO: Mock Version: 1.4.0
Start: dnf install
Failed to synchronize cache for repo 'fedora', disabling.
Failed to synchronize cache for repo 'local', disabling.
Warning: Group 'buildsys-build' does not exist.
Error: Nothing to do.
ERROR: Command failed:
/usr/bin/systemd-nspawn -q -M 4db7ef2e57d84184baa3182ac14197c1 -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --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;\007" --setenv=PS1= \s-\v$ --setenv=LANG=es_US.utf8 --setenv=LC_MESSAGES=C /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 24 --disableplugin=local --setopt=deltarpm=false install @buildsys-build
Failed to synchronize cache for repo 'fedora', disabling.
Failed to synchronize cache for repo 'local', disabling.
Warning: Group 'buildsys-build' does not exist.
Error: Nothing to do.
The text was updated successfully, but these errors were encountered: