Revert "procd: add patch to mount sys and proc with relatime option"

This patch can be removed, since the change is now applied upstream and available in the version of procd we are using (7330fa55c5)

This reverts commit 4b03b1fbefe0a637ad0eba37be441163094f2144.

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
This commit is contained in:
Matthias Franck 2025-05-14 14:51:10 +02:00 committed by Petr Štetiar
parent e0ae41cb83
commit 9e301213de
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3

View File

@ -1,15 +0,0 @@
diff --git a/initd/early.c b/initd/early.c
index 709f1b8..c82c1e2 100644
--- a/initd/early.c
+++ b/initd/early.c
@@ -109,8 +109,8 @@ early_mounts(void)
unsigned int oldumask = umask(0);
if (!is_container()) {
- mount("proc", "/proc", "proc", MS_NOATIME | MS_NODEV | MS_NOEXEC | MS_NOSUID, NULL);
- mount("sysfs", "/sys", "sysfs", MS_NOATIME | MS_NODEV | MS_NOEXEC | MS_NOSUID, NULL);
+ mount("proc", "/proc", "proc", MS_RELATIME | MS_NODEV | MS_NOEXEC | MS_NOSUID, NULL);
+ mount("sysfs", "/sys", "sysfs", MS_RELATIME | MS_NODEV | MS_NOEXEC | MS_NOSUID, NULL);
mount("efivars", "/sys/firmware/efi/efivars", "efivarfs", MS_NOATIME | MS_NODEV | MS_NOEXEC | MS_NOSUID, NULL);
LOG("Attempting to mount cgroups (tmpfs + controller subdirs)\n");
mount("cgroup2", PATH_CGROUP, "tmpfs", MS_NODEV | MS_NOEXEC | MS_NOSUID, "size=512K");