Bug Report: RAM Adjusted Desktop Start

Got this message booting Whonix-Gateway 11, and it said to report it:

touch: cannot touch [square character]/tmp/rads/no_start_x.status[square character]: Permission denied
[ERROR] [RAM Adjusted Desktop Starter] ret: 1 | BASH _COMMAND: touch “/tmp/rads/no_start_x.status” | Please report this bug!

mimp:

Got this message booting Whonix-Gateway 11, and it said to report it:

touch: cannot touch [square character]/tmp/rads/no_start_x.status[square character]: Permission denied
[ERROR] [RAM Adjusted Desktop Starter] ret: 1 | BASH _COMMAND: touch “/tmp/rads/no_start_x.status” | Please report this bug!

Terminal-only user?

Got enough free space on that virtual hdd?

Any other issues happening?

Please post the output of.

ls -la /tmp/rads/no_start_x.status

No other problems noticed.
df returns /dev/sda1 Use at 5%

ls -la /tmp/rads/no_start_x.status returns:

-rw-r–r-- 1 root root 0 Dec 12 19:57 /tmp/rads/no_start_x.status

ps. Yes, I have the RAM low to boot into terminal only on the gateway.

Does this only sometimes or always happen?

I could imagine that perhaps systemd runs rads before /tmp gets writeable.

Please create a file /usr/lib/tmpfiles.d/rads.conf with root rights.

And add.

d /tmp/rads 0775 root root

It seems to happen every time and I’ve done some more updates and it’s still happening.

Are you saying to put that text in the file rads.conf? Or create the directory /tmp/rads?

Thanks.

Just re-read my last post. I wrote what file to create and what contents.

Okay, so I created the file /usr/lib/tmpfiles.d/rads.conf, it looks like this:

-rw-r–r-- 1 root root 27 Dec 19 16:49 rads.conf

I then put the following in that file:

d /tmp/rads 0775 root root

I restarted and still get that error message.

(I actually have a more pressing issue I’m going to create a new thread for right now.)

Hm. Not sure. Could be, because rads should no longer be using /tmp anyhow. Could be a race condition. Will change from /tmp/rads to /var/run/rads for Whonix 13. It’s not all that important, because no functionality is actually broken.

If you want to test this right now, you need to emulate the following changes or install the packages from git master.

rads changes:

whonixsetup (cli) changes:

https://github.com/Whonix/whonixsetup/commit/da348d52f9494b9beb6bad8fc5a6b1b23471d558