[Bug 294094] New: libzypp should log more details when another instance is running
https://bugzilla.novell.com/show_bug.cgi?id=294094 Summary: libzypp should log more details when another instance is running Product: openSUSE 10.3 Version: Alpha 6 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: lslezak@novell.com QAContact: kkaempf@novell.com Found By: Development libzypp should be more verbose if the zypp lock is locked by another process. The current output is: 2007-06-22 09:26:03 <1> tobi-linux(13068) [wfm] PkgModuleFunctions.cc(zypp_ptr):211 Initializing Zypp library... 2007-06-22 09:26:03 <1> tobi-linux(13068) [zypp] ZYppFactory.cc(zyppLocked):194 found lockfile /var/run/zypp.pid 2007-06-22 09:26:03 <1> tobi-linux(13068) [zypp] ZYppFactory.cc(shLockFile):117 locked (shared) 2007-06-22 09:26:03 <1> tobi-linux(13068) [zypp] ZYppFactory.cc(lockerPid):180 read: Lockfile /var/run/zypp.pid has pid 12950 (our pid: 13068) 2007-06-22 09:26:03 <1> tobi-linux(13068) [zypp] ZYppFactory.cc(isProcessRunning):168 Checking /proc/12950/status to determine if pid is running: 12950 2007-06-22 09:26:03 <1> tobi-linux(13068) [zypp] ZYppFactory.cc(zyppLocked):212 12950 is running and has a ZYpp lock. Sorry 2007-06-22 09:26:03 <5> tobi-linux(13068) [base] Exception.cc(log):94 ZYppFactory.cc(getZYpp):334 THROW: ZYppFactory.cc(getZYpp):334: Software management is already running. The log should contain name of the process (or path to the executable). It's impossible to check from the log what exactly has happened (Is there another yast instance or zypper is running in a cron job or ...??) At least /proc/PID/cmdline and target of /proc/PID/exe should be also logged, it would help debugging reported problems in bugzilla when it's hard to get info about that PID. -- 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=294094 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com, ma@novell.com AssignedTo|kkaempf@novell.com |ma@novell.com -- 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=294094 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=294094#c1 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Michael Andres <ma@novell.com> 2007-12-10 04:53:15 MST --- Fixed in SVN for libzypp 4.1.6. Now the log looks like this: Checking /proc/31143/status{- 0444 0/0 size 0} /proc/31143/exe -> /Local/ma/zypp-TRUNK/BUILD/libzypp/devel/devel.ma/NewPool /proc/31143/cmdline: ./NewPool 31143 is running and has a ZYpp lock. Sorry -- 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