Bug 829954
Summary: | SELinux is preventing /usr/bin/uux from 'getattr' accesses on the file /etc/passwd. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nils Philippsen <nphilipp> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | dominick.grift, dwalsh, mgrepl, nphilipp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:3d6cc9f5e21c019e3abc52bb4551efe6416b02905011e571d12b6ac853819755 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-17 00:03:49 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
Nils Philippsen
2012-06-07 21:15:17 UTC
If uux can't access /etc/passwd, it results in mail not being transported, e.g. like this: Jun 6 22:13:07 wombat postfix/pipe[27785]: 4A1D142559: to=<redacted>, relay=uucp, delay=165316, delays=165316/0/0/0.28, dsn=4.3.0, status=SOFTBOUNCE (service unavailable. Command output: uux: Can't get login name ) Nils does it look up UIDs IE Does it need access to any UID or just root? Fixed in selinux-policy-3.10.0-129.fc17 (In reply to comment #2) > Nils does it look up UIDs IE Does it need access to any UID or just root? It looks up its own user, i.e. it checkes either LOGNAME, or USER in the environment and if missing runs getlogin() to get the user name, then runs getpwnam() on it to find the UID, alternatively getpwuid(getuid()) if that fails. Does that answer your question? Ok then it needs auth_use_nsswitch() Rather then just auth_read_passwd() selinux-policy-3.10.0-130.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-130.fc17 Package selinux-policy-3.10.0-130.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-130.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-9520/selinux-policy-3.10.0-130.fc17 then log in and leave karma (feedback). selinux-policy-3.10.0-130.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |