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 156639 Details for
Bug 243218
SELinux is preventing /usr/bin/perl5.8.8 (httpd_t) "write" to BackupPC.sock (var_log_t).
[?]
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.
full troubleshoot
selinux_alert_perl_backuppc.txt (text/plain), 3.09 KB, created by
Martin Jürgens
on 2007-06-09 10:11:18 UTC
(
hide
)
Description:
full troubleshoot
Filename:
MIME Type:
Creator:
Martin Jürgens
Created:
2007-06-09 10:11:18 UTC
Size:
3.09 KB
patch
obsolete
>Summary > SELinux is preventing /usr/bin/perl5.8.8 (httpd_t) "write" to BackupPC.sock > (var_log_t). > >Detailed Description > SELinux is preventing /usr/bin/perl5.8.8 (httpd_t) "write" to BackupPC.sock > (var_log_t). The SELinux type %TARGET_TYPE, is a generic type for all files > in the directory and very few processes (SELinux Domains) are allowed to > write to this SELinux type. This type of denial usual indicates a > mislabeled file. By default a file created in a directory has the gets the > context of the parent directory, but SELinux policy has rules about the > creation of directories, that say if a process running in one SELinux Domain > (D1) creates a file in a directory with a particular SELinux File Context > (F1) the file gets a different File Context (F2). The policy usually allows > the SELinux Domain (D1) the ability to write or append on (F2). But if for > some reason a file (BackupPC.sock) was created with the wrong context, this > domain will be denied. The usual solution to this problem is to reset the > file context on the target file, restorecon -v BackupPC.sock. If the file > context does not change from var_log_t, then this is probably a bug in > policy. Please file a http://bugzilla.redhat.com/bugzilla/enter_bug.cgi > against the selinux-policy package. If it does change, you can try your > application again to see if it works. The file context could have been > mislabeled by editing the file or moving the file from a different > directory, if the file keeps getting mislabeled, check the init scripts to > see if they are doing something to mislabel the file. > >Allowing Access > You can attempt to fix file context by executing restorecon -v BackupPC.sock > > The following command will allow this access: > restorecon BackupPC.sock > >Additional Information > >Source Context user_u:system_r:httpd_t >Target Context user_u:object_r:var_log_t >Target Objects BackupPC.sock [ sock_file ] >Affected RPM Packages perl-5.8.8-18.fc7 [application] >Policy RPM selinux-policy-2.6.4-13.fc7 >Selinux Enabled True >Policy Type targeted >MLS Enabled True >Enforcing Mode Enforcing >Plugin Name plugins.mislabeled_file >Host Name medora-desktop >Platform Linux medora-desktop 2.6.21-1.3194.fc7 #1 SMP Wed > May 23 22:35:01 EDT 2007 i686 athlon >Alert Count 2 >First Seen Sa 09 Jun 2007 12:08:59 CEST >Last Seen Sa 09 Jun 2007 12:09:00 CEST >Local ID 3afa3dc0-dc35-419b-ab64-abf2c07b30ad >Line Numbers > >Raw Audit Messages > >avc: denied { write } for comm="perl5.8.8" dev=dm-0 egid=48 euid=498 >exe="/usr/bin/perl5.8.8" exit=-13 fsgid=48 fsuid=498 gid=48 items=0 >name="BackupPC.sock" pid=6744 scontext=user_u:system_r:httpd_t:s0 sgid=48 >subj=user_u:system_r:httpd_t:s0 suid=498 tclass=sock_file >tcontext=user_u:object_r:var_log_t:s0 tty=(none) uid=48 >
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 243218
: 156639