Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Due to an error in packaging, some of Amanda's files don't take on the group ID "disk" but instead get installed as root. Version-Release number of selected component (if applicable): amanda-3.3.2-2.fc18.x86_64 How reproducible: Always Steps to Reproduce: 1. yum -y install amanda 2. 3. Actual results: demeter:~$ sudo yum install amanda Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * fedora: mirror.us.as6453.net * updates: mirror.us.as6453.net Resolving Dependencies --> Running transaction check ---> Package amanda.x86_64 0:3.3.2-2.fc18 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: amanda x86_64 3.3.2-2.fc18 fedora 738 k Transaction Summary ================================================================================ Install 1 Package Total download size: 738 k Installed size: 2.4 M Is this ok [y/N]: y Downloading Packages: amanda-3.3.2-2.fc18.x86_64.rpm | 738 kB 00:00 Running Transaction Check Running Transaction Test Transaction Test Succeeded Running Transaction Installing : amanda-3.3.2-2.fc18.x86_64 1/1 warning: user %amanda_user does not exist - using root warning: group %amanda_group does not exist - using root warning: user %amanda_user does not exist - using root warning: group %amanda_group does not exist - using root warning: user %amanda_user does not exist - using root warning: group %amanda_group does not exist - using root Verifying : amanda-3.3.2-2.fc18.x86_64 1/1 Installed: amanda.x86_64 0:3.3.2-2.fc18 Complete! Expected results: Correct permissions on binaries like /sbin/amcheck, etc. Inspecting the specfile, I can see the %amanda_user and %amanda_group macros are supposed to be substituted with "amandabackup" and "disk" as per the %defines but I don't know why they're not. Additional info:
Looking at some other specfiles ... maybe it's that %attr and %defattr doesn't expand macros?
A little more on this: I rebuilt the Amanda package as-is in Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=4879945 And installed the RPMs. It works normally. So I can only assume that when the amanda packages that ship with Fedora 18 got built, rpmbuild was broken such that %attr and %defattr didn't expand macros. The solution, I'd imagine, is just to bump the revision # and rebuild the Amanda packages.
amanda-3.3.2-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/amanda-3.3.2-3.fc18
Package amanda-3.3.2-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing amanda-3.3.2-3.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1196/amanda-3.3.2-3.fc18 then log in and leave karma (feedback).
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
*** Bug 909679 has been marked as a duplicate of this bug. ***
amanda-3.3.2-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.