gnome-shell update should not request a reboot if it is not running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
The gnome-shell package requests a reboot even if no GNOME desktop is running.
This reminds me too much of how Microsoft Windows only knows about itself. Windows assumes it is the only OS and overwrites GRUB, and now gnome-shell is assuming it's the only desktop environment (even ignoring the fact that Linux always has TTY too) and requests that everyone reboot even if just its users need to relog. It's also too much like how Windows will tell the user to restart their computer when just a single service needs to be restarted, while gnome-shell is now also telling the user to restart their computer if the just need to relog, possibly with a `killall5`.
$ lsb_release -rd
Description: Ubuntu 22.10
Release: 22.10
$ apt-cache policy gnome-shell
gnome-shell:
Installed: 43.1-0ubuntu1
Candidate: 43.1-0ubuntu1
Version table:
*** 43.1-0ubuntu1 500 (phased 80%)
500 https:/
100 /var/lib/
43.0-1ubuntu2 500
500 https:/
# Expected Behavior
There should not be a reboot notification in my KDE tray after running apt upgrade. No gnome desktop is logged in.
# Actual Behavior
There is a needless reboot notification in my KDE tray. `/var/run/
$ cat /var/run/
gnome-shell
# Analysis
In gnome-shell_
---
ProblemType: Bug
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
DisplayManager:
DistroRelease: Ubuntu 22.10
Package: gnome-shell 43.1-0ubuntu1
PackageArchitec
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
ShellJournal: -- No entries --
Tags: third-party-
Uname: Linux 6.0.12-surface x86_64
UpgradeStatus: Upgraded to kinetic on 2022-09-29 (77 days ago)
UserGroups: dialout docker kvm lpadmin lxd plugdev sudo systemd-journal video wireshark
_MarkForUpload: True
apport information