Red Hat Bugzilla – Bug 387801
pirut crash when run as non-root, after package selection
Last modified: 2007-12-31 09:52:01 EST
Description of problem:
Pirut crashes when run as a non-root user due to permission denied exception.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run pirut as a non-root user
2. Select some package to add
3. Start the install process
Some kind of error message when starting pirut as non-root, or use the helper
GUI to elevate to root like other apps do.
By the way, does Pirut show up in the Gnome menus? I couldn't find it anywhere,
so launched it from a terminal window.
I can add a backtrace if you need; it'll be a while since pirut's running (as
root!) right now...
Whoops, I had commented out the check for running as root to do some testing.
It's not quite ready to run in that mode yet, though. Running /usr/bin/pirut,
though, should invoke consolehelper to run it as root
Also, it's "Add/Remove Software" in the menus.
Ah. I had uncommented the code in /etc/profile that adds /*/sbin into my PATH
for non-root users, because it was annoying not having those PATH entries e.g.
for ifconfig. This explains why /usr/sbin/pirut ran instead of /usr/bin/pirut.
New versions of pirut have been released that should address these issues