[zypp-devel] zypper ps and false positives

Hi all and sorry for the long post, I've been noticing that 'zypper ps' keeps reporting a huge amount of "deleted" files (huge as in 31,963 for example). This behavior persists even after a reboot. More specifically: 'zypper ps' partial output for bash: -------------- 17540 | 17447 | 1000 | user | bash | | /bin/bash (path dev=0,20) | | | | | | /lib64/libnss_files-2.14.1.so (path dev=0,20) | | | | | | /lib64/libnss_nis-2.14.1.so (path dev=0,20) | | | | | | /lib64/libnsl-2.14.1.so (path dev=0,20) [the list for bash continues] -------------- partial output of 'lsof -n -FpcuLRftkn0' (replaced null characters with spaces for easier reading): -------------- p17540 R17447 cbash u1000 Luser fcwd tDIR k131 n/home/user frtd tDIR k1 n/ ftxt tREG k1 n/bin/bash fmem tREG n/bin/bash (path dev=0,20) fmem tREG n/lib64/libnss_files-2.14.1.so (path dev=0,20) fmem tREG n/lib64/libnss_nis-2.14.1.so (path dev=0,20) fmem tREG n/lib64/libnsl-2.14.1.so (path dev=0,20) [the list continues] -------------- Note the lsof entries for '/bin/bash'. The first one with link count 1 is - correctly - ignored however the second one which refers to the same file is reported as a deleted entry by zypp. This seems wrong to me (but I might be wrong myself). I would suspect that some files are preloaded to memory (?) which in turn causes zypp to misinterpret lsof output. I'm running OpenSuSE 12.1, 'zypper --version' reports 'zypper 1.6.16' and 'rpm -qa | grep libzypp' outputs 'libzypp-10.3.2-1.1.1.x86_64'. Root file system is btrfs on an SSD drive. Any insights appreciable. Happy holidays everyone! Tom. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org

On Tue, Dec 20, 2011 at 12:35:23PM +0200, Tom Diamond wrote:
Hi all and sorry for the long post,
I've been noticing that 'zypper ps' keeps reporting a huge amount of "deleted" files (huge as in 31,963 for example). This behavior persists even after a reboot.
Root file system is btrfs on an SSD drive.
Known problem with btrfs. Regards, Arvin -- Arvin Schnell, <aschnell@suse.de> Senior Software Engineer, Research & Development SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
participants (2)
-
Arvin Schnell
-
Tom Diamond