summaryrefslogtreecommitdiff
path: root/troubleshooting.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-30 17:09:33 +0100
committerGitHub <noreply@github.com>2021-11-30 17:09:33 +0100
commit3fac03cf04e68eb3351aff8c33bac6bea85810f6 (patch)
treef83b1980c62a066edba6fce7cd4f5b2649659bd7 /troubleshooting.md
parent771f8c628bef17eb183efce8c7ee7a91cbf4087b (diff)
parent9a10e2124bb11027fc71db4c495c116277b8b7e3 (diff)
downloadpodman-3fac03cf04e68eb3351aff8c33bac6bea85810f6.tar.gz
podman-3fac03cf04e68eb3351aff8c33bac6bea85810f6.tar.bz2
podman-3fac03cf04e68eb3351aff8c33bac6bea85810f6.zip
Merge pull request #12449 from vrothberg/fix-12438
systemd: replace multi-user with default.target
Diffstat (limited to 'troubleshooting.md')
-rw-r--r--troubleshooting.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/troubleshooting.md b/troubleshooting.md
index 44028fc42..2f5eb6552 100644
--- a/troubleshooting.md
+++ b/troubleshooting.md
@@ -767,7 +767,7 @@ Type=simple
ExecStart=/bin/bash -c '/bin/busctl monitor --system --match "interface=org.fedoraproject.FirewallD1,member=Reloaded" --match "interface=org.fedoraproject.FirewallD1,member=PropertiesChanged" | while read -r line ; do podman network reload --all ; done'
[Install]
-WantedBy=multi-user.target
+WantedBy=default.target
```
2) For "systemctl restart firewalld", create a systemd unit file with the following
```
@@ -783,7 +783,7 @@ RemainAfterExit=yes
ExecStart=/usr/bin/podman network reload --all
[Install]
-WantedBy=multi-user.target
+WantedBy=default.target
```
However, If you use busctl monitor then you can't get machine-readable output on `RHEL 8`.
Since it doesn't have `busctl -j` as mentioned here by [@yrro](https://github.com/containers/podman/issues/5431#issuecomment-896943018).
@@ -802,7 +802,7 @@ ExecStart=/bin/bash -c "dbus-monitor --profile --system 'type=signal,sender=org.
Restart=Always
[Install]
-WantedBy=multi-user.target
+WantedBy=default.target
```
`busctl-monitor` is almost usable in `RHEL 8`, except that it always outputs two bogus events when it starts up,
one of which is (in its only machine-readable format) indistinguishable from the `NameOwnerChanged` that you get when firewalld starts up.
@@ -823,7 +823,7 @@ ExecStart=/usr/bin/python /path/to/python/code/podman-redo-nat.py
Restart=always
[Install]
-WantedBy=multi-user.target
+WantedBy=default.target
```
The code reloads podman network twice when you use `systemctl restart firewalld`.
```