Ticket 4321 - Add option RemainAfterExit=no in systemd files
Summary: Add option RemainAfterExit=no in systemd files
Status: RESOLVED INVALID
Alias: None
Product: Slurm
Classification: Unclassified
Component: Other (show other tickets)
Version: 17.11.x
Hardware: Linux Linux
: 4 - Minor Issue
Assignee: Felip Moll
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2017-10-31 09:27 MDT by Mathis Clayer
Modified: 2018-01-17 06:55 MST (History)
2 users (show)

See Also:
Site: Atos/Eviden Sites
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: Grenoble
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments
Add option RemainAfterExit=no in systemd files (1.22 KB, patch)
2017-10-31 09:27 MDT, Mathis Clayer
Details | Diff

Note You need to log in before you can comment on or make changes to this ticket.
Description Mathis Clayer 2017-10-31 09:27:25 MDT
Created attachment 5472 [details]
Add option RemainAfterExit=no in systemd files

RemainAfterExit=
       Takes a boolean value that specifies whether the service shall be considered active even when all its processes exited. Defaults to no.

By switching between systemctl start slurmd or other service, and the command slurmd, the deamon could by seen as active for systemd with no process running.
Comment 1 Felip Moll 2017-10-31 10:54:12 MDT
Hello Mathis,

I don't see the point of adding this option if it defaults to 'no'.

Could you elaborate a little bit more?

Thanks,
Felip M
Comment 2 Felip Moll 2017-11-07 06:02:02 MST
Hi Mathis,

I am marking this bug as TIMEDOUT since we did not get a response within a week and I need more information to confirm this problem.

Open this bug again if you want to continue with it.

Best regards,
Felip M
Comment 3 Mathis Clayer 2018-01-17 03:07:32 MST
Hi,

You're right, there is no reason for adding this option.


Best regards.

Mathis C.
Comment 4 Felip Moll 2018-01-17 06:55:31 MST
Ok, marking as invalid then.