Re: How to build clamav SRPM and RPM with calmav tarbal - CentOS 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 6/25/07, Indunil Jayasooriya <indunil75@xxxxxxxxx> wrote:

I installed it fro Dag. But it gace erros. Then I desabled selinux. Then ,
It worked. But i do not want to leave selinux disabled.

That's why. I am trying to build it.

Rebuilding the code won't solve the problem. You'll have to modify the
selinux rules so that these actions are allowed. For Centos5 and rhel5
this is pretty easy.

1. Enable selinux in permissive mode, and capture the selinux error
messages. They'll likely be in /var/log/audit/audit.log or
/var/log/messages
2. Run audit2allow -i selinux.log -M localpolicy
3. Next you load the module you just created with 'semodule -i localpolicy.pp'

Lather, rinse, repeat.







--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux