Reverting to nouveau driver leaves dead nvidia links causing suspend and shutdown to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
After having problems with the nvidia driver 470, I reverted to the nouveau driver, only to find that using suspend or shutdown in the XFCE4 menu just returned to the login page. However, I found that using the 'shutdown' or 'pm-suspend' commands worked OK.
Checking syslog after a failed suspend lead me to /etc/systemd/system directory:
lrwxrwxrwx 1 root root 9 Aug 25 15:04 nvidia-
lrwxrwxrwx 1 root root 9 Aug 25 15:04 nvidia-
lrwxrwxrwx 1 root root 9 Aug 25 15:04 nvidia-
Also, there were two directories containing links to the above 'masked' services. Deleting those links restored suspend and shutdown functionality.
drwxr-xr-x 2 root root 4096 Aug 26 18:14 systemd-
drwxr-xr-x 2 root root 4096 Aug 26 18:08 systemd-
Obviously a problem in removing all the nvidia settings.
tags: | added: 20.04.2 software-properties xubuntu |