Bug 1109930 - RFE: take systemd inhibitor lock while doing operations that shouldn't be interrupted by shutdown
Summary: RFE: take systemd inhibitor lock while doing operations that shouldn't be int...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-16 15:56 UTC by Matthew Miller
Modified: 2014-07-09 15:23 UTC (History)
7 users (show)

Fixed In Version: yum-3.4.3-152.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-16 19:38:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matthew Miller 2014-06-16 15:56:01 UTC
If installing and or removing packages is interrupted, the system can be left in a bad state. Yum should take a systemd shutdown inhibitor delay lock (see http://www.freedesktop.org/wiki/Software/systemd/inhibit) when doing anything that can't safely be interrupted.

Comment 1 James Antill 2014-06-16 19:38:24 UTC
 Should be in tomorrow's rawhide, -151.

http://koji.fedoraproject.org/koji/buildinfo?buildID=538517

...rebuilds in the copr and my fp.o repos.

Comment 2 Panu Matilainen 2014-06-17 04:47:03 UTC
Just FWIW, rpm >= 4.12 (once it hits rawhide, sooner than later now...) has a plugin to do this on rpm level.

Comment 3 Fedora Update System 2014-06-18 12:28:10 UTC
yum-3.4.3-152.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-3.4.3-152.fc20

Comment 4 Fedora Update System 2014-07-05 14:58:11 UTC
yum-3.4.3-152.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2014-07-09 15:23:15 UTC
yum-3.4.3-152.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-152.fc19


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