Nvidia driver packages prevent suspend due to leftover Systemd units
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-470 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When the nvidia driver packages are uninstalled, they leave some symlinks that prevent suspend.
I whink that, when attempting to suspend, the error is logged as this (edited):
ModemManage
upowerd[5771]: Could not acquire inhibitor lock: GDBus.Error:
dbus-
systemd[1]: systemd-
systemd[1]: systemd-
systemd[1]: systemd-
systemd[1]: Stopped Login Service.
systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
systemd[1]: Starting Login Service...
I've deleted the problematic symlinks while trying to solving the problem, however, they should be these:
/etc/
/etc/
/etc/
/etc/
I've briefly checked before removing them; at least a couple of them were masked, but they were still causing the problem.
I don't see any reason why they should hang around the systemd configuration once the packages are purged. Additionally, this is a problem that is not easy to diagnose.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: nvidia-driver-470 (not installed)
ProcVersionSign
Uname: Linux 5.11.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CasperVersion: 1.445.1
CurrentDesktop: MATE
Date: Mon Aug 30 21:10:52 2021
LiveMediaBuild: Ubuntu-MATE 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819.1)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: nvidia-
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.