Il giorno lun, 19/11/2018 alle 13.05 -0500, Garry Williams ha scritto: Naw. No bug. systemd sends SIGTERM to each running process atshutdown time. If the process fails to exit, systemd then sends aSIGKILL.The shell ignores SIGTERM. Yes, ignore it I have try to kill my shell pid and nothing happen. I have try to kill $PPID (my parent process id "sshd: root@pts/0") and logout + history saved is happen then, systemd send SIGTERM to all process, and when sshd get it, close the shell ... how to close it if SIGTERM is ignored from it? when the system goes down, How does bash know that it must to save the history? I suspect the shell is terminated with a -9 I have try to recreate the issue with some reboot and poweroff the server for a while and the history is always saved. This morning I have work on server a while then reboot it and the last history it's go away, nothing has been saved. How to I get rid on this (my?) issue ? Many thanks -- Dario Lesca (inviato dal mio Linux Fedora 28 Workstation) |
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx