Bug 246220
Summary: | Squid fails to start due to selinux | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Rowe <bart> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 7 | CC: | gvarisco |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.6.4-25.fc7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-07-08 03:32:05 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daniel Rowe
2007-06-29 11:18:39 UTC
The file context (fcontext) for /usr/sbin/squid seems wrong; can you attach there the output of: # ls -Z `which squid` It should be: -rwxr-xr-x root root system_u:object_r:squid_exec_t /usr/sbin/squid So, if it's wrong, open a terminal and type: # restorecon /usr/sbin/squid After that restart squid and it should work. [root@bajor ~]# ls -Z `which squid` -rwxr-xr-x root root system_u:object_r:squid_exec_t /usr/sbin/squid [root@bajor ~]# restorecon /usr/sbin/squid [root@bajor ~]# ls -Z `which squid` -rwxr-xr-x root root system_u:object_r:squid_exec_t /usr/sbin/squid [root@bajor ~]# service squid start Starting squid: .................... [FAILED] avc: denied { read, write } for comm="squid" dev=tmpfs egid=23 euid=23 exe="/usr/sbin/squid" exit=-13 fsgid=23 fsuid=23 gid=23 items=0 name="SYSV00479802" path=2F535953563030343739383032202864656C6574656429 pid=4582 scontext=user_u:system_r:squid_t:s0 sgid=23 subj=user_u:system_r:squid_t:s0 suid=0 tclass=file tcontext=user_u:object_r:tmpfs_t:s0 tty=(none) uid=23 Fixed in selinux-policy-2.6.4-24 Confirmed fixed: selinux-policy-2.6.4-25.fc7 selinux-policy-targeted-2.6.4-25.fc7 |