sdwdate broken on Virtualbox Whonix

Using Whonix-XFCE-16.0.3.1 everything works fine until you ‘upgrade-nonroot’, then on the next restart, sdwdate icon shows a cross.
Here’s what it says on Whonix-Gateway:

2021-11-14 09:01:10 - /usr/bin/whonix-gateway-firewall - OK: Loading Whonix firewall…
2021-11-14 09:01:10 - /usr/bin/whonix-gateway-firewall - OK: Skipping firewall mode detection since already set to ‘full’.
2021-11-14 09:01:10 - /usr/bin/whonix-gateway-firewall - OK: (Full torified network access allowed.)
2021-11-14 08:59:31 - /usr/bin/whonix-gateway-firewall - OK: Whonix firewall loaded.
2021-11-14 08:59:32 - sdwdate - INFO - sdwdate started. PID: 865
2021-11-14 08:59:32 - sdwdate - INFO - Tor socks host: 127.0.0.1 Tor socks port: 9108
2021-11-14 08:59:32 - sdwdate - INFO - Running sdwdate main loop. iteration: 1 / 10000
2021-11-14 08:59:32 - sdwdate - INFO - PREPARATION:
2021-11-14 08:59:32 - sdwdate - INFO - /usr/libexec/helper-scripts/onion-time-pre-script: line 70: /usr/bin/touch: Permission denied
/usr/libexec/helper-scripts/onion-time-pre-script: line 30: /usr/libexec/helper-scripts/onion-time-pre-script: No exit code set yet. Setting to 1.: No such file or directory
__ ### START: ### /usr/libexec/helper-scripts/onion-time-pre-script
__ status: First run after boot.
2021-11-14 08:59:32 - sdwdate - INFO - PREPARATION RESULT: (unknown) ERROR.
2021-11-14 08:59:32 - sdwdate - INFO -

And on whonix-workstation:

2021-11-14 09:01:05 - /usr/bin/whonix-workstation-firewall - OK: Loading Whonix firewall…
2021-11-14 09:01:05 - /usr/bin/whonix-workstation-firewall - OK: Skipping firewall mode detection since already set to ‘full’.
2021-11-14 09:01:05 - /usr/bin/whonix-workstation-firewall - OK: (Full torified network access allowed.)
2021-11-14 09:03:39 - /usr/bin/whonix-workstation-firewall - OK: Whonix firewall loaded.
2021-11-14 09:03:39 - sdwdate - INFO - sdwdate started. PID: 777
2021-11-14 09:03:39 - sdwdate - INFO - Tor socks host: 10.152.152.10 Tor socks port: 9108
2021-11-14 09:03:39 - sdwdate - INFO - Running sdwdate main loop. iteration: 1 / 10000
2021-11-14 09:03:39 - sdwdate - INFO - PREPARATION:
2021-11-14 09:03:39 - sdwdate - INFO - /usr/libexec/helper-scripts/onion-time-pre-script: line 70: /usr/bin/touch: Permission denied
/usr/libexec/helper-scripts/onion-time-pre-script: line 30: /usr/libexec/helper-scripts/onion-time-pre-script: No exit code set yet. Setting to 1.: No such file or directory
__ ### START: ### /usr/libexec/helper-scripts/onion-time-pre-script
__ status: First run after boot.
2021-11-14 09:03:39 - sdwdate - INFO - PREPARATION RESULT: (unknown) ERROR.
2021-11-14 09:03:39 - sdwdate - INFO -

I am on VB 6.1.28

If you like help fixing this, use:
Fix Profiles

1 Like

Did the steps under ’ Put folder /etc/apparmor.d under git version control.’ and up to ‘commit all files to git.’ But what after that? sudo aa-logprof returns ERROR: Can’t find system log “/var/log/syslog”. Please check permissions.
I am not familiar with git so if there was something obvious I missed, please excuse me.

1 Like

Fixed after upgrades.

Confirmed. Please contribute and find a solution. Please attempt Generic Bug Reproduction.

1 Like