Bug 168136
Summary: | /usr/sbin/amrecover cannot be executed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stephen Walton <stephen.walton> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 1.27.1-2.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-03-20 13:09:45 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
Stephen Walton
2005-09-12 19:47:25 UTC
That's odd. amrecover works fine on my FC4 system. Can you show the output of "ls -lZ /usr/sbin/amrecover" and "id" when logged in as root? [root@apollo ~]# id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) context=root:system_r:unconfined_t [root@apollo ~]# ls -lZ /usr/sbin/amrecover -rwxr-x--- amanda disk system_u:object_r:amanda_recover_exec_t /usr/sbin/amrecover This is the correct context for amrecover according to /etc/selinux/targeted/contexts/files/file_contexts from selinux-policy-targeted version 1.25.4-10. AHA! It's an selinux problem. I can reproduce the problem by going into system-config-securitylevel and setting the SELinux mode to Enforcing. I'm reassigning this to the SELinux policy maintainers. In the mean time, for a workaround, you can set you SELinux mode to Permissive while doing the restore. Fixed in selinux-policy-*-1.27.1-2.1 |