Package: passt
Version: 0.0~git20260120.386b5f5-1
Severity: normal
Running on a kernel with no CONFIG_USER_NS gives:
Can't determine if we're in init namespace: No such file or directory
The file in question is /proc/self/uid_map and being requested from util.c:
bool ns_is_init(void)
{
...
if ((fd = open("/proc/self/uid_map", O_RDONLY | O_CLOEXEC)) < 0)
die_perror("Can't determine if we're in init namespace");
Can we somehow avoid that die_perror()? Maybe if there is no uid_map,
so no user namespaces, so we're automatically in the root one?