[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

Bug Report: RAM Adjusted Desktop Start


#1

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!


#2

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

#3

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.


#4

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

#5

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.


#6

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


#7

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.)


#8

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: