Closed FrostyX closed 1 year ago
RPM available here: https://copr.fedorainfracloud.org/coprs/frostyx/tracer/build/5929476/
So I tried the code from this PR and I didn't see the file being written. Perhaps I didn't do something correctly.
Output:
You should restart:
* Some applications using:
sudo systemctl restart NetworkManager
sudo systemctl restart auditd
sudo systemctl restart chronyd
sudo systemctl restart dbus-broker
sudo systemctl restart qemu-guest-agent
sudo systemctl restart sshd
sudo systemctl restart systemd-journald
sudo systemctl restart systemd-logind
sudo systemctl restart systemd-oomd
sudo systemctl restart systemd-resolved
sudo systemctl restart systemd-udevd
sudo systemctl restart systemd-userdbd
* These applications manually:
(sd-pam)
dnf
Additionally, there are:
- 3 processes requiring restart of your session (i.e. Logging out & Logging in again)
- 1 processes requiring reboot
For more information run:
sudo tracer -iat 1684410627.5498843
But no file was written:
[root@tracer-testing ~]# cat /var/run/reboot-required
cat: /var/run/reboot-required: No such file or directory
Nevermind -- an update in F38 clobbered the testing RPM from this change. This works just fine! :partying_face:
[root@tracer-testing ~]# tracer
You should restart:
* Some applications using:
sudo systemctl restart NetworkManager
sudo systemctl restart auditd
sudo systemctl restart chronyd
sudo systemctl restart dbus-broker
sudo systemctl restart qemu-guest-agent
sudo systemctl restart sshd
sudo systemctl restart systemd-journald
sudo systemctl restart systemd-logind
sudo systemctl restart systemd-oomd
sudo systemctl restart systemd-resolved
sudo systemctl restart systemd-udevd
sudo systemctl restart systemd-userdbd
* These applications manually:
(sd-pam)
Additionally, there are:
- 3 processes requiring restart of your session (i.e. Logging out & Logging in again)
- 1 processes requiring reboot
[root@tracer-testing ~]# cat /var/run/reboot-required
Tracer says reboot is required
Perfect, thank you for the test.
Fix #195