PDA

View Full Version : RHN check in time



cisaksen
31-Jan-2019, 19:32
We are running suma 3.2 and sles & sled 12 & 15. The file /etc/sysconfig/rhn/rhnsd has the rhn checkin time set to <INTERVAL=240 default> . We change it to 60 minutes. But every so often we notice that something is changing it back to 240 and creating the rpmsave file that contains the 60.

Is there anything we can do to stop this ? It's getting to be a pain to have to keep changing it back to 60. We want our server to check in every hour for schedule tasks. Whether they be patches, remote commands or reboots. 4 hours is too big a window.

Thanks

kwk
01-Feb-2019, 08:50
We are running suma 3.2 and sles & sled 12 & 15. The file /etc/sysconfig/rhn/rhnsd has the rhn checkin time set to <INTERVAL=240 default> . We change it to 60 minutes. But every so often we notice that something is changing it back to 240 and creating the rpmsave file that contains the 60.

This is a packaging bug and would qualify for a support request.



Is there anything we can do to stop this ? It's getting to be a pain to have to keep changing it back to 60. We want our server to check in every hour for schedule tasks. Whether they be patches, remote commands or reboots. 4 hours is too big a window.

You can either use 'osad' or switch to Salt.

barryrailton
06-Feb-2019, 21:56
Don't have a solution but as a workaround you could try making the file non-writable with something like "chmod -w /etc/sysconfig/rhn/rhnsd".