You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our FreeIPA server 4.6.8-5 running on CentOS 7 recently had a problem. We couldn't start the dirsrv service. Investigation in the kernal log revealed a segfault.
7
+
8
+
```
9
+
[16540.924675] ns-slapd[16567]: segfault at 8 ip 00007faf8d341b49 sp 00007ffe84142820 error 4 in libipa_pwd_extop.so[7faf8d332000+2d000]
10
+
```
11
+
12
+
There was <ahref="https://freeipa-users.redhat.narkive.com/fpMjXHxI/ns-slapd-hang-segfault"target="_blank">a mailing list thread</a> from about 10 years ago which described a similar segfault. The problem here was some bad formatting in a /etc/krb5.conf file.
13
+
14
+
Our file didn't have any such issues, but I did notice our file was including some directories:
15
+
```
16
+
includedir /etc/krb5.conf.d/
17
+
includedir /var/lib/sss/pubconf/krb5.include.d/
18
+
```
19
+
20
+
Looking into that second include, I noticed a new file was added recently:
21
+
```
22
+
root@corp-idm02:/var/lib/sss/pubconf/krb5.include.d# ls -ltr
23
+
total 12
24
+
-rw-------. 1 root root 0 Aug 27 10:26 localauth_pluginGts2pi
That `localauth_pluginGts2pi` file was empty and had weird permissions. I ended up removing the file, perhaps fixing the permissions would have solved it as well. This allowed dirsrv to start.
0 commit comments