Bug 529159

Summary: amanda doesn't have permissions to write to tape devices
Product: [Fedora] Fedora Reporter: Vadym Chepkov <vchepkov>
Component: amandaAssignee: Daniel Novotny <dnovotny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: dnovotny
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.0p2-9.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-04 12:32:43 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 Vadym Chepkov 2009-10-15 08:46:33 UTC
amanda-2.6.0p2-8.fc11.i586

By default amandabackup user is member of disk group only.
Default permissions on /dev/changer and /dev/st0 now allow access only to root and tape group:

ls -l /dev/st0 /dev/sg4
crw-rw----. 1 root tape 21, 4 2009-10-15 04:30 /dev/sg4
crw-rw----. 1 root tape  9, 0 2009-10-15 04:30 /dev/st0


amandabackup has to be added to tape group

Comment 1 Daniel Novotny 2009-10-15 13:06:14 UTC
Hello Vadym,

thanks for letting me know about this problem. I will fix it on all branches, because without the proper access rights, Amanda cannot function at all. For Fedora 12 I will have to break devel freeze, but IMHO this change is worth it.

now fixed in rawhide (amanda-2.6.0p2-14.fc13), other branches will follow.

Comment 2 Fedora Update System 2009-10-15 14:02:32 UTC
amanda-2.6.0p2-9.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/amanda-2.6.0p2-9.fc11

Comment 3 Fedora Update System 2009-10-21 00:42:39 UTC
amanda-2.6.0p2-9.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update amanda'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10607

Comment 4 Fedora Update System 2009-11-04 12:32:38 UTC
amanda-2.6.0p2-9.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.