[R4.2] Minor/cosmetic error in qubes-core-dom0-linux

[ I don’t intend to report this on github due to lack of an account and moral objections etc. ]

In my R4.2.4 dom0:

[user@dom0 ~]$ cat /etc/cron.d/qubes-sync-clock.cron 
0 */1 * * * root /usr/bin/qvm-sync-clock > /dev/null 2>&1 || true

The “*/1” is useless and just obfuscating the simple fact that the script is run every hour at :00.
Should be replaced by a simple “*”.

The file is part of qubes-core-dom0-linux rpm, at least as of version 4.2.36 with “Build Date : Wed 16 Jul 2025 02:00:00 CEST”.

Please fix (with low priority) :pray:

5 Likes

No you fix it :stuck_out_tongue:

https://github.com/QubesOS/qubes-core-admin-linux/blob/main/system-config/qubes-sync-clock.cron

You can send the patch to the qubes-devel mailing list:

https://doc.qubes-os.org/en/latest/developer/code/source-code.html#how-to-send-patches

3 Likes

@barto I bookmarked your topic to create the following issue on Github, but then I read your moral objection… So, is it okay for me to post this on Github?

Qubes OS release

R4.2, R4.3

Brief summary

/etc/cron.d/qubes-sync-clock.cron has an useless value, obfuscating the simple fact that the script is run every hour at :00

Steps to reproduce

Look at the content of the file:

[user@dom0 ~]$ cat /etc/cron.d/qubes-sync-clock.cron

Expected behavior

[user@dom0 ~]$ cat /etc/cron.d/qubes-sync-clock.cron
0 * * * * root /usr/bin/qvm-sync-clock > /dev/null 2>&1 || true

Actual behavior

[user@dom0 ~]$ cat /etc/cron.d/qubes-sync-clock.cron
0 */1 * * * root /usr/bin/qvm-sync-clock > /dev/null 2>&1 || true

Additional information

Minor bug / low priority

From the forum: R4.2 Minor/cosmetic error in qubes-core-dom0-linux

2 Likes

Sure, no worries! Appreciated. :pray:

2 Likes
2 Likes
2 Likes

That was fast! :slight_smile:

1 Like