Was the check for 'lago' group membership removed?

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.

On 03/02 11:46, Yaniv Kaul wrote:
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).
It still is, but it does not detect such change (you were still part of the lago group, just not the new lago group). I want to get totally rid of it, but moving first the default store location to a user based location (we don't usually ever use lago from multiple users on the same machine), keeping the possibility of configuring the path.
TIA, Y. _______________________________________________ lago-devel mailing list lago-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/lago-devel
-- David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Tel.: +420 532 294 605 Email: dcaro@redhat.com IRC: dcaro|dcaroest@{freenode|oftc|redhat} Web: www.redhat.com RHT Global #: 82-62605
participants (2)
-
David Caro
-
Yaniv Kaul