Skip to content

Error in bash substring during domain_cfgfile_create #33

@andreamtp

Description

@andreamtp

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.

valine.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions