abrt 1.0.8 detected a crash. architecture: i686 cmdline: /usr/bin/python /usr/share/authconfig/authconfig-gtk.py component: authconfig executable: /usr/share/authconfig/authconfig-gtk.py kernel: 2.6.32.9-70.fc12.i686 package: authconfig-gtk-6.0.0-2.fc12 reason: authinfo.py:993:backup:OSError: [Errno 13] Permission denied: '/var/lib/authconfig/last' release: Fedora release 12 (Constantine) backtrace ----- 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> module.apply(xml) File "/usr/share/authconfig/authconfig-gtk.py", line 725, in apply self.info.writeChanged(self.pristineinfo) 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 all_configs[CFG_NSSWITCH].backup(self.backupDir) File "/usr/share/authconfig/authinfo.py", line 993, in backup os.mkdir(destdir) OSError: [Errno 13] Permission denied: '/var/lib/authconfig/last' Local variables in innermost frame: rv: True destdir: '/var/lib/authconfig/last' err: 0 self: <authinfo.FileBackup instance at 0x8a4352c>
Created attachment 399339 [details] File: backtrace
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.
Package: authconfig-gtk-6.0.0-2.fc12 Architecture: x86_64 OS Release: Fedora release 12 (Constantine) How to reproduce ----- 1.open system-config-authentication in GNOME 2.change nothing 3.click on apply Comment ----- The system is setup to do LDAP authentication. However, changing nothing seems to cause this crash.