Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 617754 Details for
Bug 858946
selinux blocks write access on /etc/owncloud
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
conf in /var/lib
selinux_varlib.txt (text/plain), 3.68 KB, created by
Gregor Tätzner
on 2012-09-26 19:52:07 UTC
(
hide
)
Description:
conf in /var/lib
Filename:
MIME Type:
Creator:
Gregor Tätzner
Created:
2012-09-26 19:52:07 UTC
Size:
3.68 KB
patch
obsolete
>SELinux is preventing /usr/sbin/httpd from write access on the file config.php. > >***** Plugin catchall_labels (83.8 confidence) suggests ******************** > >If you want to allow httpd to have write access on the config.php file >Then you need to change the label on config.php >Do ># semanage fcontext -a -t FILE_TYPE 'config.php' >where FILE_TYPE is one of the following: jetty_log_t, httpd_tmp_t, httpd_lock_t, jetty_cache_t, dirsrv_config_t, dirsrvadmin_tmp_t, httpd_squirrelmail_t, puppet_tmp_t, httpd_cache_t, httpd_tmpfs_t, dirsrv_var_run_t, dirsrv_var_log_t, httpd_var_lib_t, httpd_var_run_t, zarafa_var_lib_t, jetty_var_lib_t, jetty_var_run_t, systemd_passwd_var_run_t, squirrelmail_spool_t, krb5_host_rcache_t, user_cron_spool_t, dirsrvadmin_config_t, httpd_t, abrt_retrace_spool_t, afs_cache_t, httpd_munin_rw_content_t, httpd_mojomojo_rw_content_t, httpd_bugzilla_rw_content_t, passenger_tmp_t, httpd_cvs_rw_content_t, httpd_git_rw_content_t, httpd_sys_rw_content_t, httpd_apcupsd_cgi_rw_content_t, httpd_nagios_rw_content_t, httpd_nutups_cgi_rw_content_t, httpd_dspam_rw_content_t, httpd_prewikka_rw_content_t, httpd_mediawiki_rw_content_t, httpd_squid_rw_content_t, passenger_var_run_t, httpd_smokeping_cgi_rw_content_t, httpd_man2html_rw_content_t, httpd_w3c_validator_rw_content_t, httpd_dirsrvadmin_rw_content_t, httpd_collectd_rw_content_t, root_t, httpd_zoneminder_rw_content_t, httpd_user_rw_content_t, httpd_awstats_rw_content_t, httpd_cobbler_rw_content_t. >Then execute: >restorecon -v 'config.php' > > >***** Plugin catchall (17.1 confidence) suggests *************************** > >If you believe that httpd should be allowed write access on the config.php file by default. >Then you should report this as a bug. >You can generate a local policy module to allow this access. >Do >allow this access for now by executing: ># grep httpd /var/log/audit/audit.log | audit2allow -M mypol ># semodule -i mypol.pp > >Additional Information: >Source Context system_u:system_r:httpd_t:s0 >Target Context unconfined_u:object_r:var_lib_t:s0 >Target Objects config.php [ file ] >Source httpd >Source Path /usr/sbin/httpd >Port <Unknown> >Host greg-desktop >Source RPM Packages httpd-2.2.22-4.fc17.x86_64 >Target RPM Packages >Policy RPM selinux-policy-3.10.0-149.fc17.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Enforcing >Host Name greg-desktop >Platform Linux greg-desktop 3.5.4-1.fc17.x86_64 #1 SMP Mon > Sep 17 15:03:59 UTC 2012 x86_64 x86_64 >Alert Count 2 >First Seen 2012-09-26 21:50:37 CEST >Last Seen 2012-09-26 21:50:37 CEST >Local ID e62f705d-dadc-47db-9e2b-2f78f4998714 > >Raw Audit Messages >type=AVC msg=audit(1348689037.818:146): avc: denied { write } for pid=21364 comm="httpd" name="config.php" dev="sda3" ino=184697 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file > > >type=SYSCALL msg=audit(1348689037.818:146): arch=x86_64 syscall=open success=no exit=EACCES a0=7f98c06b1c30 a1=241 a2=1b6 a3=2e6769666e6f632f items=0 ppid=19674 pid=21364 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm=httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null) > >Hash: httpd,httpd_t,var_lib_t,file,write > >audit2allow > >#============= httpd_t ============== >allow httpd_t var_lib_t:file write; > >audit2allow -R > >#============= httpd_t ============== >allow httpd_t var_lib_t:file write;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 858946
:
614745
| 617754 |
706420