arighi/virtme-ng

Cannot create directory: Read-only file system

Opened this issue · 6 comments

Hi!,

I install virtme-ng from Debian repository (using apt) and I have this error:

mkdir: cannot create directory ‘/home/eamanu/.cache/oh-my-zsh’: Read-only file system

The user is already in group kvm and libvirt. And the error appear running with zsh or bash. Also this folder does not exists.

Ok I wait I little bit and I have a new erorr, and then work successfully:

zsh: locking failed for /home/eamanu/.zsh_history: read-only file system: reading anyway

It looks like your $HOME filesystem is not correctly mounted with overlayfs, therefore it's in read-only and the shell isn't able to write on it.

What is the exact vng command / which options are you using?

Are you running a custom kernel or the stock kernel from your distro?

@eamanu any update on this? Are you still experiencing this issue?

@arighi sorry I didn't check anything, I will try to do it today/tomorrow. Sorry for the delay

@eamanu no problem, take your time. Also, if you still have this issue, can you try the latest version, instead of the one from the Debian repo? (i.e., you can pip install virtme-ng and try that). Thank!

@eamanu any updates regarding this issue? Have you tried the most recent version?