Re: ldap engine process needs cpath in pledge ?

2016-01-16 Thread Landry Breuil
On Sat, Jan 16, 2016 at 11:40:35AM +0100, Landry Breuil wrote: > Hi, > > playing with ldapd, i noticed that upon exit, the child process (ldape) > is aborted by pledge: > > ldapd(10229): syscall 10 "cpath" > > and /var/run/ldapi / ldapd.sock are left behind. > > ktracing and looking at the

ldap engine process needs cpath in pledge ?

2016-01-16 Thread Landry Breuil
Hi, playing with ldapd, i noticed that upon exit, the child process (ldape) is aborted by pledge: ldapd(10229): syscall 10 "cpath" and /var/run/ldapi / ldapd.sock are left behind. ktracing and looking at the code, it seems control_cleanup in control.c:117 tries to unlink the control socket,