Mailinglist Archive: zypp-devel (27 mails)

< Previous Next >
Re: [zypp-devel] libzypp-6.13.1:Services using old libraries after update
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Tue, 25 Aug 2009 17:19:29 +0200
  • Message-id: <200908251719.30077.ma@xxxxxxx>
On Friday 07 August 2009 15:12:26 Jano Kupec wrote:
On 08/07/2009 11:17 AM, Michael Andres wrote:
Hi!

libzypp-6.13.1 provides a new class CheckAccessDeleted to help finding
processed accessing deleted files or libraries. Fro details see:

http://mlandres.blogspot.com/2009/08/libzypp-6131services-using-old.html

This is nice! I'm adding it currently to zypper. I thought it would be
good to run this check after each commit. But as i wrote in fate #300763:

after an upgrade of zlib one gets quite a number of hits :O) The
filelist can also be huge (is this the list of all files used by the
process?).

It's the list of all meanwhile deleted open or memory mapped files of the
process.

I'll add something to suppress the duplicates. Maybe add some classification,
so you can concentrate on showing processes using deleted libs.

The ones just accessing deleted files are probably not that interesting.


I guess showing an abbreviated (or at least terse) list of
processes would be appropriate, with a hint how to view the complete
list with all of the affected files. What about a separate command, or

The command could be: zypp-CheckAccessDeleted (/usr/bin)

write the complete list to a file in ~/.zypp and tell the user to view
this file?

No please. If one is actually interested in this, he can call e.g.
zypp-CheckAccessDeleted to get the current status. Storing this in a file is
IMO wasted disc space.


Example output attached. Should i sort the list by PID, or something else?



--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >