[Spacewalk-list] Spacewalk 0.7 rhnsd not running rhn_check
Lee Verberne
verb at pontiflex.com
Fri Jan 22 20:08:33 UTC 2010
On 01/22/10 04:56:17, Joshua Roys wrote:
>
> Hello,
>
> I think rhnsd.c is merely checking for the existence of the systemid
> file, and then it calls rhn_check, which re-parses it out and uses
> it. (man rhn_check, man up2date)
>
> It's possible, though, that there's something wrong with the regex;
> if there were it would still prevent rhnsd from working properly.
> What are the contents of your /etc/sysconfig/rhn/up2date file?
> Specifically the systemIdPath line.
>
> Hope to help,
>
> Josh
# grep systemIdPath /etc/sysconfig/rhn/up2date
systemIdPath[comment]=Location of system id
systemIdPath=/etc/sysconfig/rhn/systemid
I went ahead and did an ltrace of my rhnsd. Notice the regcomp() but no
regexec():
time(NULL) = 1264176426
time(NULL) = 1264176426
memset(0x7fff730f08a0, '\000', 512) = 0x7fff730f08a0
access("/etc/sysconfig/rhn/up2date", 4) = 0
regcomp(0x7fff730f0430, 0x402638, 1, 0x402400, 0) = 0
fopen("/etc/sysconfig/rhn/up2date", "r") = 0xef22070
fgets("", 1930364064, 0xef22150) = 0x7fff730f04a0
__strncpy_chk(0x7fff730f08a0, 0x7fffe61e0940, 0, 512, 0x6e6f637379732f63) = 0x7fff730f08a0
access("", 4) = -1
__syslog_chk(7, 1, 0x402610, 0x7fff730f08a0, 0x7fff730f089f) = 0
time(NULL) = 1264176426
time(NULL) = 1264176426
time(NULL) = 1264176426
time(NULL) = 1264176426
time(NULL) = 1264176426
sleep(3600) = 0
More information about the Spacewalk-list
mailing list