Displaying 6 results from an estimated 6 matches for "httpd_log_t".
2008 Aug 10
7
SELinux
Hi list,
I've knocked up a contribution on SELinux here:
http://wiki.centos.org/HowTos/SELinux
I've tried to pitch it as an introduction for those not already familiar
with SELinux but also hopefully a useful reference.
I'm relatively new to SELinux and have covered pretty much everything I
know to the limits of my limited knowledge. If folks think other
material needs to be
2007 Dec 17
2
Digest Subcriber needs help with SELinux file context setting
CentOS-5.1
I need some help with setting up the SELinux context for a custom httpd
directory so that I can write log files into it. This is what I have:
In my virtual host config file:
RewriteEngine on
RewriteLog /etc/httpd/virtual.d/trac-rewrite.log
# RewriteLogLevel 0=off 1=basic 2=verbose 3+=module developer debuging
RewriteLogLevel 0
If /etc/httpd/virtual.d/trac-rewrite.log does
2008 Aug 23
2
CentOS 5.2 + SELinux + Apache/PHP + Postfix
...ne help make sense of this? I know I can create policy rules
to allow these actions. But I don't want to do that without
understanding the implications. For reference, audit2allow suggests
the following policy additions:
#============= postfix_postdrop_t ==============
allow postfix_postdrop_t httpd_log_t:file getattr;
#============= system_mail_t ==============
allow system_mail_t httpd_t:file read;
allow system_mail_t httpd_tmp_t:file { read write };
Any help greatly appreciated.
Thanks!
Sam
-------------------------------------------------------------------------------------------
type=AVC...
2007 Mar 12
2
selinux disable but still working
...608
scontext=user_u:system_r:httpd_t tcontext=system_u:object_r:var_log_t
tclass=file
audit(1173699979.918:4): avc: denied { write } for pid=2408
comm="piranha_gui" name="apache_runtime_status" dev=dm-0 ino=2338680
scontext=user_u:system_r:httpd_t tcontext=user_u:object_r:httpd_log_t
tclass=file
How can i see if selinux is really disable?
Thanks
2015 Apr 01
1
SEmodule dependency hell.
.... I
am not against SELinux. We use it extensively. But this is not
security it is simply BS.
It is stuff like this that causes people to say just turn selinux off
altogether.
semodule -r apache
libsepol.print_missing_requirements: awstats's global requirements
were not met: type/attribute httpd_log_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file
or directory).
semodule: Failed!
semodule -r awstats
semodule -r apache
libsepol.print_missing_requirements: bugzilla's global requirements
were not met: type/attribute httpd_t (No such file or...
2018 Nov 11
0
CentOS 6: Logrotate / selinux problem
...ffix '-20181111'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
rotating log /var/log/httpd/error_log, log->rotateCount is 4
dateext suffix '-20181111'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
fscreate context set to unconfined_u:object_r:httpd_log_t:s0
renaming /var/log/httpd/access_log to /var/log/httpd/access_log-20181111
creating new /var/log/httpd/access_log mode = 0644 uid = 0 gid = 0
fscreate context set to unconfined_u:object_r:httpd_log_t:s0
renaming /var/log/httpd/error_log to /var/log/httpd/error_log-20181111
creating new /var/log/ht...