Bug 32505 - Packaging issue of nvidia-resume and nvidia-suspend services
Summary: Packaging issue of nvidia-resume and nvidia-suspend services
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-10 16:57 CET by Chris Denice
Modified: 2023-11-10 18:49 CET (History)
1 user (show)

See Also:
Source RPM: x11-driver-video-nvidia*
CVE:
Status comment:


Attachments

Description Chris Denice 2023-11-10 16:57:16 CET
Description of problem:

If you install nvidia drivers, any version, the packages x11-driver-video-nvidia* install two services helping to suspend and resume the system:

/usr/lib/systemd/system/nvidia-resume.service
/usr/lib/systemd/system/nvidia-suspend.service

If you uninstall the nvidia drivers and modules, these files are removed but not their dependencies created during the installation.

As such, doing:

systemctl suspend

will crash after having uninstalled all nvidia drivers with a message claiming that nvidia-suspend and nvidia-resume services are missing.

NB: This is happening to me now due to my card being now only supported by nouveau. So I had to uninstall all nvidia drivers and the system does not suspend nor hibernate anymore.


For Ghibo I guess, the fix is simple. At uninstall, before removing the nvidia service files, the SPEC files should force a:

systemctl disable nvidia-resume.service
systemctl disable nvidia-suspend.service

etc...


Thanks,
Cheers,
Chris.
Morgan Leijström 2023-11-10 18:49:15 CET

Assignee: bugsquad => kernel
CC: (none) => fri


Note You need to log in before you can comment on or make changes to this bug.