]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
virt: the pidns controller does not exist anymore
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Mar 2012 23:43:47 +0000 (00:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 14 Mar 2012 23:43:47 +0000 (00:43 +0100)
TODO
man/systemd.unit.xml
src/virt.c

diff --git a/TODO b/TODO
index dece0553c545b3015b27f78f39396437229d3307..4936fdeea429f8a860f47cc72334dcfadc364915 100644 (file)
--- a/TODO
+++ b/TODO
@@ -18,6 +18,14 @@ Bugfixes:
 
 Features:
 
+* Add ConditionReadWriteFileSystem= so that systemd-sysctl doesn't get executed when /proc/sys is read-only
+
+* unset container= and container_uuid= for child processes
+
+* when bind mounting /etc/machine-id, do so from /run/machine-id
+
+* introduce mix of BindTo and Requisite
+
 * journalctl: show multiline log messages sanely, expand tabs, and show all valid utf8 messages
 
 * introduce NeedsMounts= or so to create .mount dependencies automatically for a specific path
index eecff7373a512e342d7768950df269db1ac44779..3cc126b12aefa94e455b2e33431fcf3cd13a7c9a 100644 (file)
                                 <varname>openvz</varname>,
                                 <varname>lxc</varname>,
                                 <varname>lxc-libvirt</varname>,
-                                <varname>systemd-nspawn</varname>,
-                                <varname>pidns</varname> to test
+                                <varname>systemd-nspawn</varname> to test
                                 against a specific implementation. If
                                 multiple virtualization technologies
                                 are nested only the innermost is
index 3f0912a8a6610b1c971666769608c1aab8b05710..4c526ff45471620616237ac3176ca594e7921bc5 100644 (file)
@@ -236,35 +236,6 @@ int detect_container(const char **id) {
                 fclose(f);
         }
 
-        f = fopen("/proc/self/cgroup", "re");
-        if (f) {
-
-                for (;;) {
-                        char line[LINE_MAX], *p;
-
-                        if (!fgets(line, sizeof(line), f))
-                                break;
-
-                        p = strchr(strstrip(line), ':');
-                        if (!p)
-                                continue;
-
-                        if (strncmp(p, ":ns:", 4))
-                                continue;
-
-                        if (!streq(p, ":ns:/")) {
-                                fclose(f);
-
-                                if (id)
-                                        *id = "pidns";
-
-                                return 1;
-                        }
-                }
-
-                fclose(f);
-        }
-
         return 0;
 }