Skip to content

Commit 86cb4a2

Browse files
authored
switching to default-hierarchy=unified
Last blocker got fixed, so updating runc should be last thing to do. opencontainers/runc#654
1 parent 6406b58 commit 86cb4a2

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

systemd.spec

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Source0: systemd-%{version}.tar.xz
7575
Version: %{major}
7676
Source0: https://github.com/systemd/systemd/archive/v%{version}.tar.gz
7777
%endif
78-
Release: 1
78+
Release: 2
7979
License: GPLv2+
8080
Group: System/Configuration/Boot and Init
8181
Url: http://www.freedesktop.org/wiki/Software/systemd
@@ -686,13 +686,8 @@ ln -sf %{_bindir}/ld.bfd bin/ld
686686
PATH=$PWD/bin:$PATH
687687
%endif
688688

689-
# FIXME
690-
# Switch to
691-
# -Ddefault-hierarchy=unified \
692-
# below once Docker has been fixed to work with it.
693-
# In the mean time, hybrid provides cgroups2 features
694-
# while keeping docker working.
695-
# https://github.com/opencontainers/runc/issues/654
689+
# In order to switch to cgroup1 it is enough to pass systemd.unified_cgroup_hierarchy=0 via kernel command line.
690+
696691
%serverbuild_hardened
697692

698693
%if %{with compat32}
@@ -793,7 +788,7 @@ export LD=gcc
793788
-Dcertificate-root="%{_sysconfdir}/pki" \
794789
-Dfallback-hostname=openmandriva \
795790
-Dsupport-url="%{disturl}" \
796-
-Ddefault-hierarchy=hybrid \
791+
-Ddefault-hierarchy=unified \
797792
-Dtty-gid=5 \
798793
-Dusers-gid=100 \
799794
-Dnobody-user=nobody \

0 commit comments

Comments
 (0)