[Bug 280537] New: libzypp / YaST: Show name of process which locks the database
https://bugzilla.novell.com/show_bug.cgi?id=280537 Summary: libzypp / YaST: Show name of process which locks the database Product: openSUSE 10.3 Version: Alpha 4plus Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: burnus@gmx.de QAContact: kkaempf@novell.com Yast shows errors like: "ERROR Another process accesses the package database. Package management not possible. [ Ok ]" Expected: There is more information available about the process, e.g.: "The process 'zypper' is currently accessing the package database." or "The process 'y2base' is currently accessing the package database." Reasoning: Sometimes the DB is locked and it is not obvious why it is locked/what locks it. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280537 User francis@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=280537#c1 --- Comment #1 from Francis Giannaros <francis@opensuse.org> 2008-03-28 19:49:17 MST --- This is pretty handy, particularly for new users. Any thoughts/update on this? -- 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=280537 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=280537#c2 --- Comment #2 from Michael Andres <ma@novell.com> 2008-04-01 09:55:56 MST --- The locking will be redone using more granular locks (oS-11.0). AFAIK this was considered. AFAIK ZYppLockedExceptions will contain at the pid of the locking process. -- 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=280537 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=280537#c3 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com --- Comment #3 from Michael Andres <ma@novell.com> 2008-07-10 09:41:38 MDT --- *** Bug 231444 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=231444 -- 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=280537 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libzypp |libzypp Product|openSUSE 10.3 |openSUSE 11.1 Version|Alpha 4plus |Factory -- 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=280537 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=280537#c4 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ma@novell.com |lslezak@novell.com --- Comment #4 from Michael Andres <ma@novell.com> 2008-07-10 10:35:03 MDT --- Thats the text provided by ZYppFactoryException (on 11.0 without the applications name). System management is locked by the application with pid 19675 (/usr/bin/zypper). Please close this application before trying again. Zypper for 11.1 will show this message. @Ladislav: In case pkg-bindings want to promote this to YaST: try { God = zypp::getZYpp(); } catch (ZYppFactoryException & excpt_r) { // use excpt_r.asString() // or take excpt_r.locker_pid() and build yout own message. -- 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=280537 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P5 - None |P4 - Low -- 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=280537 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=280537#c5 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Ladislav Slezak <lslezak@novell.com> 2008-07-30 03:58:57 MDT --- Fixed in SVN TRUNK (yast2-pkg-bindings, yast2) -- 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