Re: Selinux and awstats [Solved]

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Claude Jones wrote:
> On Thursday 10 July 2008 12:08:28 Claude Jones wrote:
>> On Thursday 10 July 2008 11:31:48 Daniel J Walsh wrote:
>>> Sorry about the path problems.
>> no problem
>>
>>> If matchpathcon returns no errors, you should be fine now.
>> # matchpathcon /var/lib/awstats
>> /var/lib/awstats        system_u:object_r:awstats_var_lib_t
>>
>> As you can see above, it appears to be good. Thanks as always
>> for your help.
> 
> Dan: A final report. After rebooting several times, and running 
> smart many times, both of which used to produce many lines of the 
> awstats/selinux messages, I think I can safely say that the 
> problem has been solved. I wish I understood what your commands 
> did, exactly - if you have a little time to respond to this, I 
> would really appreciate a synopsis of your diagnosis and cure. I 
> guess that somehow, two different policies were generated with 
> regard to awstats, and that's what you were detecting with the 
> matchpathcon command? Is that a fair understanding from my read 
> of the man page? The semodule -B command was to force a rewrite 
> of the policy, though I'm not sure to what end, as I read it... 
> And somehow, you found and had me erase the multiple contexts?
> 
> 
Yes I believe you or some package added the second file context entry,
which was causing your problem. The tools were some how borked for
removing the entry.

semodule -B

Basically reassembled the policy and moved the contents of
/etc/selinux/targeted/modules/active to /etc/selinux/targeted/contexts

So once we fully removed the context from the local modifications we
wanted to make sure the system files were correct.

semanage fcontext -d PATH

Should have done this for us, but something on your system was not
working correctly.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiAoo8ACgkQrlYvE4MpobMDDQCdF57z4E6QwtQwfkuDjQvZMkBW
87wAoI3ylI1zNoerJP5lUWvERTjgfkfe
=tMRh
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux