[lago-devel] Was the check for 'lago' group membership removed?

Yaniv Kaul ykaul at redhat.com
Wed Mar 2 09:46:38 UTC 2016


I uninstalled and reinstalled lago, which made the lago group
disappear and reapper - and my user was not part of it.
Then running the tests failed, as I could not write the lock file to
/var/lib/lago/...

Added a bit of code to the exception to see why:
 File "/usr/lib/python2.7/site-packages/lockfile/linklockfile.py",
line 20, in acquire
    raise LockFailed("Failed to create %s.\nCode: %d\nReason: %s\n" %
(self.unique_name, e.errno, e.strerror))
LockFailed: Failed to create
/var/lib/lago/store/ykaul-mini.tlv.redhat.com-fa517700.1377-7176078113883238881.
Code: 13
Reason: Permission denied

And indeed, it was because I was not part of the lago group. Adding,
logging out and in again solved it - but shouldn't there be such
warning ? (I remember there was in the past).

TIA,
Y.



More information about the lago-devel mailing list