Skip to content

Commit

Permalink
switching to default-hierarchy=unified
Browse files Browse the repository at this point in the history
Last blocker got fixed, so updating runc should be last thing to do.
opencontainers/runc#654
  • Loading branch information
tpgxyz committed Jun 17, 2020
1 parent 6406b58 commit 86cb4a2
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions systemd.spec
Expand Up @@ -75,7 +75,7 @@ Source0: systemd-%{version}.tar.xz
Version: %{major}
Source0: https://github.com/systemd/systemd/archive/v%{version}.tar.gz
%endif
Release: 1
Release: 2
License: GPLv2+
Group: System/Configuration/Boot and Init
Url: http://www.freedesktop.org/wiki/Software/systemd
Expand Down Expand Up @@ -686,13 +686,8 @@ ln -sf %{_bindir}/ld.bfd bin/ld
PATH=$PWD/bin:$PATH
%endif

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

%serverbuild_hardened

%if %{with compat32}
Expand Down Expand Up @@ -793,7 +788,7 @@ export LD=gcc
-Dcertificate-root="%{_sysconfdir}/pki" \
-Dfallback-hostname=openmandriva \
-Dsupport-url="%{disturl}" \
-Ddefault-hierarchy=hybrid \
-Ddefault-hierarchy=unified \
-Dtty-gid=5 \
-Dusers-gid=100 \
-Dnobody-user=nobody \
Expand Down

0 comments on commit 86cb4a2

Please sign in to comment.