Bug 1018052 - unexpanded systemd-macros in rpm-scriptlets
Summary: unexpanded systemd-macros in rpm-scriptlets
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rtirq
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Ralf Corsepius
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-11 05:41 UTC by Ralf Corsepius
Modified: 2013-11-10 06:29 UTC (History)
1 user (show)

Fixed In Version: rtirq-20130402-6.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-10 06:29:22 UTC
Type: Bug


Attachments (Terms of Use)

Description Ralf Corsepius 2013-10-11 05:41:19 UTC
Description of problem:

rtirq for Fedora >= 20 contains broken rpm-scriptlets,
which contain unexpanded systemd-macros:

# rpm -q --scripts -p rtirq-20130402-5.fc20.noarch.rpm 
postinstall scriptlet (using /bin/sh):
%systemd_post rtirq.service
preuninstall scriptlet (using /bin/sh):
%systemd_preun rtirq.service
postuninstall scriptlet (using /bin/sh):
%systemd_postun_with_restart rtirq.service


Additional info:
- The cause of this issue is the spec missing a BR: systemd to pull-in the
necessary systemd.macros.
- These unexpanded systemd macros may cause yum update failures, leaving behind
duplicate entries in rpmdb.

Comment 1 Ralf Corsepius 2013-10-11 05:43:20 UTC
I am going to apply a patch for f20 and rawhide.

Comment 2 Brendan Jones 2013-10-11 05:48:21 UTC
Thanks Ralf

Comment 3 Fedora Update System 2013-10-11 06:08:30 UTC
rtirq-20130402-6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/rtirq-20130402-6.fc20

Comment 4 Fedora Update System 2013-10-11 16:48:09 UTC
Package rtirq-20130402-6.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rtirq-20130402-6.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18854/rtirq-20130402-6.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-11-10 06:29:22 UTC
rtirq-20130402-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.