mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
systemd: Suppress cpi service error message on SEL guests
On SEL guests, the default configuration does not permit the Control-Program Identifiation (CPI) data to be sent by the cpi service, resulting in a failure message in systemctl/log output on start of the cpi service. This is not a failure because it is expected behavior and the cpi service is a one-shot service whose function is already performed when the exit code is returned. Prevent the error log by filtering the associated exit code in systemd. Signed-off-by: Shalini Chellathurai Saroja <shalini@linux.ibm.com> Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
b1d8e40bfe
commit
a3d50487ed
@@ -43,5 +43,9 @@ EnvironmentFile=@sysconf_path@/sysconfig/cpi
|
||||
# Sending data to the HMC/SE
|
||||
ExecStart=@toolslib_path@/cpictl -e
|
||||
|
||||
# On SEL guests, do not send data by default and treat the respective
|
||||
# return code as success.
|
||||
SuccessExitStatus=NOTCONFIGURED
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user