Red Hat Bugzilla – Bug 1253127
broken rpm scriptlets: restorecon: command not found
Last modified: 2015-08-13 10:26:05 EDT
Description of problem:
The tog-pegasus rpms' scriptlets are raise warnings and likely are dysfunctional.
Version-Release number of selected component (if applicable):
Always on all active Fedora releases (currently Fedora 21 though 24)
Steps to Reproduce:
1. # mock -r fedora-21-x86_64 --init
2. # mock -r fedora-21-x86_64 --install tog-pegasus
3. Watch the output
Running transaction (shutdown inhibited)
Installing : 2:tog-pegasus-2.13.0-17.fc21.x86_64 5/5
/var/tmp/rpm-tmp.ee6LNY: line 2: restorecon: command not found
Thanks, tog-pegasus is missing policycoreutil requires.
Can be workarounded by
# mock -r fedora-21-x86_64 --install policycoreutils
prior to install of the OpenPegasus.
Fixed in Rawhide. (As I haven't seen it outside mock and there's simple workaround, I think it's enough fix it there and I won't create updates for Fedora releases, if not explicitly requested.)