walters added a new comment to an issue you are following:
``
Yeah, that patch isn't going to work; it's providing the argument to mock, not
systemd. From a quick glance at the mock source, it doesn't allow configuring the
provided arguments to nspawn at all. Which is understandable, because mock is mostly
focused on RPMs building, not being an arbitrary container tool.
I filed
https://github.com/projectatomic/rpm-ostree/issues/591 for something we can do in
rpm-ostree but it's not going to happen immediately.
The only quick hack I can think of is to replace /usr/bin/systemd-nspawn with a wrapper
like:
```
#!/usr/bin/bash
set -euo pipefail
if test -n "${FEDMSG_ATOMIC_COMPOSER:-}"; then
exec systemd-nspawn.real --capability=CAP_NET_ADMIN $@
else
exec systemd-nspawn.real $@
fi
```
And `mv /usr/bin/systemd-nspawn{,.real}`.
And file a request in mock to get the ability to influence the nspawn arguments.
``
To reply, visit the link below or just reply to this email
https://pagure.io/releng/issue/6602