Bug 1679743 - changes to rhnsd need to be documented
Summary: changes to rhnsd need to be documented
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 2.9
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space210
TreeView+ depends on / blocked
 
Reported: 2019-02-21 18:26 UTC by Alastair Neil
Modified: 2020-03-19 12:16 UTC (History)
2 users (show)

Fixed In Version: rhnsd-5.0.46.1-1
Clone Of:
Environment:
Last Closed: 2020-03-19 12:16:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Alastair Neil 2019-02-21 18:26:15 UTC
Description of problem:
rhnsd was recently changed to be implemented via systemd timer, more work is needed:
 1) There is no documentation of this any where that I can find.
 2) The man page for rhnsd has outdated and now incorrect information 
 3) It is not clear if this will honour the documented /etc/sysconfig/rhn/rhnsd configuration where the INTERVAL could be set.
 4) systemctl status rhnsd shows the service as inactive (dead) - this is at best misleading at worse a system monitoring nightmare
 5) there seems to be no way to query systemd for information on the timer (systemctl list-timers --all shows nothing relevant)


Version-Release number of selected component (if applicable):
2.9

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
 see above

Expected results:
 see above

Additional info:

Comment 1 Simon_A 2019-07-08 11:59:13 UTC
I'd like to add support for this and hope it's bumped up the priority list.

I've just spent an hour chasing my tail trying to find out why rhn_check wasn't being called, and was comparing a new non-working system to an established one. Exactly as Alastair describes, I was misled by the documentation which told me to set intevals in  /etc/sysconfig/rhn/rhnsd  and of course the system I was comparing to was on Centos 6, so had that file. The new system did not.

Comment 2 Michael Mráka 2020-03-11 14:19:47 UTC
Part of this issue (enabling rhnsd timer by default) has been fixed by
commit 33d2927692c3e5d17c7e851515401a7c468f3a56
    install preset file
commit d96f083e7dd304c7e362cd7110d099c6b5f3109c
    Create 10-rhnsd.preset

Comment 3 Michael Mráka 2020-03-11 14:55:33 UTC
Man page fixed in
commit cbff89a9407117363a50eba49ee27e814197916a
    1679743 - updated manpage for rhnsd timer

Comment 4 Michael Mráka 2020-03-19 12:16:10 UTC
Spacewalk 2.10 has been released.
https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes210


Note You need to log in before you can comment on or make changes to this bug.