Revert "core/namespace: ignore ENOENT for /proc/sys/kernel/domainname and hostname"
This reverts commit 0ebc9f23fa
.
With the previous commit, these files should always exist.
Closes #17979.
This commit is contained in:
parent
ad74f28a13
commit
c4837f4567
|
@ -1692,12 +1692,10 @@ int setup_namespace(
|
||||||
*(m++) = (MountEntry) {
|
*(m++) = (MountEntry) {
|
||||||
.path_const = "/proc/sys/kernel/hostname",
|
.path_const = "/proc/sys/kernel/hostname",
|
||||||
.mode = READONLY,
|
.mode = READONLY,
|
||||||
.ignore = true,
|
|
||||||
};
|
};
|
||||||
*(m++) = (MountEntry) {
|
*(m++) = (MountEntry) {
|
||||||
.path_const = "/proc/sys/kernel/domainname",
|
.path_const = "/proc/sys/kernel/domainname",
|
||||||
.mode = READONLY,
|
.mode = READONLY,
|
||||||
.ignore = true,
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue