Bug 27783

Summary: No check for outdated running daemons or programs after update, needrestart, NEW PKG REQUEST
Product: Mageia Reporter: Pavel Kreuzt <pkreuzt>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: ouaurelien
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Pavel Kreuzt 2020-12-08 19:28:00 CET
Description of problem:

When updating the distro, frequently libs or even services are upgraded. Already running processes are not checked and sometimes this breaks some things. It could happen that some program linked to an updated lib is still running with old version. There should be some component checking and notifying which processes are running on old libs or services and need to be restarted. It could even propose to automagically restart them (with some checkbox or similar).

On Debian and Centos they have needrestart (for daemons) and needrestart-session (for programs running in user sessions) which do exactly this. Needrestart offers to restart services, and neddrestart-session brings up a list of programs that should be manually restarted.

We should have at least some mechanism to notify users of this outdated libs problem when updating, be it needrestart (if this could be ported to Mageia) or another native solution.
Comment 1 Aurelien Oudelet 2020-12-09 17:59:51 CET
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

You might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Summary: No check for outdated running daemons or programs after update => No check for outdated running daemons or programs after update, needrestart, NEW PKG REQUEST
Assignee: bugsquad => pkg-bugs
CC: (none) => ouaurelien