Bug 1201525

Summary: Zypper keeps listing processes using deleted files
Product: [openSUSE] openSUSE Distribution Reporter: Forgotten User 2169489102 <forgotten_2169489102>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: forgotten_2169489102
Version: Leap 15.3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Output of "LANG=C sudo zypper ps > /home/david/Plocha/zypper_ps.txt"
output of "sudo lsof -n -FpcuLRftkn0 > Plocha/bsc976863.lsof.log"
Output of "sudo ZYPP_LOGFILE=- zypper ps 2> /home/david/Plocha/bsc1201525.zypper.log"
Output of "sudo lsof -n -FpcuLRftkn0 >/home/david/Plocha/1201525.lsof.log

Description Forgotten User 2169489102 2022-07-14 20:19:03 UTC
Created attachment 860189 [details]
Output of "LANG=C sudo zypper ps > /home/david/Plocha/zypper_ps.txt"

Overview:
For some time now, "zypper ps" keeps reporting a lot of items. Doesn't matter if I restart an associated service unit or the whole computer - after reboot the items are still there.

Steps to reproduce:
1. Perform system update
2. Reboot system
3. Check the output of "zypper ps"

Actual results:
The output of "zypper ps" keeps listing some processes.

Expected results:
The output of "zypper ps" shows no processes.

Might be related to my other bug report when running openSUSE in WSL: https://bugzilla.opensuse.org/show_bug.cgi?id=1196377

Seemingly related to other report: https://bugzilla.opensuse.org/show_bug.cgi?id=976863, but the reporter there claims the problem only manifests with vanilla kernel. I'm using distribution kernel-preempt.
Comment 1 Forgotten User 2169489102 2022-07-14 20:23:56 UTC
Created attachment 860190 [details]
output of "sudo lsof -n -FpcuLRftkn0 > Plocha/bsc976863.lsof.log"
Comment 2 Forgotten User 2169489102 2022-07-14 20:32:05 UTC
Created attachment 860191 [details]
Output of "sudo ZYPP_LOGFILE=- zypper ps 2> /home/david/Plocha/bsc1201525.zypper.log"
Comment 3 Forgotten User 2169489102 2022-07-14 20:36:50 UTC
Created attachment 860192 [details]
Output of "sudo lsof -n -FpcuLRftkn0 >/home/david/Plocha/1201525.lsof.log
Comment 4 Forgotten User 2169489102 2022-07-16 00:07:16 UTC
I found out I was using drm-tip branch of the kernel unknowingly (make install messed with the Grub config). After switching to the distro kernel, the problem is gone. Thus I'm closing the bug.
Comment 5 Michael Andres 2022-07-19 10:54:29 UTC
Thanks for the info!