Interesting outcome this morning. According to my last query about the timers, plocate-updatedb.timer was supposed to run at Wed 2024-06-26 06:03:15.
After I booted this morning (and left it running for a few minutes to allow it to catch up), I checked it.
- Code: Select all
[brian@linux8corem9 ~]$ systemctl list-timers
NEXT LEFT LAST PASSED UNIT ACTIVATES
Wed 2024-06-26 17:41:45 EDT 10h left Tue 2024-06-25 11:28:13 EDT 19h ago plocate-updatedb.timer plocate-updatedb.service
Thu 2024-06-27 07:03:38 EDT 23h left Wed 2024-06-26 07:03:38 EDT 11min ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
2 timers listed.
Pass --all to see loaded but inactive timers, too.
[brian@linux8corem9 ~]$ cd /var/lib/plocate
[brian@linux8corem9 plocate]$ ll
total 15476
-rw-r--r-- 1 root root 183 Jun 10 2023 CACHEDIR.TAG
-rw-r----- 1 root plocate 15843213 Jun 13 13:22 plocate.db
[brian@linux8corem9 plocate]$ systemctl status plocate-updatedb.timer
● plocate-updatedb.timer - Update the plocate database daily
Loaded: loaded (/usr/lib/systemd/system/plocate-updatedb.timer; enabled; preset: enabled)
Active: active (waiting) since Wed 2024-06-26 06:48:42 EDT; 29min ago
Trigger: Wed 2024-06-26 17:41:45 EDT; 10h left
Triggers: ● plocate-updatedb.service
Warning: some journal files were not opened due to insufficient permissions.
[brian@linux8corem9 plocate]$
According to the list-timers output, it appears that it thinks that it ran last night, and its next run is this evening.
And yet the status report says that it is waiting since Wed 2024-06-26 06:48:42 EDT; 29min ago.
However, the database has not been updated.
I must be missing something because I find this confusing.
Perhaps systemd needs to trigger this a couple of times in order to get its timestamps in order.
If only the best bird sang, the forest would be a very quiet place.