From Spacewalk server ( from UI), I could install packages on client only after executing "rhn_check" command on client; until then, it simply shows the action as pending. Date and time are synchronized. Keys are working fine. I didn't schedule it to later time. I selected "Schedule action as soon as possible".
Of course we can write a script or something, but obviously something is wrong. I don't want to wait for 4hrs either.
So
rhn_check(1)
is the program that queries the Spacewalk server, picking up pending actions, butrhnsd(8)
is the service that runsrhn_check
. I realize now that the "4 hrs" that you mention is the "240 minutes" mentioned in the man page:On my box:
As the man page mentions, the minimum is 60 minutes, which seems a tad unreasonable. I guess the best solution is to update
/etc/sysconfig/rhn/rhnsd
, settingINTERVAL
to60
.As kernelpanic says osad takes care of this.
make sure osad is installed and runnig. It requires TCP 5222 to the spacewalk from client system, and you can check witn
rhn-actions-control --report
weather the satellite is permitted to run run programs on the client.If you use osad in stead of
rhn_check
, then you can schedule activities from the spacewalk, and the connected nodes should pick up instantaniously. That's why I'd recommend enabling osad as well.The osad service enables instant push to Spacewalk clients.
On client system: