Red Hat Bugzilla – Bug 119783
rpm --test returns "error: can't create transaction lock" when run without root privs
Last modified: 2007-11-30 17:10:39 EST
Description of problem:
Running 'rpm --test -Uvh somepackage.rpm' as a non-root user now
returns "error: can't create transaction lock". Prior versions did
not return an error.
Version-Release number of selected component (if applicable):
Any SELinux error messages?
In the logs, or on the console? The console reports only the
transaction lock error.
From chatting with Jeff about this a bit, it seems that --test does
what it has always done, and it "works" doing that, despite this
error. I haven't verified that personally, though it's on my list.
If I understood correctly, he also said this was due to some internal
changes in RPM and not due to something else (though I did not ask
This happens even with SELinux completely disabled
(In particular, I have tried rpm -ev --test boost).
Fixed in rpm-4.3.1-0.2 when built.
*** Bug 120496 has been marked as a duplicate of this bug. ***