Bug 704415
Summary: | abrt-dump-oops breaks live media creation | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kevin Fenzi <kevin> | ||||
Component: | abrt | Assignee: | Karel Klíč <kklic> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 15 | CC: | anton, awilliam, dvlasenk, iprikryl, jlaska, jmoskovc, kklic, mclasen, mtoman, notting, npajkovs, rdieter, robatino, rvokal, satellitgo | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | AcceptedBlocker | ||||||
Fixed In Version: | abrt-2.0.2-5.fc15 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-05-16 19:00:23 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: | |||||||
Bug Blocks: | 617261 | ||||||
Attachments: |
|
Description
Kevin Fenzi
2011-05-13 04:32:17 UTC
-- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Scriptlets from this subpackage are likely the issue: postinstall scriptlet (using /bin/sh): if [ $1 -eq 1 ]; then /sbin/chkconfig --add abrt-oops fi preuninstall scriptlet (using /bin/sh): if [ "$1" -eq "0" ] ; then service abrt-oops stop >/dev/null 2>&1 /sbin/chkconfig --del abrt-oops fi #systemd (not tested): if [ "$1" -eq "0" ] ; then /bin/systemctl stop abrt-oops.service >/dev/null 2>&1 || : /bin/systemctl disable abrt-oops.service >/dev/null 2>&1 || : fi posttrans scriptlet (using /bin/sh): if [ "$1" -eq "0" ]; then # this is a tmp hack to set-up the ccpp hook when updating # from 1.x to 2.x without restarting service abrt-oops restart >/dev/null 2>&1 || : fi #systemd if [ "$1" -eq "0" ]; then /bin/systemctl try-restart abrt-oops.service >/dev/null 2>&1 || : fi The posttrans script is wrong. (In reply to comment #3) > The posttrans script is wrong. From notting ... "fairly sure that %posttrans should be %postun, and the refcounting is wrong" Created attachment 498796 [details] updated scriptlets Fixes here: 1) if [ "$1" -eq "0" ] is a no-op for %posttrans - the first argument is always 0. (http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Syntax) 2) We need to call condrestart, not restart - restart *will start* the service, which we don't want unilaterally. 3) Eliminate the systemctl calls; service <foo> condrestart will automatically redirect when necessary. As written, the scriptlets restart the service twice. Basically any live-based release criteria we have would be blocked by the lack of live media. Clearly +1 Blocker from me. +1 from me (actually I proposed it). other votes? kklic is working on an update for this. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers abrt-2.0.2-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/abrt-2.0.2-5.fc15 Package abrt-2.0.2-5.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing abrt-2.0.2-5.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/abrt-2.0.2-5.fc15 then log in and leave karma (feedback). abrt-2.0.2-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 681293 has been marked as a duplicate of this bug. *** |