Skip to content

Make the frequent klist silent (-s)

Steve Traylen requested to merge silent into master

Each time the aklog.service runs on the timer we log:

Aug 26 09:31:27 lxplus9116.cern.ch systemd[2142692]: Starting Renew Kerberos and aklog if aklog is installed...
Aug 26 09:31:27 lxplus9116.cern.ch klist[2148794]: Ticket cache: FILE:/run/user/16568/krb5cc
Aug 26 09:31:27 lxplus9116.cern.ch klist[2148794]: Default principal: straylen@CERN.CH
Aug 26 09:31:27 lxplus9116.cern.ch klist[2148794]: Valid starting       Expires              Service principal
Aug 26 09:31:27 lxplus9116.cern.ch klist[2148794]: 08/26/2024 09:19:59  08/27/2024 10:02:13  krbtgt/CERN.CH@CERN.CH
Aug 26 09:31:27 lxplus9116.cern.ch klist[2148794]:         renew until 08/31/2024 08:44:40
Aug 26 09:31:27 lxplus9116.cern.ch klist[2148794]: 08/26/2024 09:19:59  08/27/2024 10:02:13  afs/cern.ch@CERN.CH
Aug 26 09:31:27 lxplus9116.cern.ch klist[2148794]:         renew until 08/31/2024 08:44:40
Aug 26 09:31:27 lxplus9116.cern.ch klist[2148794]: 08/26/2024 09:19:59  08/27/2024 10:02:13  afs/cern.ch@CERN.CH
Aug 26 09:31:27 lxplus9116.cern.ch klist[2148794]:         renew until 08/31/2024 08:44:40
Aug 26 09:31:27 lxplus9116.cern.ch systemd[2142692]: Finished Renew Kerberos and aklog if aklog is installed.

make it quieter.

Merge request reports