Bug 214839
Summary: | Cups generates SeLinux error when printing to SMB printer | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | malcolm <mal42north> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | CC: | twaugh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Current | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-08-22 14:13:53 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
malcolm
2006-11-09 18:04:37 UTC
I think this is really an seLinux bug. cups.te has this: optional_policy(` # cups execs smbtool which reads samba_etc_t files samba_read_config(cupsd_t) samba_rw_var_files(cupsd_t) ') but serefpolicy-2.4.3/policy/modules/services/samba.if:137 has this: interface(`samba_read_config',` gen_require(` type samba_etc_t; ') files_search_etc($1) allow $1 samba_etc_t:file { read getattr lock }; ') We need allow $1 samba_etc_t:dir search; to be added to (at least) samba_read_config -- and probably most of the other samba_read_* definitions in that file. This problem comes about because /etc/samba/ has a different context from /etc. Reassigning. Fixed in selinux-policy-2.4.3-9.fc6 Fixed in current release |