Menu

#2706 base: Add KillMode=none to opensafd.service

5.18.02
fixed
None
defect
base
-
major
False
2018-02-02
2017-11-27
No

It is a problem that systemd starts sending sigterm to opensaf services at shutdown instead
of running opensafd stop, configuring KillMode=none solves this problem:

2017-11-24 14:50:47.302 SC-1 osafsmfnd[289]: NO Successful start of command execution: reboot, timeout 300000
2017-11-24 14:50:47.325 SC-1 osafckptd[435]: Started
2017-11-24 14:50:47.352 SC-1 osafamfnd[267]: NO 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF' Presence State INSTANTIATING => INSTANTIATED
2017-11-24 14:50:47.354 SC-1 osafamfnd[267]: NO Assigning 'safSi=NoRed1,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
2017-11-24 14:50:47.355 SC-1 osafamfnd[267]: NO Assigned 'safSi=NoRed1,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
2017-11-24 14:50:47.507 SC-1 systemd[1]: Stopped Stop ureadahead data collection 45s after completed startup.
2017-11-24 14:50:47.508 SC-1 systemd[1]: Stopped target Timers.
2017-11-24 14:50:47.508 SC-1 systemd[1]: Stopped Daily Cleanup of Temporary Directories.
2017-11-24 14:50:47.508 SC-1 systemd[1]: Stopped Daily apt activities.
2017-11-24 14:50:47.527 SC-1 systemd[1]: Stopped target System Time Synchronized.
2017-11-24 14:50:47.528 SC-1 systemd[1]: Removed slice system-getty.slice.
2017-11-24 14:50:47.528 SC-1 systemd[1]: Stopped Update UTMP about System Runlevel Changes.
2017-11-24 14:50:47.531 SC-1 systemd[1]: Stopped target Graphical Interface.
2017-11-24 14:50:47.531 SC-1 osafimmnd[213]: exiting for shutdown, (sigterm from pid 1 uid 0)
2017-11-24 14:50:47.531 SC-1 systemd[1]: Stopped target Multi-User System.
2017-11-24 14:50:47.531 SC-1 osafamfwd[369]: exiting for shutdown, (sigterm from pid 1 uid 0)
2017-11-24 14:50:47.535 SC-1 systemd[1]: Stopping LSB: Execute rc.shared under $SHAREDFOLDER...
2017-11-24 14:50:47.535 SC-1 osafclmna[174]: exiting for shutdown, (sigterm from pid 1 uid 0)
2017-11-24 14:50:47.535 SC-1 systemd[1]: Stopped IMM-XML RPC Daemon.
2017-11-24 14:50:47.535 SC-1 opensafd[111]: Starting OpenSAF Services (Using TIPC):Terminated
2017-11-24 14:50:47.535 SC-1 osafclmd[247]: exiting for shutdown, (sigterm from pid 1 uid 0)
2017-11-24 14:50:47.536 SC-1 systemd[1]: Stopping LSB: Set the CPU Frequency Scaling governor to "ondemand"...
2017-11-24 14:50:47.536 SC-1 osafamfnd[267]: NO Shutdown initiated
2017-11-24 14:50:47.536 SC-1 systemd[1]: Stopping OpenBSD Secure Shell server...
2017-11-24 14:50:47.536 SC-1 osafamfnd[267]: NO Terminating all AMF components
2017-11-24 14:50:47.538 SC-1 systemd[1]: Stopped target Login Prompts.
201

Related

Wiki: ChangeLog-5.18.02

Discussion

  • Hans Nordebäck

    Hans Nordebäck - 2017-11-29
    • status: review --> fixed
     
  • Hans Nordebäck

    Hans Nordebäck - 2017-11-29

    commit 3e4fc29bae0858081fe990238ee0a2d8e024b7ad
    Author: Hans Nordeback hans.nordeback@ericsson.com
    Date: Wed Nov 29 08:50:33 2017 +0100

    base: Add KillMode=none to opensafd.service [#2706]
    

    commit 0dc1e24f4cd6cec90676786746fc1fb7046a0ed8
    Author: Hans Nordeback hans.nordeback@ericsson.com
    Date: Wed Nov 29 08:50:33 2017 +0100

    base: Add KillMode=none to opensafd.service [#2706]
    
     

Log in to post a comment.