Bug 1214436 - `zypper ps -s` won't detect updated libraries core like kernel
Summary: `zypper ps -s` won't detect updated libraries core like kernel
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-21 12:42 UTC by Walddys Emmanuel Dorrejo Céspedes
Modified: 2023-08-21 13:51 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walddys Emmanuel Dorrejo Céspedes 2023-08-21 12:42:37 UTC
Today update the kernel to 6.4.11

The following package requires a system reboot:
kernel-default  6.4.11-1.1  x86_64  openSUSE-Tumbleweed-Oss  openSUSE

but when do `zipper ps -s`:

No core libraries or services have been updated since the last system boot.
Reboot is probably not necessary.
Comment 1 Thorsten Kukuk 2023-08-21 13:26:56 UTC
(In reply to Walddys Emmanuel Dorrejo Céspedes from comment #0)
> Today update the kernel to 6.4.11
> 
> The following package requires a system reboot:
> kernel-default  6.4.11-1.1  x86_64  openSUSE-Tumbleweed-Oss  openSUSE
> 
> but when do `zipper ps -s`:
> 
> No core libraries or services have been updated since the last system boot.
> Reboot is probably not necessary.

Which is correct, please read the manual page about "zypper ps":
"zypper ps lists all processes using deleted files, together
           with the corresponding files, and a service name hint, in case
           it’s a known service. This gives a hint which services may need to
           be restarted after an update."

The kernel is no core library or service.

You are looking for:

"/usr/bin/needs-restarting"

Or

"zypper needs-rebooting
Since the last system boot core libraries or services have been updated.
Reboot is suggested to ensure that your system benefits from these updates."
Comment 2 Walddys Emmanuel Dorrejo Céspedes 2023-08-21 13:51:57 UTC
Ok, thanks for the answer, looks like i miss when this behavior change.