Discussion:
[Spacewalk-list] System not checking in with Spacewalk
Ananda Arifianto
2018-10-02 03:05:19 UTC
Permalink
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Thomas Müller
2018-10-02 07:31:15 UTC
Permalink
Hi,
If a „rhn_check“ does the job right and you can see these clients in SW create a cronjob to call rhn_check periodically

Kind regards,
Thomas MÃŒller
Post by Ananda Arifianto
Hi Guys,
Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..
Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
_______________________________________________
Spacewalk-list mailing list
https://www.redhat.com/mailman/listinfo/spacewalk-list
Ananda Arifianto
2018-10-02 10:50:18 UTC
Permalink
Hi Thomas,

Thank you for your information, now it’s running using cronjob.
I’ve created cronjob to execute rhn_check every 1 minute.


Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Thomas MÃŒller
Sent: Tuesday, October 02, 2018 2:31 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Hi,
If a „rhn_check“ does the job right and you can see these clients in SW create a cronjob to call rhn_check periodically

Kind regards,
Thomas MÃŒller


Am 02.10.2018 um 05:05 schrieb Ananda Arifianto <***@danamon.co.id<mailto:***@danamon.co.id>>:
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
_______________________________________________
Spacewalk-list mailing list
Spacewalk-***@redhat.com<mailto:Spacewalk-***@redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Radovan Drazny
2018-10-02 12:02:25 UTC
Permalink
Hello Ananda

Running rhn_check every single minute is not the best idea. I don't know how
many clients are served by your SW server, but performance wise it would be
much better to use a longer interval (one hour at least), and in addition
spread the load - do not let all clients to run rhn_check at the same time.
Either you can use the RANDOM_DELAY cron variable, or use something like
'sleep $(($RANDOM%60))m;rhn_check' in the command definition in cron.
--
Radovan
Post by Ananda Arifianto
Hi Thomas,
Thank you for your information, now it’s running using cronjob.
I’ve created cronjob to execute rhn_check every 1 minute.
Best Regards,
Ananda Arifianto
Sent: Tuesday, October 02, 2018 2:31 PM
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk
Hi,
If a „rhn_check“ does the job right and you can see these clients in SW
create a cronjob to call rhn_check periodically
Kind regards,
Thomas Müller
Am 02.10.2018 um 05:05 schrieb Ananda Arifianto
Hi Guys,
Some of our clients show that system not checking in with Spacewalk, Last
checked in was on Friday.
What is the solution for this problem?
Post by Ananda Arifianto
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..
Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly
for the addressee/s. If you receive this e-mail in error, please notify the
sender and delete it immediately. Copying and/or disseminating the contents
are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible
for the accuracy or completeness of this email and any views expressed
herein do not necessarily reflect the views of PT Bank Danamon Indonesia,
Tbk.
_______________________________________________
Post by Ananda Arifianto
Spacewalk-list mailing list
https://www.redhat.com/mailman/listinfo/spacewalk-list
The information in this e-mail is confidential and is transmitted strictly
for the addressee/s. If you receive this e-mail in error, please notify the
sender and delete it immediately. Copying and/or disseminating the contents
are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible
for the accuracy or completeness of this email and any views expressed
herein do not necessarily reflect the views of PT Bank Danamon Indonesia,
Tbk.
Ananda Arifianto
2018-10-04 03:57:04 UTC
Permalink
Hi Radovan,

Thank you for the advice :)

Best Regards,

Ananda Arifianto


-----Original Message-----
From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Radovan Drazny
Sent: Tuesday, October 02, 2018 7:02 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Hello Ananda

Running rhn_check every single minute is not the best idea. I don't know how
many clients are served by your SW server, but performance wise it would be
much better to use a longer interval (one hour at least), and in addition
spread the load - do not let all clients to run rhn_check at the same time.
Either you can use the RANDOM_DELAY cron variable, or use something like
'sleep $(($RANDOM%60))m;rhn_check' in the command definition in cron.
--
Radovan
Post by Ananda Arifianto
Hi Thomas,
Thank you for your information, now it’s running using cronjob.
I’ve created cronjob to execute rhn_check every 1 minute.
Best Regards,
Ananda Arifianto
Sent: Tuesday, October 02, 2018 2:31 PM
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk
Hi,
If a „rhn_check“ does the job right and you can see these clients in SW
create a cronjob to call rhn_check periodically
Kind regards,
Thomas Müller
Am 02.10.2018 um 05:05 schrieb Ananda Arifianto
Hi Guys,
Some of our clients show that system not checking in with Spacewalk, Last
checked in was on Friday.
What is the solution for this problem?
Post by Ananda Arifianto
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..
Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly
for the addressee/s. If you receive this e-mail in error, please notify the
sender and delete it immediately. Copying and/or disseminating the contents
are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible
for the accuracy or completeness of this email and any views expressed
herein do not necessarily reflect the views of PT Bank Danamon Indonesia,
Tbk.
_______________________________________________
Post by Ananda Arifianto
Spacewalk-list mailing list
https://www.redhat.com/mailman/listinfo/spacewalk-list
The information in this e-mail is confidential and is transmitted strictly
for the addressee/s. If you receive this e-mail in error, please notify the
sender and delete it immediately. Copying and/or disseminating the contents
are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible
for the accuracy or completeness of this email and any views expressed
herein do not necessarily reflect the views of PT Bank Danamon Indonesia,
Tbk.
Jason W. Lewis
2018-10-02 10:23:24 UTC
Permalink
Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Ananda Arifianto
2018-10-02 10:51:26 UTC
Permalink
Hi Jason,

There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that I can pull the package from spacewalk server.

Thanks..

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 5:23 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Jason W. Lewis
2018-10-02 12:36:53 UTC
Permalink
I saw that, and I hope it works well for you.

That said, if you recently upgraded to 2.8, an SELinux context setting does keep rhn_check from running. Changing the context for the new binary fixes it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Tuesday, October 2, 2018 at 6:51 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that I can pull the package from spacewalk server.

Thanks..

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 5:23 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Ananda Arifianto
2018-10-04 06:39:27 UTC
Permalink
Hi Jason,

Yes, you’re right. I just upgraded to 2.8.
All clients are check in, but now the spacewalk server itself show that it’s not checked in.
When I try to run rhn_check, there is an error “ERROR: unable to read system id”
What can I do to resolve this?

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 7:37 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

I saw that, and I hope it works well for you.

That said, if you recently upgraded to 2.8, an SELinux context setting does keep rhn_check from running. Changing the context for the new binary fixes it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Tuesday, October 2, 2018 at 6:51 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that I can pull the package from spacewalk server.

Thanks..

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 5:23 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Robert Paschedag
2018-10-04 08:41:58 UTC
Permalink
Post by Ananda Arifianto
Hi Jason,
Yes, you’re right. I just upgraded to 2.8.
All clients are check in, but now the spacewalk server itself show that
it’s not checked in.
When I try to run rhn_check, there is an error “ERROR: unable to read
system id”
What can I do to resolve this?
The spacewalk server is normally not a client of itself!

So no problem.

Robert
Post by Ananda Arifianto
Best Regards,
Ananda Arifianto
Sent: Tuesday, October 02, 2018 7:37 PM
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk
I saw that, and I hope it works well for you.
That said, if you recently upgraded to 2.8, an SELinux context setting
does keep rhn_check from running. Changing the context for the new
chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7
For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Date: Tuesday, October 2, 2018 at 6:51 AM
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk
**Attention**
The following message was received from outside the Micro Electronics
network. Carefully examine it before you open any links or attachments.
--------------------------
Hi Jason,
There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that
I can pull the package from spacewalk server.
Thanks..
Best Regards,
Ananda Arifianto
Sent: Tuesday, October 02, 2018 5:23 PM
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk
Ananda,
You’ll have to provide more info; that’s not a lot to go on. What
changed between Friday and today?
--
Jason Lewis
Date: Monday, October 1, 2018 at 11:06 PM
Subject: [Spacewalk-list] System not checking in with Spacewalk
**Attention**
The following message was received from outside the Micro Electronics
network. Carefully examine it before you open any links or attachments.
--------------------------
Hi Guys,
Some of our clients show that system not checking in with Spacewalk,
Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..
Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted
strictly for the addressee/s. If you receive this e-mail in error,
please notify the sender and delete it immediately. Copying and/or
disseminating the contents are prohibited. PT Bank Danamon Indonesia,
Tbk. shall not be responsible for the accuracy or completeness of this
email and any views expressed herein do not necessarily reflect the
views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted
strictly for the addressee/s. If you receive this e-mail in error,
please notify the sender and delete it immediately. Copying and/or
disseminating the contents are prohibited. PT Bank Danamon Indonesia,
Tbk. shall not be responsible for the accuracy or completeness of this
email and any views expressed herein do not necessarily reflect the
views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted
strictly for the addressee/s. If you receive this e-mail in error,
please notify the sender and delete it immediately. Copying and/or
disseminating the contents are prohibited. PT Bank Danamon Indonesia,
Tbk. shall not be responsible for the accuracy or completeness of this
email and any views expressed herein do not necessarily reflect the
views of PT Bank Danamon Indonesia, Tbk.
--
sent from my mobile device
Ananda Arifianto
2018-10-04 08:45:41 UTC
Permalink
Hi Robert,

Thank you for the info.
But, now I can't check actual errata or updates that need to be updated for my sw server.
For the rest of all client is fine.

Best Regards,

Ananda Arifianto

-----Original Message-----
From: Robert Paschedag [mailto:***@web.de]
Sent: Thursday, October 04, 2018 3:42 PM
To: spacewalk-***@redhat.com; Ananda Arifianto; spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk
Post by Ananda Arifianto
Hi Jason,
Yes, you’re right. I just upgraded to 2.8.
All clients are check in, but now the spacewalk server itself show that
it’s not checked in.
When I try to run rhn_check, there is an error “ERROR: unable to read
system id”
What can I do to resolve this?
The spacewalk server is normally not a client of itself!

So no problem.

Robert
Post by Ananda Arifianto
Best Regards,
Ananda Arifianto
Sent: Tuesday, October 02, 2018 7:37 PM
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk
I saw that, and I hope it works well for you.
That said, if you recently upgraded to 2.8, an SELinux context setting
does keep rhn_check from running. Changing the context for the new
chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7
For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Date: Tuesday, October 2, 2018 at 6:51 AM
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk
**Attention**
The following message was received from outside the Micro Electronics
network. Carefully examine it before you open any links or attachments.
--------------------------
Hi Jason,
There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that
I can pull the package from spacewalk server.
Thanks..
Best Regards,
Ananda Arifianto
Sent: Tuesday, October 02, 2018 5:23 PM
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk
Ananda,
You’ll have to provide more info; that’s not a lot to go on. What
changed between Friday and today?
--
Jason Lewis
Date: Monday, October 1, 2018 at 11:06 PM
Subject: [Spacewalk-list] System not checking in with Spacewalk
**Attention**
The following message was received from outside the Micro Electronics
network. Carefully examine it before you open any links or attachments.
--------------------------
Hi Guys,
Some of our clients show that system not checking in with Spacewalk,
Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..
Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted
strictly for the addressee/s. If you receive this e-mail in error,
please notify the sender and delete it immediately. Copying and/or
disseminating the contents are prohibited. PT Bank Danamon Indonesia,
Tbk. shall not be responsible for the accuracy or completeness of this
email and any views expressed herein do not necessarily reflect the
views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted
strictly for the addressee/s. If you receive this e-mail in error,
please notify the sender and delete it immediately. Copying and/or
disseminating the contents are prohibited. PT Bank Danamon Indonesia,
Tbk. shall not be responsible for the accuracy or completeness of this
email and any views expressed herein do not necessarily reflect the
views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted
strictly for the addressee/s. If you receive this e-mail in error,
please notify the sender and delete it immediately. Copying and/or
disseminating the contents are prohibited. PT Bank Danamon Indonesia,
Tbk. shall not be responsible for the accuracy or completeness of this
email and any views expressed herein do not necessarily reflect the
views of PT Bank Danamon Indonesia, Tbk.
--
sent from my mobile device
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Ananda Arifianto
2018-10-04 08:39:20 UTC
Permalink
Hi Team,

I also found our SW clients that have issue with check-in problem, all are in virtual environment.
For the physical server, we didn’t find check-in problem. Even I don’t need to create the cronjob for running rhn_check.

Best Regards,

Ananda Arifianto

From: Ananda Arifianto
Sent: Thursday, October 04, 2018 1:39 PM
To: spacewalk-***@redhat.com
Subject: RE: [Spacewalk-list] System not checking in with Spacewalk

Hi Jason,

Yes, you’re right. I just upgraded to 2.8.
All clients are check in, but now the spacewalk server itself show that it’s not checked in.
When I try to run rhn_check, there is an error “ERROR: unable to read system id”
What can I do to resolve this?

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 7:37 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

I saw that, and I hope it works well for you.

That said, if you recently upgraded to 2.8, an SELinux context setting does keep rhn_check from running. Changing the context for the new binary fixes it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Tuesday, October 2, 2018 at 6:51 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that I can pull the package from spacewalk server.

Thanks..

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 5:23 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Jason W. Lewis
2018-10-04 12:50:01 UTC
Permalink
Ananda,
If you run ‘yum update’ on the server, does that update it?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Thursday, October 4, 2018 at 4:40 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Team,

I also found our SW clients that have issue with check-in problem, all are in virtual environment.
For the physical server, we didn’t find check-in problem. Even I don’t need to create the cronjob for running rhn_check.

Best Regards,

Ananda Arifianto

From: Ananda Arifianto
Sent: Thursday, October 04, 2018 1:39 PM
To: spacewalk-***@redhat.com
Subject: RE: [Spacewalk-list] System not checking in with Spacewalk

Hi Jason,

Yes, you’re right. I just upgraded to 2.8.
All clients are check in, but now the spacewalk server itself show that it’s not checked in.
When I try to run rhn_check, there is an error “ERROR: unable to read system id”
What can I do to resolve this?

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 7:37 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

I saw that, and I hope it works well for you.

That said, if you recently upgraded to 2.8, an SELinux context setting does keep rhn_check from running. Changing the context for the new binary fixes it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Tuesday, October 2, 2018 at 6:51 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that I can pull the package from spacewalk server.

Thanks..

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 5:23 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Ananda Arifianto
2018-10-08 03:49:50 UTC
Permalink
Hi Jason,

For the ‘yum update’, our clients can receive the updates.
Today some clients show the same error again, System not checking in with Spacewalk.
The only workaround that can be resolved this issue is running rhn_check

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Thursday, October 04, 2018 7:50 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
If you run ‘yum update’ on the server, does that update it?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Thursday, October 4, 2018 at 4:40 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Team,

I also found our SW clients that have issue with check-in problem, all are in virtual environment.
For the physical server, we didn’t find check-in problem. Even I don’t need to create the cronjob for running rhn_check.

Best Regards,

Ananda Arifianto

From: Ananda Arifianto
Sent: Thursday, October 04, 2018 1:39 PM
To: spacewalk-***@redhat.com
Subject: RE: [Spacewalk-list] System not checking in with Spacewalk

Hi Jason,

Yes, you’re right. I just upgraded to 2.8.
All clients are check in, but now the spacewalk server itself show that it’s not checked in.
When I try to run rhn_check, there is an error “ERROR: unable to read system id”
What can I do to resolve this?

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 7:37 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

I saw that, and I hope it works well for you.

That said, if you recently upgraded to 2.8, an SELinux context setting does keep rhn_check from running. Changing the context for the new binary fixes it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Tuesday, October 2, 2018 at 6:51 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that I can pull the package from spacewalk server.

Thanks..

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 5:23 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Jason W. Lewis
2018-10-09 19:12:32 UTC
Permalink
Ananda,
That sounds just like what I ran into after the 2.8 upgrade: yum commands worked, but the client systems never checked in with Spacewalk, and therefore never picked up their scheduled tasks. So, I suspect you’re running into the same thing I did – SELinux on the client systems doesn’t have a rule for the new file in /sbin (rhn-check-2.7), and isn’t allowing the program to run.

Are the client systems where you’re running into this CentOS 7 or RHEL 7? (Or the corresponding version of Fedora?) If so, this command will add a rule for rhn_check-2.7 and will allow it to run. Run it on every CentOS/RHEL 7 system that has the new Spacewalk 2.8 client on it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

That will tell SELinux that the program is allowed to execute. Once that’s done, your client systems should begin checking into Spacewalk again.

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Sunday, October 7, 2018 at 11:50 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

For the ‘yum update’, our clients can receive the updates.
Today some clients show the same error again, System not checking in with Spacewalk.
The only workaround that can be resolved this issue is running rhn_check

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Thursday, October 04, 2018 7:50 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
If you run ‘yum update’ on the server, does that update it?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Thursday, October 4, 2018 at 4:40 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Team,

I also found our SW clients that have issue with check-in problem, all are in virtual environment.
For the physical server, we didn’t find check-in problem. Even I don’t need to create the cronjob for running rhn_check.

Best Regards,

Ananda Arifianto

From: Ananda Arifianto
Sent: Thursday, October 04, 2018 1:39 PM
To: spacewalk-***@redhat.com
Subject: RE: [Spacewalk-list] System not checking in with Spacewalk

Hi Jason,

Yes, you’re right. I just upgraded to 2.8.
All clients are check in, but now the spacewalk server itself show that it’s not checked in.
When I try to run rhn_check, there is an error “ERROR: unable to read system id”
What can I do to resolve this?

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 7:37 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

I saw that, and I hope it works well for you.

That said, if you recently upgraded to 2.8, an SELinux context setting does keep rhn_check from running. Changing the context for the new binary fixes it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Tuesday, October 2, 2018 at 6:51 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that I can pull the package from spacewalk server.

Thanks..

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 5:23 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Ananda Arifianto
2018-10-11 10:44:03 UTC
Permalink
Hi Jason,

All of our clients are RHEL.
So, when I register new client to spacewalk, I must add 1 more step as below?
chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

So that our clients will synchron with spacewalk server.

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Wednesday, October 10, 2018 2:13 AM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
That sounds just like what I ran into after the 2.8 upgrade: yum commands worked, but the client systems never checked in with Spacewalk, and therefore never picked up their scheduled tasks. So, I suspect you’re running into the same thing I did – SELinux on the client systems doesn’t have a rule for the new file in /sbin (rhn-check-2.7), and isn’t allowing the program to run.

Are the client systems where you’re running into this CentOS 7 or RHEL 7? (Or the corresponding version of Fedora?) If so, this command will add a rule for rhn_check-2.7 and will allow it to run. Run it on every CentOS/RHEL 7 system that has the new Spacewalk 2.8 client on it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

That will tell SELinux that the program is allowed to execute. Once that’s done, your client systems should begin checking into Spacewalk again.

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Sunday, October 7, 2018 at 11:50 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

For the ‘yum update’, our clients can receive the updates.
Today some clients show the same error again, System not checking in with Spacewalk.
The only workaround that can be resolved this issue is running rhn_check

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Thursday, October 04, 2018 7:50 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
If you run ‘yum update’ on the server, does that update it?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Thursday, October 4, 2018 at 4:40 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Team,

I also found our SW clients that have issue with check-in problem, all are in virtual environment.
For the physical server, we didn’t find check-in problem. Even I don’t need to create the cronjob for running rhn_check.

Best Regards,

Ananda Arifianto

From: Ananda Arifianto
Sent: Thursday, October 04, 2018 1:39 PM
To: spacewalk-***@redhat.com
Subject: RE: [Spacewalk-list] System not checking in with Spacewalk

Hi Jason,

Yes, you’re right. I just upgraded to 2.8.
All clients are check in, but now the spacewalk server itself show that it’s not checked in.
When I try to run rhn_check, there is an error “ERROR: unable to read system id”
What can I do to resolve this?

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 7:37 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

I saw that, and I hope it works well for you.

That said, if you recently upgraded to 2.8, an SELinux context setting does keep rhn_check from running. Changing the context for the new binary fixes it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Tuesday, October 2, 2018 at 6:51 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that I can pull the package from spacewalk server.

Thanks..

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 5:23 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Jason W. Lewis
2018-10-11 12:57:43 UTC
Permalink
Hi Ananda,
That is correct. You just need to run that command on each RHEL 7 client that has the Spacewalk 2.8 client installed and it will be able to check in with Spacewalk again. If Red Hat pushes out a new SELinux policy, you may need to run that command again after installing the policy package.

Good luck!
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Thursday, October 11, 2018 at 6:45 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

All of our clients are RHEL.
So, when I register new client to spacewalk, I must add 1 more step as below?
chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

So that our clients will synchron with spacewalk server.

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Wednesday, October 10, 2018 2:13 AM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
That sounds just like what I ran into after the 2.8 upgrade: yum commands worked, but the client systems never checked in with Spacewalk, and therefore never picked up their scheduled tasks. So, I suspect you’re running into the same thing I did – SELinux on the client systems doesn’t have a rule for the new file in /sbin (rhn-check-2.7), and isn’t allowing the program to run.

Are the client systems where you’re running into this CentOS 7 or RHEL 7? (Or the corresponding version of Fedora?) If so, this command will add a rule for rhn_check-2.7 and will allow it to run. Run it on every CentOS/RHEL 7 system that has the new Spacewalk 2.8 client on it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

That will tell SELinux that the program is allowed to execute. Once that’s done, your client systems should begin checking into Spacewalk again.

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Sunday, October 7, 2018 at 11:50 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

For the ‘yum update’, our clients can receive the updates.
Today some clients show the same error again, System not checking in with Spacewalk.
The only workaround that can be resolved this issue is running rhn_check

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Thursday, October 04, 2018 7:50 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
If you run ‘yum update’ on the server, does that update it?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Thursday, October 4, 2018 at 4:40 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Team,

I also found our SW clients that have issue with check-in problem, all are in virtual environment.
For the physical server, we didn’t find check-in problem. Even I don’t need to create the cronjob for running rhn_check.

Best Regards,

Ananda Arifianto

From: Ananda Arifianto
Sent: Thursday, October 04, 2018 1:39 PM
To: spacewalk-***@redhat.com
Subject: RE: [Spacewalk-list] System not checking in with Spacewalk

Hi Jason,

Yes, you’re right. I just upgraded to 2.8.
All clients are check in, but now the spacewalk server itself show that it’s not checked in.
When I try to run rhn_check, there is an error “ERROR: unable to read system id”
What can I do to resolve this?

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 7:37 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

I saw that, and I hope it works well for you.

That said, if you recently upgraded to 2.8, an SELinux context setting does keep rhn_check from running. Changing the context for the new binary fixes it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Tuesday, October 2, 2018 at 6:51 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that I can pull the package from spacewalk server.

Thanks..

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 5:23 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Ananda Arifianto
2018-10-12 08:47:43 UTC
Permalink
Hi Jason,

Thanks for your advice.
All of our vm clients are good now.

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Thursday, October 11, 2018 7:58 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Hi Ananda,
That is correct. You just need to run that command on each RHEL 7 client that has the Spacewalk 2.8 client installed and it will be able to check in with Spacewalk again. If Red Hat pushes out a new SELinux policy, you may need to run that command again after installing the policy package.

Good luck!
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Thursday, October 11, 2018 at 6:45 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

All of our clients are RHEL.
So, when I register new client to spacewalk, I must add 1 more step as below?
chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

So that our clients will synchron with spacewalk server.

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Wednesday, October 10, 2018 2:13 AM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
That sounds just like what I ran into after the 2.8 upgrade: yum commands worked, but the client systems never checked in with Spacewalk, and therefore never picked up their scheduled tasks. So, I suspect you’re running into the same thing I did – SELinux on the client systems doesn’t have a rule for the new file in /sbin (rhn-check-2.7), and isn’t allowing the program to run.

Are the client systems where you’re running into this CentOS 7 or RHEL 7? (Or the corresponding version of Fedora?) If so, this command will add a rule for rhn_check-2.7 and will allow it to run. Run it on every CentOS/RHEL 7 system that has the new Spacewalk 2.8 client on it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

That will tell SELinux that the program is allowed to execute. Once that’s done, your client systems should begin checking into Spacewalk again.

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Sunday, October 7, 2018 at 11:50 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

For the ‘yum update’, our clients can receive the updates.
Today some clients show the same error again, System not checking in with Spacewalk.
The only workaround that can be resolved this issue is running rhn_check

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Thursday, October 04, 2018 7:50 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
If you run ‘yum update’ on the server, does that update it?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Thursday, October 4, 2018 at 4:40 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Team,

I also found our SW clients that have issue with check-in problem, all are in virtual environment.
For the physical server, we didn’t find check-in problem. Even I don’t need to create the cronjob for running rhn_check.

Best Regards,

Ananda Arifianto

From: Ananda Arifianto
Sent: Thursday, October 04, 2018 1:39 PM
To: spacewalk-***@redhat.com
Subject: RE: [Spacewalk-list] System not checking in with Spacewalk

Hi Jason,

Yes, you’re right. I just upgraded to 2.8.
All clients are check in, but now the spacewalk server itself show that it’s not checked in.
When I try to run rhn_check, there is an error “ERROR: unable to read system id”
What can I do to resolve this?

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 7:37 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

I saw that, and I hope it works well for you.

That said, if you recently upgraded to 2.8, an SELinux context setting does keep rhn_check from running. Changing the context for the new binary fixes it:

chcon system_u:object_r:rpm_exec_t:s0 /sbin/rhn_check-2.7

For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1584255
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Tuesday, October 2, 2018 at 6:51 AM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Jason,

There is no change between that window.
But, I have created the cronjob to regularly execute rhn_check, so that I can pull the package from spacewalk server.

Thanks..

Best Regards,

Ananda Arifianto

From: spacewalk-list-***@redhat.com [mailto:spacewalk-list-***@redhat.com] On Behalf Of Jason W. Lewis
Sent: Tuesday, October 02, 2018 5:23 PM
To: spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] System not checking in with Spacewalk

Ananda,
You’ll have to provide more info; that’s not a lot to go on. What changed between Friday and today?
--
Jason Lewis
Senior Systems Engineer @ Micro Electronics, Inc.
P: (614) 777-2728 | E: ***@microcenter.com<mailto:***@microcenter.com>


From: <spacewalk-list-***@redhat.com> on behalf of Ananda Arifianto <***@danamon.co.id>
Reply-To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Date: Monday, October 1, 2018 at 11:06 PM
To: "spacewalk-***@redhat.com" <spacewalk-***@redhat.com>
Subject: [Spacewalk-list] System not checking in with Spacewalk

**Attention**
The following message was received from outside the Micro Electronics network. Carefully examine it before you open any links or attachments.

--------------------------
Hi Guys,

Some of our clients show that system not checking in with Spacewalk, Last checked in was on Friday.
What is the solution for this problem?
Is it need to change the interval time in rhnsd.conf?
Thank you in advance..

Best Regards,
Ananda Arifianto
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
The information in this e-mail is confidential and is transmitted strictly for the addressee/s. If you receive this e-mail in error, please notify the sender and delete it immediately. Copying and/or disseminating the contents are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the accuracy or completeness of this email and any views expressed herein do not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
Continue reading on narkive:
Loading...