Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-06-2005, 08:56 AM   #1
LQ Newbie
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Why doesn't SELinux allow to start some services?

This is the error that occur when I start some services:

" Starting httpd: audit(1112616184.008:0): avc: denied { create } for pid=1979
exe=/usr/sbin/cronolog name=OutrasLogs scontext=root:system_r:httpd_t tcontext=r
oot: object_r:httpd_log_t tclass=dir
/var/log/httpd/OutrasLogs: Permission denied
audit(1112616184.182:0): avc: denied { unlink } for pid=1978 exe=/usr/sbin/ht
tpd name=ssl_mutex.1978 dev=sda5 ino=703196 scontext=root:system_r:httpd_t tcont
ext=root: object_r:httpd_log_t tclass=file
audit(1112616184.184:0): avc: denied { create } for pid=1980 exe=/usr/sbin/cr
onolog name=OutrasLogs scontext=root:system_r:httpd_t tcontext=root: object_r:htt
pd_log_t tclass=dir "

To solve this I disable the SELinux on Config System/ Security Level. Then I get start OK.
I need a solution that with SELinux enable I can start services without errors.. How to do?


Last edited by rosouza83; 04-06-2005 at 08:58 AM.
Old 04-06-2005, 09:49 PM   #2
Registered: Dec 2004
Posts: 81

Rep: Reputation: 15
Hmmm....during my installation....I've set SELinux to "Warn" instead of "enable" or "disable"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
where do services start hywaydave *BSD 2 02-17-2005 06:25 PM
start services ust Linux - General 1 11-09-2004 03:34 AM
Start-Up Services HELP Amir Red Hat 3 09-14-2003 08:20 AM
Start/stop services on start-up koyi Slackware 5 08-04-2003 08:20 AM
Start up services tfrye Linux - General 2 04-17-2001 10:21 AM

All times are GMT -5. The time now is 03:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration