Description of problem: When doing the command rpm --setperms on a package, it doesn't work. It gives an error message. Version-Release number of selected component (if applicable): 4.10.1-3 How reproducible: Do the command rpm --setperms Steps to Reproduce: 1.rpm --setperms <some package> Actual results: error: incorrect format : invalid field width (translation from french) Expected results: It should fix the package file permissions
It seems also that rpm doesn't put well permissions during install of new packets which prevents tools such as sudo or su to work out of the box (the setuid bit is not set). Because after an upgrade with fedup from f17 to f18, the permissions weren't set.
--setperms breakage confirmed, will fix. Permissions not getting set on upgrade would be an entirely different issue however, --setperms is just dumb shell-glue that never gets invoked in normal operation. If you find a way to reproduce that, please open another bug for it.
rpm-4.10.2-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/rpm-4.10.2-1.fc18
Package rpm-4.10.2-1.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 rpm-4.10.2-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20057/rpm-4.10.2-1.fc18 then log in and leave karma (feedback).
I'm fc18-beta. I have rpm-4.10.1-3.fc18.x86_64 and still this problem persists. Thanks
(In reply to comment #5) > I'm fc18-beta. > I have rpm-4.10.1-3.fc18.x86_64 and still this problem persists. Look at the information in comments 3-4 from the update system - it's not supposed to be fixed in what you have.
I upgraded to F18 from F17 via fedup. Post-upgrade, I followed the instructions here: http://fedorasolved.org/Members/fenris02/post_upgrade_cleanup and ended up with the 'oops... something bad happened' screen and could no longer logon graphically. There were some messages in /var/log/messages that indicated a permission issue with the dbus servicehelper (/lib64/dbus-1/dbus-daemon-launch-helper). 'rpm --verify dbus' showed an issue with the permission of that file. 'rpm --setperms dbus' returned 'error: incorrect format : invalid field width'. 'yum reinstall dbus' fixed the permissions issue, but I know that there are a number of other binarys with the same issue (su, sudo). I suspect anyone following those post-upgrade instructions will run into this issue. I have since updated rpm to version 4.10.2-1.fc18 (currently in updates-testing). Afterwards, I ran 'rpm -a --setperms' and it seems to have fixed everything. Excerpt from /var/log/messages (from when I was not able to logon graphically): Jan 7 11:51:24 terid360100 dbus-daemon[557]: dbus[557]: [system] Activating service name='net.reactivated.Fprint' (using servicehelper) Jan 7 11:51:24 terid360100 dbus[557]: [system] Activating service name='net.reactivated.Fprint' (using servicehelper) Jan 7 11:51:24 terid360100 dbus-daemon[557]: dbus[557]: [system] Activated service 'net.reactivated.Fprint' failed: The permission of the setuid helper is not correct Jan 7 11:51:24 terid360100 dbus[557]: [system] Activated service 'net.reactivated.Fprint' failed: The permission of the setuid helper is not correct Jan 7 12:09:41 terid360100 dbus-daemon[557]: dbus[557]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper) Jan 7 12:09:41 terid360100 dbus[557]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper) Jan 7 12:09:41 terid360100 dbus-daemon[557]: dbus[557]: [system] Activated service 'org.freedesktop.PackageKit' failed: The permission of the setuid hel per is not correct
rpm-4.10.2-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.