Bug 850196

Summary: Introduce new systemd-rpm macros in lvm2 spec file
Product: [Fedora] Fedora Reporter: Lukáš Nykrýn <lnykryn>
Component: lvm2Assignee: Peter Rajnoha <prajnoha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 18CC: agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, msnitzer, prajnoha, prockai, zkabelac
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 16:16:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 857010    
Bug Blocks: 850016    

Description Lukáš Nykrýn 2012-08-21 13:48:16 UTC
Fedora 18 changes the way how to work with services in spec files. It introduces new macros - %systemd_post, %systemd_preun and %systemd_postun; which replace scriptlets from Fedora 17 and older (see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd, https://bugzilla.redhat.com/show_bug.cgi?id=850016).

Comment 1 Peter Rajnoha 2012-09-13 11:35:12 UTC
Would be fine if dm-event.socket, lvm2-lvmetad.socket and lvm2-monitor.service is enabled by default globally in the preset file - bug #857010.

Comment 2 Peter Rajnoha 2012-10-16 10:31:41 UTC
The latest lvm2/device-mapper rawhide build makes use of these macros (lvm2-2.02.98-1.fc19). I'll keep the build in rawhide for a while and then I'll make an update F18 as well.

Comment 3 Fedora Update System 2012-11-06 07:34:46 UTC
lvm2-2.02.98-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/lvm2-2.02.98-1.fc18

Comment 4 Fedora Update System 2012-11-06 18:48:13 UTC
Package lvm2-2.02.98-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 lvm2-2.02.98-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17684/lvm2-2.02.98-1.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-11-07 18:56:53 UTC
lvm2-2.02.98-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2012-17684/lvm2-2.02.98-2.fc18

Comment 6 Fedora Update System 2012-11-09 03:20:55 UTC
Package lvm2-2.02.98-2.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 lvm2-2.02.98-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17684/lvm2-2.02.98-2.fc18
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-12-20 16:16:32 UTC
lvm2-2.02.98-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.