** Description changed:

+ [Impact]
+ 
+  * On desktop, upgrading libssl1.1 does not show reboot required
+ notification
+ 
+ [Test Case]
+ 
+  * Boot ubuntu desktop
+  * Upgrade libssl1.1
+  * Observe reboot notification pop-up from update-notifier
+ 
+ [Regression Potential]
+ 
+  * Tweaking postinst only to correct for the Xorg path. Current code is
+ innert, but is well excercised in prior releases.
+ 
+ [Other Info]
+  
+  * Original bug report:
+ 
  Hello, the openssl library postinst file is using pidof /usr/bin/X, but
  that doesn't appear to be the path to the X11 server any more:
  
  debian/libssl1.1.postinst:
  
-         # Only issue the reboot notification for servers; we proxy this by
-         # testing that the X server is not running (LP: #244250)
-         if ! pidof /usr/bin/X > /dev/null && [ -x 
/usr/share/update-notifier/notify-reboot-required ]; then
-                 /usr/share/update-notifier/notify-reboot-required
-         fi
- 
+         # Only issue the reboot notification for servers; we proxy this by
+         # testing that the X server is not running (LP: #244250)
+         if ! pidof /usr/bin/X > /dev/null && [ -x 
/usr/share/update-notifier/notify-reboot-required ]; then
+                 /usr/share/update-notifier/notify-reboot-required
+         fi
  
  On my 18.04 LTS laptop:
  
  $ ps auxw | grep Xorg
  root      2440  0.5  0.4 495932 78996 tty7     Rsl+ May10 264:45 
/usr/lib/xorg/Xorg :0 vt7 -nolisten tcp -auth /var/l
  
  Thanks
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: openssl 1.1.1-1ubuntu2.1~18.04.1
  ProcVersionSignature: Ubuntu 4.15.0-50.54-generic 4.15.18
  Uname: Linux 4.15.0-50-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: amd64
  Date: Tue Jun 11 18:06:51 2019
  InstallationDate: Installed on 2012-10-18 (2427 days ago)
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 
(20120823.1)
  ProcEnviron:
-  TERM=rxvt-unicode-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=rxvt-unicode-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: openssl
  UpgradeStatus: Upgraded to bionic on 2018-05-02 (406 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832421

Title:
  openssl reboot needed message using incorrect path to X server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1832421/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to