[Bug 855221] New: libzypp or zypper should take Inhibitor Locks when installing packages
https://bugzilla.novell.com/show_bug.cgi?id=855221 https://bugzilla.novell.com/show_bug.cgi?id=855221#c0 Summary: libzypp or zypper should take Inhibitor Locks when installing packages Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: crrodriguez@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Hi: A while ago, I foolishly rebooted the system in the middle of a "dup" and that didn't end well, it turns out mess ups of this type can be prevented by taking an Inhibitor Lock[1] during package installation. I suggest adding an API to libzypp that can be used by zypper or YaST to take such locks at the beginning of the package *installation* sequence (not the downloading part) and released once all packages in the transaction are installed. [1]http://www.freedesktop.org/wiki/Software/systemd/inhibit/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=855221 https://bugzilla.novell.com/show_bug.cgi?id=855221#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #1 from Michael Andres <ma@suse.com> 2013-12-13 10:59:02 CET --- Don't know if libzypp wants to fiddle with systemd, but we can enhance the commit plugin to send an appropriate trigger. A plugin script can then easily be written in python (see the snapper plugin) and distributed as a standalone package. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com