SCIENTIFIC-LINUX-USERS Archives

November 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Connie Sieh <[log in to unmask]>
Reply To:
Connie Sieh <[log in to unmask]>
Date:
Wed, 9 Nov 2005 10:55:37 -0600
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (97 lines)
Edit the file 

/etc/selinux/config 

and change 

SELINUX=enforcing

to

SELINUX=disabled

Then reboot

It is better of course to learn how to make http live with SELINUX instead
of disabling it.

-Connie Sieh
On Wed, 9 Nov 2005, Stefan Sabolowitsch wrote:

> Hi List,
> 
> OS=3DSL 4.1 x86_64
> 
> Get the following warning of SELinux because of php mmcache and would=
>  like
> it to therefore deactivate.
> 
> avc:  denied  { write } for  pid=3D2303 comm=3D"httpd" name=3D"php-mm=
> cache"
> dev=3Ddm-0 ino=3D3162120 scontext=3Duser_u:system_r:httpd_t
> tcontext=3Dsystem_u:object_r:var_t tclass=3Ddir
> 
> here grub.conf
> 
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to thi=
> s file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd0,0)
> #          kernel /vmlinuz-version ro root=3D/dev/VolGroup00/LogVol00
> #          initrd /initrd-version.img
> #boot=3D/dev/hda
> default=3D0
> timeout=3D5
> selinux=3D0
> splashimage=3D(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Scientific Linux SL (2.6.9-22.0.1.EL)
> =09selinux=3D0
> =09root (hd0,0)
> =09kernel /vmlinuz-2.6.9-22.0.1.EL ro root=3D/dev/VolGroup00/LogVol00
> rhgb quiet
> =09initrd /initrd-2.6.9-22.0.1.EL.img
> title Scientific Linux (2.6.9-11.EL)
> =09root (hd0,0)
> =09kernel /vmlinuz-2.6.9-11.EL ro root=3D/dev/VolGroup00/LogVol00 rhg=
> b
> quiet
> =09initrd /initrd-2.6.9-11.EL.img
> 
> although there is selinux=3D0, SELinux is still active.
> 
> why?
> 
> Thanks for each assistance
> 
> Stefan Sabolowitsch
> 
> 
> Administrator IT
> 
> 
> FELTEN GmbH
> In den D=F6rrwiesen 31
> D-54455 Serrig
> Tel: +49 (65 81) 91 69 - 25
> Fax: +49 (65 81) 91 69 - 33
> E-Mail: [log in to unmask]
> www.feltengmbh.de
> www.pm-scada.de
> _____________________ Confidentiality ______________________
> This electronic transmission is strictly confidential and intended=
> =20
> solely for the addressee. It may contain information which is covered=
> =20
> by legal, professional or other privilege. If you are not the intende=
> d=20
> addressee, you must not disclose, copy or take any action in reliance=
> =20
> of this transmission. If you have received this transmission in error=
> ,=20
> please notify us and delete the received data as soon as possible.
> 

ATOM RSS1 RSS2