Bug 1017688

Summary: unexpanded systemd-macros in rpm-scriptlets
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: ebnetdAssignee: Ralf Corsepius <rc040203>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 20CC: i18n-bugs, lijli, tagoh
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ebnetd-1.0-20.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-10 07:50:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ralf Corsepius 2013-10-10 10:46:10 UTC
Description of problem:

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

# rpm -q --scripts -p ebhttpd-1.0-19.fc20.x86_64.rpm
postinstall scriptlet (using /bin/sh):
%systemd_post ebnttpd.socket
preuninstall scriptlet (using /bin/sh):
%systemd_preun ebhttpd.socket ebhttpd-instances.target
postuninstall scriptlet (using /bin/sh):
%systemd_postun_with_restart ebhttpd.socket ebhttpd-instances.target


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-10 10:48:06 UTC
I am going to apply a patch to f20 and rawhide

Comment 2 Fedora Update System 2013-10-10 15:26:31 UTC
ebnetd-1.0-20.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ebnetd-1.0-20.fc20

Comment 3 Fedora Update System 2013-10-11 16:46:42 UTC
Package ebnetd-1.0-20.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 ebnetd-1.0-20.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18839/ebnetd-1.0-20.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-11-10 07:50:40 UTC
ebnetd-1.0-20.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.