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:
Stefan Sabolowitsch <[log in to unmask]>
Reply To:
Stefan Sabolowitsch <[log in to unmask]>
Date:
Wed, 9 Nov 2005 18:03:13 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (137 lines)
Conny, Thanks for your rapid answer.

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

you are right .
Do you have an idea like one SELinux and php mmcache to co-operate to bring
can?
Hints / Tipps

Thanks

Stefan

Administrator IT


FELTEN GmbH
In den Dörrwiesen 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 
solely for the addressee. It may contain information which is covered 
by legal, professional or other privilege. If you are not the intended 
addressee, you must not disclose, copy or take any action in reliance 
of this transmission. If you have received this transmission in error, 
please notify us and delete the received data as soon as possible.

 -----Ursprüngliche Nachricht-----
Von: 	Connie Sieh [mailto:[log in to unmask]] 
Gesendet:	Mittwoch, 9. November 2005 17:56
An:	Stefan Sabolowitsch
Cc:	[log in to unmask]
Betreff:	Re: SELinux deactivate how?

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