wrong check for "server" in libssl3.postinst
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssl (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
A security update has just been applied to my system for openssl, and the 'reboot required' message just popped on my desktop. I looked to see why this was, and found the following code in the libssl3 postinst:
# Here we issue the reboot notification for upgrades and
# security updates. We do want services to be restarted when we
# update for a security issue, but planned by the sysadmin, not
# automatically.
# Only issue the reboot notification for servers; we proxy this by
# testing that the X server is not running (LP: #244250)
if ! pidof /usr/lib/xorg/Xorg > /dev/null && [ -x /usr/share/
fi
Now, AFAIK this is the only package that interfaces with notify-
Also, this is now inside a block that checks for the presence of needrestart, which is part of the server seed; so in effect this notification now *never* fires on servers, it *only* fires on desktops.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: openssl 3.0.2-0ubuntu1.1
ProcVersionSign
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu May 5 05:39:06 2022
InstallationDate: Installed on 2019-12-23 (863 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: openssl
UpgradeStatus: Upgraded to jammy on 2022-04-15 (19 days ago)
tags: | added: fr-2350 |
tags: | removed: fr-2350 rls-jj-incoming rls-kk-incoming |
Possibly related to https:/ /bugs.launchpad .net/bugs/ 1832421