]> git.pld-linux.org Git - packages/libcgroup.git/blame - libcgroup-0.36.2-systemd.patch
- new cgroup
[packages/libcgroup.git] / libcgroup-0.36.2-systemd.patch
CommitLineData
25379cc3
AM
1Ignore systemd hierarchy. Quick&dirity fix for bug #627378
2
3Author: Dhaval Giani <dhaval.bugzilla@thegianis.in>
4
5@@ -, +, @@
6 src/api.c | 8 ++++++++
7 1 file changed, 8 insertions(+)
8--- libcgroup-0.36.2/src/api.c
9+++ libcgroup-0.36.2/src/api.c
10@@ -772,6 +772,14 @@ int cgroup_init(void)
11 * Check if it is a duplicate
12 */
13 duplicate = 0;
14+
15+ /*
16+ * Ignore anything to do with systemd
17+ */
18+ if (strncmp(mntopt, "name=systemd",
19+ strlen("name=systemd")) == 0)
20+ continue;
21+
22 for (j = 0; j < found_mnt; j++) {
23 if (strncmp(mntopt, cg_mount_table[j].name,
24 FILENAME_MAX) == 0) {
This page took 0.058852 seconds and 4 git commands to generate.