[Bug 1079991] New: `zypper ps -s` reports that "running processes use deleted files" immediately after start
http://bugzilla.suse.com/show_bug.cgi?id=1079991 Bug ID: 1079991 Summary: `zypper ps -s` reports that "running processes use deleted files" immediately after start Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: mnowak@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Running latest Tumbleweed. When I start the OS and run `zypper ps -s`, I see: """ The following running processes use deleted files: PID | PPID | UID | User | Command | Service -----+------+-----+------+----------------------+-------- 2532 | 2502 | 463 | gdm | gnome-session-binary | 2538 | 2494 | 463 | gdm | at-spi-bus-launcher | 2555 | 2532 | 463 | gdm | gnome-shell | 2626 | 2623 | 463 | gdm | ibus-dconf | 2650 | 2532 | 463 | gdm | gsd-a11y-keyboard | 2653 | 2532 | 463 | gdm | gsd-a11y-settings | 2669 | 2532 | 463 | gdm | gsd-keyboard | 2695 | 2532 | 463 | gdm | gsd-sharing | 2699 | 2532 | 463 | gdm | gsd-smartcard | 2700 | 2532 | 463 | gdm | gsd-sound | You may wish to restart these processes. See 'man zypper' for information about the meaning of values in the above table. """ It may be technically true, but the 'ps -s' check when run after any zypper installation/update process always reports that something might be restarted. Such a check looks a bit superfluous. Older bug #1046417 on the same topic. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c1
Michael Andres
lsof -n -FpcuLRftkn >/tmp/bsc1079991.lsof
Please run the above command (while zypper is showing the false positives) and attach the tmp file. We'll try to enhance the filter. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c2
--- Comment #2 from Michael Andres
lsof -n -FpcuLRftkn0 >/tmp/bsc1079991.lsof
If possible run it with the additional `-0`. The binary output is easier to consume for us. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c3
Michal Nowak
lsof -n -FpcuLRftkn0 >/tmp/bsc1079991.lsof
Is it really the right command? Size of the output is close to 10 MB, records paths to a lot of files on my system, including some in /home... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c4
Michael Andres
zypper ps | sed -n 's/^[^P].*| \([^ ]*\).*/\1/p' | sort -u > /tmp/lsof_filter_files
- We just need the info for these files (or the subset you feel comfortable with):
lsof -n -FpcuLRftkn0 | tr '\0' '@' | grep -f /tmp/lsof_filter_files > /tmp/bsc1079991.lsof
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c5
Michal Nowak
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c6
Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c7
--- Comment #7 from Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c8
--- Comment #8 from Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c9
Benjamin Zeller
http://bugzilla.suse.com/show_bug.cgi?id=1079991
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1079991
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1079991
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c10
--- Comment #10 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c11
--- Comment #11 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1079991
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c12
--- Comment #12 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1079991
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1079991
http://bugzilla.suse.com/show_bug.cgi?id=1079991#c13
--- Comment #13 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com