Change EPERM error message to show Debian-specific information
Forwarded: not-needed Gbp-Pq: Topic debian Gbp-Pq: Name Change-EPERM-error-message-to-show-Debian-specific-inform.patch
This commit is contained in:
parent
20b859454d
commit
8b1ff8adce
|
@ -2905,7 +2905,7 @@ main (int argc,
|
||||||
if (errno == EINVAL)
|
if (errno == EINVAL)
|
||||||
die ("Creating new namespace failed, likely because the kernel does not support user namespaces. bwrap must be installed setuid on such systems.");
|
die ("Creating new namespace failed, likely because the kernel does not support user namespaces. bwrap must be installed setuid on such systems.");
|
||||||
else if (errno == EPERM && !is_privileged)
|
else if (errno == EPERM && !is_privileged)
|
||||||
die ("No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.");
|
die ("No permissions to create new namespace, likely because the kernel does not allow non-privileged user namespaces. See <https://deb.li/bubblewrap> or <file:///usr/share/doc/bubblewrap/README.Debian.gz>.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (errno == ENOSPC)
|
if (errno == ENOSPC)
|
||||||
|
|
Loading…
Reference in New Issue