Colin Walters
|
e605e2d255
|
Be more informative if loopback setup fails
We're seeing loopback setup fail in Fedora infrastructure for rpm-ostree
composes: https://pagure.io/releng/issue/6602
This should help debug. Tested with strace fault injection:
```
$ strace -o strace.log -f -e fault=bind:error=EPERM bwrap --unshare-net --bind / / true
loopback: Failed to bind NETLINK_ROUTE socket: Operation not permitted
$
```
Closes: #166
Approved by: alexlarsson
|
2017-01-26 08:42:36 +00:00 |
|
Alexander Larsson
|
d69ab9202b
|
Ran uncruftify.sh
Closes: #67
Approved by: cgwalters
|
2016-05-13 12:21:08 +00:00 |
|
Alexander Larsson
|
8613206fba
|
Fix (and standardize) error checks in network setup
Now we always return -1 on error, and 0 on OK.
Also, fixes the incorrect check in rtnl_do_request().
|
2016-03-02 12:51:28 +01:00 |
|
Alexander Larsson
|
92712d8cd5
|
Rename to bubblewrap
|
2016-02-17 11:54:21 +01:00 |
|
Alexander Larsson
|
5556d20fd5
|
Split out network functions to separate file
|
2016-02-16 09:41:01 +01:00 |
|