rpm won't run as root

Net Llama! netllama
Mon May 17 11:51:00 PDT 2004


On Thu, 14 Aug 2003, Michael Hipp wrote:
> Net Llama! wrote:
> > Does this behavior persist even after a reboot?
>
> Well, looks like it was solved it with a reboot. Weird. I can understand
> something having it locked. But a regular user being able to read the db
> while root can't seems strange.

Not really.  As I mentioned, root is the only user that gets a true lock
on the database, as root is the only user that can write to the database.
So, the others really don't care about open file handles and the like.
You could have prolly fixed this by grepping the output from lsof to see
what was currently locking the db.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com


More information about the Linux-users mailing list