Red Hat Bugzilla – Bug 572534
[abrt] crash in authconfig-gtk-6.0.0-2.fc12: authinfo.py:993:backup:OSError: [Errno 13] Permission denied: '/var/lib/authconfig/last'
Last modified: 2010-09-15 07:42:35 EDT
abrt 1.0.8 detected a crash.
cmdline: /usr/bin/python /usr/share/authconfig/authconfig-gtk.py
reason: authinfo.py:993:backup:OSError: [Errno 13] Permission denied: '/var/lib/authconfig/last'
release: Fedora release 12 (Constantine)
authinfo.py:993:backup:OSError: [Errno 13] Permission denied: '/var/lib/authconfig/last'
Traceback (most recent call last):
File "/usr/share/authconfig/authconfig-gtk.py", line 781, in <module>
File "/usr/share/authconfig/authconfig-gtk.py", line 725, in apply
File "/usr/share/authconfig/authinfo.py", line 3324, in writeChanged
ret = ret and group.saveFunction()
File "/usr/share/authconfig/authinfo.py", line 2869, in writeNSS
File "/usr/share/authconfig/authinfo.py", line 993, in backup
OSError: [Errno 13] Permission denied: '/var/lib/authconfig/last'
Local variables in innermost frame:
self: <authinfo.FileBackup instance at 0x8a4352c>
Created attachment 399339 [details]
How did you run the authconfig-gtk command? Is there the /var/lib/authconfig/last directory?
Created attachment 399351 [details]
contents of /var/lib/authconfig/last
I tried authconfig first in gnome "System -> Administration -> Authentication" and then via command line when it kept crashing. I uploaded the contents of /var/lib/authconfig/last. I was trying to configure SSSD (very unsuccessfully) to authenticate against AD.
When you run it from System->Administration->Authentication - I suppose it did not spawn ABRT to report the bug?
And when you run it from command line - was that regular user command line or from the root account through su -?
Can you please try running it from su -? Because directly running it from regular user would mean that similar errors will occur, you obviously have to run it as root so it is able to write to the system configuration files.
You are correct, when I used the gui, ABRT didn't catch it.
And yes, I was a non-super user when I ran it via the commandline. I figured it wouldn't let me write to the config files, I didn't expect it to crash.
Running it as root (via command line works). However, I have since rebooted my machine (due to a yum update) and the gui works again. Sorry if this hurts your debugging efforts...
Unfortunately the crash when run from GUI was probably unrelated to this crash reported by ABRT. Though I will fix this so this exception is catched.
Ok, let me know if you need any additional information/logs.
OS Release: Fedora release 12 (Constantine)
How to reproduce
1.open system-config-authentication in GNOME
3.click on apply
The system is setup to do LDAP authentication. However, changing nothing seems to cause this crash.