FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 01-04-2008, 08:20 PM
Brian Gaynor
 
Default selinux error messages on un-installed app

On Fri, 2008-01-04 at 16:12 -0500, Claude Jones wrote:
> When I boot or shut down, and on other occasions, I'm getting the
> following:
>
> /etc/selinux/targeted/contexts/files/file_contexts: Multiple
> different specifications for /var/lib/awstats(/.*)?
> (system_ubject_r:httpd_sys_script_rw_t:s0 and
> system_ubject_r:awstats_var_lib_t:s0).
> /etc/selinux/targeted/contexts/files/file_contexts: Multiple
> different specifications
> for /usr/share/awstats/wwwroot/cgi-bin(/.*)?
> (system_ubject_r:httpd_sys_script_exec_t:s0 and
> system_ubject_r:httpd_awstats_script_exec_t:s0).
>
>
> I use to have awstats installed on this machine, but it's been
> long-ago removed in the correct manner. I have tried editing
> those files named in the messages to remove the multiple
> references to awstats, but, to no avail. Setroubleshoot has
> nothing to say about the above messages, which appear when I
> boot up, or when I install new software, as log messages in
> Smart and Yumex
>
> I know the usual other places to try on this, but, I'm giving a
> couple of folks who may have the time, and who definitely have
> the knowledge, an opportunity to reply here, first.

Check the contents of file_contexts.local if present - I needed to
remove awstats lines from this file for the same reason as you.

Brian

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-07-2008, 07:46 PM
Daniel J Walsh
 
Default selinux error messages on un-installed app

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

Claude Jones wrote:
> When I boot or shut down, and on other occasions, I'm getting the
> following:
>
> /etc/selinux/targeted/contexts/files/file_contexts: Multiple
> different specifications for /var/lib/awstats(/.*)?
> (system_ubject_r:httpd_sys_script_rw_t:s0 and
> system_ubject_r:awstats_var_lib_t:s0).
> /etc/selinux/targeted/contexts/files/file_contexts: Multiple
> different specifications
> for /usr/share/awstats/wwwroot/cgi-bin(/.*)?
> (system_ubject_r:httpd_sys_script_exec_t:s0 and
> system_ubject_r:httpd_awstats_script_exec_t:s0).
>
>
> I use to have awstats installed on this machine, but it's been
> long-ago removed in the correct manner. I have tried editing
> those files named in the messages to remove the multiple
> references to awstats, but, to no avail. Setroubleshoot has
> nothing to say about the above messages, which appear when I
> boot up, or when I install new software, as log messages in
> Smart and Yumex
>
> I know the usual other places to try on this, but, I'm giving a
> couple of folks who may have the time, and who definitely have
> the knowledge, an opportunity to reply here, first.
# semanage fcontext -d '/usr/share/awstats/wwwroot/cgi-bin(/.*)?'
# semanage fcontext -d '/var/lib/awstats(/.*)?'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkeCj70ACgkQrlYvE4MpobMaHwCg0QZ+aey1ig lAvmIA4Zj0rx8i
DkAAoLZPJLlhsNOEqn8H3VlkVkGLsQ57
=5jL8
-----END PGP SIGNATURE-----

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 12:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org