Re: Fedora Server 29 do not store last history when reboot without logout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il giorno lun, 19/11/2018 alle 13.05 -0500, Garry Williams ha scritto:
Naw.  No bug.  systemd sends SIGTERM to each running process at
shutdown time.  If the process fails to exit, systemd then sends a
SIGKILL.

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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux