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
regression: --isolation=nspawn doesn't in 2.7 #678
Comments
I tried to debug this but AFAICS at least as far as the parsing |
copy/pasted from the releng issue: So my first suspect here is 877b332 , which moves around some of the relevant bits here. In particular there's some weirdness related to a var called I haven't entirely traced out the consequences, but I'd bet a medium sized amount of money that's the problem. |
yeah, so I'm pretty sure that when |
877b332 broke this by splitting the code that actually decides what `USE_NSPAWN` should be into the `config` module...where it now only set `config.USE_NSPAWN`, but everything that actually changes behaviour based on the value reads `util.USE_NSPAWN`, which was now always False. This feels a bit ugly, but should at least solve the problem in a safe way, by having the parsing code in `config` update the value of the actual variable in `util`. Signed-off-by: Adam Williamson <awilliam@redhat.com>
#679 should fix this. I did check my work a bit: I hacked up everything in |
877b332 broke this by splitting the code that actually decides what `USE_NSPAWN` should be into the `config` module...where it now only set `config.USE_NSPAWN`, but everything that actually changes behaviour based on the value reads `util.USE_NSPAWN`, which was now always False. This feels a bit ugly, but should at least solve the problem in a safe way, by having the parsing code in `config` update the value of the actual variable in `util`. Signed-off-by: Adam Williamson <awilliam@redhat.com>
See https://pagure.io/releng/failed-composes/issue/2126
With
mock-2.7-1.fc33.noarch
, if I domock --new-chroot --shell
I am clearly not running in nspawn. Downgrading to2.6
fixes it - I again see e.g.container=systemd-nspawn
in the environment, and it shows up inmachinectl
etc.The text was updated successfully, but these errors were encountered: