valine
valine copied to clipboard
Error in bash substring during `domain_cfgfile_create`
When running valine on a Fedora25 for the first time, I receive, one per each VM in my libvirt:
./valine/valine: riga 330: /var/lib/valine/centos7-prometheus: No such file or directory
./valine/valine: riga 350: /var/lib/valine/centos7-prometheus: No such file or directory
Warning: centos7-prometheus config file has improper CfgVersion ('0Sifr' expected)
Storage displayed for this domain might not be accurate
If this causes problems, delete /var/lib/valine/centos7-prometheus
The error is triggered by the lack of /var/lib/valine , problem is that user do not receive the expected message:
mkdir: impossibile creare la directory "/var/lib/valine": Permission denied
Error: Missing [and unable to create] needed directory '/var/lib/valine'
As root, execute:
mkdir -pm 2775 /var/lib/valine; chgrp libvirt /var/lib/valine
due to some bash substring mistake.
In attach lvm config and debug output.