Under Lorax 6.0.80 non-root users can no longer rpm -q
$ rpm -q kernel
failed to open //var/lib/rpm/packages.rpm
rpmQuery: rpmdbOpen() failed
This is with rpm-3.0.3-0.32 installed
Check perms on /var/lib/rpm/* files. If they are 000, this problem
(naively believing what the installer passes for permissions) has
been fixed. Otherwise, please reopen this bug.