LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-22-2007, 12:57 PM   #1
caps_phisto
Member
 
Registered: Sep 2004
Location: NH
Distribution: FC6, FC1-4, RH9, Gentoo 2006.0/1, Slackware 10.1/2,11, Vector SOHO 5.0.1
Posts: 237

Rep: Reputation: 30
SELinux problem with a custom script at startup


Hey all:

I am having an issue with SELinux preventing my server from running a script at startup. It used to work and now for some reason it has stopped. Also the script will run fine if I start it manually after the whole machine has booted.

Here is the SELinux error I get at bootup:

Code:
audit(1182530645.717:1235): avc:  denied  { search } for  pid=2119 comm="ping" name="locale" dev=dm-0 ino=128146 scontext=system_u:system_r:ping_t:s0 tcontext=system_u:object_r:locale_t:s0 tclass=dir
Thanks for all your help!
 
Old 06-23-2007, 12:37 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
First, make sure you've applied maintenance, in case this has been corrected in the policy.

Second, you can create a local policy if you need to allow an exception.
 
  


Reply



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
execute custom made script on startup howto ALInux Linux - General 7 02-07-2006 01:25 PM
Startup script problem tanveer Linux - Newbie 2 12-13-2004 09:45 PM
Fedora 2 with SELINUX startup errors Pisces107 Fedora 4 09-26-2004 01:08 AM
startup script problem dani81 *BSD 1 08-05-2004 06:39 AM
Gentoo custom script dependancy problem exodist Linux - Distributions 18 07-24-2004 01:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:45 AM.

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