So, that ran and produced a 0 byte file, and made sssd_kcm exit...

$ PROCESS=$(pidof sssd_kcm)
FILE=/tmp/talloc.$PROCESS
sudo gdb -quiet -batch -p $PROCESS \
    -ex "set \$file = (FILE*)fopen(\"$FILE\", \"w+\")" \
    -ex 'call (void) talloc_report_full(0, $file)' \
    -ex 'detach' \
    -ex 'quit' &> /dev/null

$ ls -l talloc.2201374
-rw-------. 1 root root 0 Feb  3 15:27 talloc.2201374

$ ps auxww|grep kcm
root     3140011  0.2  0.6  26848 10168 ?        Ss   15:27   0:00 
/usr/libexec/sssd/sssd_kcm --uid 0 --gid 0 --logger=files

Feb 03 15:27:46 server.example.com systemd[1]: sssd-kcm.service: Main process 
exited, code=exited, status=70/SOFTWARE
Feb 03 15:27:46 server.example.com systemd[1]: sssd-kcm.service: Failed with 
result 'exit-code'.
Feb 03 15:27:46 server.example.com systemd[1]: sssd-kcm.service: Consumed 32min 
33.153s CPU time.
Feb 03 15:27:46 server.example.com systemd[1]: Starting SSSD Kerberos Cache 
Manager...
Feb 03 15:27:46 server.example.com systemd[1]: Started SSSD Kerberos Cache 
Manager.

John
-- 
_______________________________________________
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to