Skip to content

Commit

Permalink
Merge pull request #3720 from arnaldo2792/systemd-sysusers
Browse files Browse the repository at this point in the history
systemd-sysusers: change execution order
  • Loading branch information
arnaldo2792 authored Jan 22, 2024
2 parents 7019080 + 0a1425e commit 5653daa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/systemd/systemd-sysusers.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Unit]
After=selinux-policy-files.service
4 changes: 4 additions & 0 deletions packages/systemd/systemd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Source2: systemd-modules-load.conf
Source3: journald.conf
Source4: issue
Source5: systemd-journald.conf
Source6: systemd-sysusers.conf

# Backport of upstream patches that make the netlink default timeout
# configurable. Bottlerocket carries this patch and configures the timeout in
Expand Down Expand Up @@ -302,6 +303,9 @@ install -p -m 0644 %{S:3} %{buildroot}%{_cross_libdir}/systemd/journald.conf.d/j
install -d %{buildroot}%{_cross_unitdir}/systemd-journald.service.d
install -p -m 0644 %{S:5} %{buildroot}%{_cross_unitdir}/systemd-journald.service.d/systemd-journald.conf

install -d %{buildroot}%{_cross_unitdir}/systemd-sysusers.service.d
install -p -m 0644 %{S:6} %{buildroot}%{_cross_unitdir}/systemd-sysusers.service.d/systemd-sysusers.conf

# Remove all stock network configurations, as they can interfere
# with container networking by attempting to manage veth devices.
rm -f %{buildroot}%{_cross_libdir}/systemd/network/*
Expand Down

0 comments on commit 5653daa

Please sign in to comment.