Bug 1043268

Summary: please allow amanda backup via UDP
Product: [Fedora] Fedora Reporter: Patrick C. F. Ernzer <pcfe>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.12.1-74.16.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-05 12:33:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Patrick C. F. Ernzer 2013-12-15 14:58:26 UTC
Description of problem:
if one wants/needs to do amanda backups over UDP (as opposed to TCP), in addition to Bug 901698, the following .te is needed;

module amanda-udp 1.0;

require {
        type amanda_port_t;
        type amanda_t;
        class udp_socket name_bind;
}

#============= amanda_t ==============

allow amanda_t amanda_port_t:udp_socket name_bind;

for amcheck -c to report success.

Could this be added to policy/modules/contrib/amanda.te please?

The bits for recovery over UDP are already in there.

Version-Release number of selected component (if applicable):
selinux-policy-3.12.1-74.15.fc19.src.rpm

Comment 1 Miroslav Grepl 2013-12-16 10:07:12 UTC
Added to rawhide/f20/f19/RHEL7.

commit c7bedf9a1026d7c751cd380f56cbd18eccbdaf7c
Author: Miroslav Grepl <mgrepl>
Date:   Mon Dec 16 11:06:05 2013 +0100

    Allow amanda to do backups over UDP

Comment 2 Fedora Update System 2013-12-20 10:15:04 UTC
selinux-policy-3.12.1-74.16.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-74.16.fc19

Comment 3 Fedora Update System 2013-12-21 02:09:46 UTC
Package selinux-policy-3.12.1-74.16.fc19:
* should fix your issue,
* was pushed to the Fedora 19 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.12.1-74.16.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23691/selinux-policy-3.12.1-74.16.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-01-05 12:33:23 UTC
selinux-policy-3.12.1-74.16.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.