1
0
mirror of https://github.com/systemd/systemd synced 2025-12-28 20:04:45 +01:00

Compare commits

..

No commits in common. "bf2d8c03c16f92e7e2b1414287e7d248bc9b6556" and "f1027d7c28dc246f9aa6e319fbbd6c735bb8a2be" have entirely different histories.

2 changed files with 3 additions and 5 deletions

View File

@ -85,6 +85,9 @@ EOF
rm -rf debian/patches
# disable autopkgtests which are not for upstream
sed -i '/# NOUPSTREAM/ q' debian/tests/control
# temporarily disable timedated tests, as they cause timeouts
# see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975010
sed -i '/Tests:/s/timedated, //' debian/tests/control
# enable more unit tests
sed -i '/^CONFFLAGS =/ s/=/= --werror -Dtests=unsafe -Dsplit-usr=true -Dslow-tests=true -Dfuzz-tests=true -Dman=true /' debian/rules
# no orig tarball

View File

@ -1541,11 +1541,6 @@ int setup_namespace(
if (root_directory)
root = root_directory;
else {
/* /run/systemd should have been created by PID 1 early on already, but in some cases, like
* when running tests (test-execute), it might not have been created yet so let's make sure
* we create it if it doesn't already exist. */
(void) mkdir_p_label("/run/systemd", 0755);
/* Always create the mount namespace in a temporary directory, instead of operating
* directly in the root. The temporary directory prevents any mounts from being
* potentially obscured my other mounts we already applied.