[zypp-devel] libzypp-6.13.1:Services using old libraries after update
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 -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com 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@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
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?). 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 write the complete list to a file in ~/.zypp and tell the user to view this file? Example output attached. Should i sort the list by PID, or something else? -- cheers, jano Ján Kupec YaST team ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz ---------------------------------------------------------(EOF)---
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@novell.com 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@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Jano Kupec
-
Michael Andres