[Spacewalk-list] Osad errors on Spacewalk 2.2 Server

Boyd, Robert Robert.Boyd at peoplefluent.com
Mon Feb 9 21:59:45 UTC 2015


I am using an NFS share as my storage for the spacewalk repositories under /var/satellite.  I discovered today that I needed to do these:

setsebool -P httpd_use_nfs 1
setsebool -P spacewalk_nfs_mountpoint 1

Those 2 adjustments resolved a number of problems that I was seeing.

I’m now successfully running rhnpush.

I found the fix while running “denied” entries in  /var/log/audit/audit.log through audit2why

type=AVC msg=audit(1423517214.815:213656): avc:  denied  { add_name } for  pid=25064 comm="httpd" name="Deployment_Guide-de-DE-5.8-1.el5-noarchTA2GNf" scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:nfs_t:s0 tclass=dir

        Was caused by:
        One of the following booleans was set incorrectly.
        Description:
        spacewalk_nfs_mountpoint

        Allow access by executing:
        # setsebool -P spacewalk_nfs_mountpoint 1
        Description:
        Allow httpd to access nfs file systems

        Allow access by executing:
        # setsebool -P httpd_use_nfs 1

Robert Boyd
Sr. Systems Engineer
PeopleFluent
p. 919-645-2972 | c. 919-306-4681
e. Robert.Boyd at PeopleFluent.com<mailto:robert.boyd at peoplefluent.com>

[http://mktg.peoplefluent.com/rs/peopleclick/images/140410_PF4colorLOGOx150.png]<http://www.peoplefluent.com/>
Click here<http://www.peoplefluent.com/> to experience the power of the new PeopleFluent Mirror Suite ™
Visit: www.peoplefluent.com<http://www.peoplefluent.com/> | Read: PeopleFluent Blog<http://peoplefluent.com/resources/peoplefluent-blog> | Follow: @PeopleFluent<http://twitter.com/peoplefluent>

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Boyd, Robert
Sent: Monday, February 09, 2015 3:45 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Osad errors on Spacewalk 2.2 Server

One issue turned out to be an SElinux issue with osa-dispatcher.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150209/f08f9846/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5805 bytes
Desc: image001.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150209/f08f9846/attachment.png>


More information about the Spacewalk-list mailing list