diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-12-01 09:31:14 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-12-01 09:41:37 +0100 |
commit | 391248456970e736513428dbaed2b575675fb107 (patch) | |
tree | b796208d249110ca79ae8b8194a6cb81c38c5d39 /pkg/machine | |
parent | 31bc3586be57f459bc30124ce6dbca98f98836e8 (diff) | |
download | podman-391248456970e736513428dbaed2b575675fb107.tar.gz podman-391248456970e736513428dbaed2b575675fb107.tar.bz2 podman-391248456970e736513428dbaed2b575675fb107.zip |
systemd: replace multi-user with default.target
Replace multi-user.target with default.target across the code base.
It seems like the multi-user one is not available for (rootless) users
on F35 anymore is causing issues in all kinds of ways, for instance,
enabling the podman.service or generated systemd units.
Backport of commit 9a10e2124bb11027fc71db4c495c116277b8b7e3.
Fixes: #12438
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/machine')
-rw-r--r-- | pkg/machine/ignition.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/machine/ignition.go b/pkg/machine/ignition.go index 42d729458..ef6c741cd 100644 --- a/pkg/machine/ignition.go +++ b/pkg/machine/ignition.go @@ -89,7 +89,7 @@ Type=oneshot RemainAfterExit=yes ExecStart=/bin/sh -c '/usr/bin/echo Ready >/dev/%s' [Install] -RequiredBy=multi-user.target +RequiredBy=default.target ` deMoby := `[Unit] Description=Remove moby-engine @@ -106,7 +106,7 @@ ExecStart=/usr/bin/rpm-ostree ex apply-live --allow-replacement ExecStartPost=/bin/touch /var/lib/%N.stamp [Install] -WantedBy=multi-user.target +WantedBy=default.target ` _ = ready ignSystemd := Systemd{ |