[Bug 1205636] New: zypper ps -s shows wrong command and no service
https://bugzilla.suse.com/show_bug.cgi?id=1205636 Bug ID: 1205636 Summary: zypper ps -s shows wrong command and no service Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: kukuk@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After zypper dup and restarting all services reported by zypper ps -s on openSUSE Tumbleweed, USB-hotplug did not work anymore. Reason is that zypper shows wrong commands and thus not the service, which needs a restart: # zypper ps -s The following running processes use deleted files: PID | PPID | UID | User | Command | Service ------+------+------------+------------+-------------+-------- 1 | 0 | 0 | root | systemd | 2682 | 2680 | 1366800143 | kukuk | systemd | 24860 | 1 | 0 | root | udevadm | But PID 24860 is: root 24860 0.0 0.1 29840 1436 ? Ss Nov21 0:00 /usr/lib/systemd/systemd-udevd Since zypper detects the wrong command and thus does not show, that systemd-udevd.service needs to be restarted, running udevd and installed udev rules don't match and in this case e.g. USB-hotplug does not work anymore, since no more kernel modules get loaded. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1205636
Thorsten Kukuk
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c1
Michael Andres
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c2
Thorsten Kukuk
https://bugzilla.suse.com/show_bug.cgi?id=1205636
Andreas Vetter
https://bugzilla.suse.com/show_bug.cgi?id=1205636
Michael Andres
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c3
--- Comment #3 from Thorsten Kukuk
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c4
Michael Andres
https://bugzilla.suse.com/show_bug.cgi?id=1205636
Michael Andres
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c5
--- Comment #5 from Andreas Vetter
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c6
--- Comment #6 from Michael Andres
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c7
--- Comment #7 from Andreas Vetter
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c8
--- Comment #8 from Michael Andres
cat /proc/PID/cgroup
To detect a service we're looking for a line matching
"(0::|[0-9]+:name=systemd:)/system.slice/(.*/)?(.*).service$"
So the question is how /proc/PID/cgroup looks like for the udevadm command? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c9
Michael Andres
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c10
--- Comment #10 from Thorsten Kukuk
On my TW $ cat /proc/592/cgroup 0::/system.slice/systemd-udevd.service
On all of my Tumbleweed and MicroOS systems: man (manpages.o.o):~ # cat /proc/465/cgroup 0::/system.slice/systemd-udevd.service/udev There is always an additional "/udev" at the end, which of course does not match your regex. I don't see this on any SLE15 SP3/SLE15 SP4 systems. So seems to be a change in Factory. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c11
Michael Andres
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c13
--- Comment #13 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c14
--- Comment #14 from Maintenance Automation
https://bugzilla.suse.com/show_bug.cgi?id=1205636
https://bugzilla.suse.com/show_bug.cgi?id=1205636#c15
--- Comment #15 from Maintenance Automation
participants (1)
-
bugzilla_noreply@suse.com