License issue on a RPi with read-only root

Hi,

I have just bought the license since I was not able to get the usbip Windows client running correctly.

I use a Raspberry Pi B+ as a print server - my USB printer is directly connected to it. I wanted to share that USB device (as there are no drivers for my printer for armhf I cannot share it via e.g. Samba etc.).

Everything was working smoothly until I wanted to secure my SD card from corruption by making the root fs read-only (according to this tutorial:https://hallard.me/raspberry-pi-read-only/).

After rebooting to a read-only fs I am experiencing license issues on the client (a message that the trial period has expired). After remounting the fs to read-write everything is back to normal i.e. I can share the device again.

So I assume that vhusbdarmpi needs write access to a specific location for licensing purposes. Does anybody know which location I should make writable for this to work?

Thanks!

#2

Ok, nevermind.

I was able to analyze this with strace and found out that a write access to ~/config.ini is needed. Although I *think* it does not actually write anything to that file (after the license has been set up), but at least it's doing some file locking on it.

I have prepared a separate partition for /home and left it with write access. Everything seems to be back working just fine.

#3

Yes write access to the config.ini is needed because the settings can change during operation of the server e.g a reverse client is added