Description of problem: the command needs-restarting is supposed to say if a reboot is needed. However I obtain only a long list: ... Failed to read PID 6165's smaps. Failed to read PID 6937's smaps. Failed to read PID 8246's smaps. Failed to read PID 8248's smaps. Failed to read PID 13493's smaps. Failed to read PID 13568's smaps. Failed to read PID 109956's smaps. Failed to read PID 115331's smaps. ...
This is a DNF thingy: needs-restarting - redirecting to DNF needs-restarting Plugin needs-restarting looks through running processes and tries to de‐ tect those that use files from packages that have been updated after the given process started. Such processes are reported by this tool. This is an MGA8 report. MGA9 (perhaps also 8) has for yum-utils: dnf-plugins-core-4.3.1-1.mga9.src.rpm The same thing happens under Mageia 9 when run as *normal user*. When run as sudo/root, it takes a long time but without those messages. Could it be as simple as that?
CC: (none) => lewyssmith
Not sure. The list is shorter: [root@YZenbook ~]# needs-restarting Failed to read PID 625821's smaps. Failed to read PID 629392's smaps.
That looks better. It is reasonable to have to run this 'privilaged', since both doing the system updates and restarting affected processes would normally require this. I cannot judge whether this is a real bug, or just a usability issue. Marking for Errata 9 to note it anyway. No one packager in view, so assigning this globally.
Whiteboard: (none) => MGA8TOOSource RPM: yum-utils-4.0.9-1 => dnf-plugins-coreAssignee: bugsquad => pkg-bugsSummary: needs-restarting outputs only Failed to read PID nnn's smaps => needs-restarting outputs only "Failed to read PID nnn's smaps" if not run as root"Version: 8 => CauldronKeywords: (none) => FOR_ERRATA9
@Neal, do you have an advise?
CC: (none) => ngompa13
Still the same?
CC: (none) => fri