VINDICATORs wrote:
Au passage... test comme ceci :
su -lc 'systemctl start hybrid-sleep.target'
J'ai un messasage d'erreur :
A dependency job for hybrid-sleep.target failed. See 'journalctl -xe' for details.
Du coup le résultat de 'journalctl -xe' est assez long mais la partie intéressante semble être :
-- L'unité (unit) systemd-hybrid-sleep.service a commencé à démarrer.
oct. 06 14:02:28 localhost.localdomain systemd-sleep[19916]: Failed to write mode to /sys/power/disk: Operation not permitted
oct. 06 14:02:28 localhost.localdomain systemd[1]: systemd-hybrid-sleep.service: Main process exited, code=exited, status=1/FAILURE
oct. 06 14:02:28 localhost.localdomain systemd[1]: Failed to start Hybrid Suspend+Hibernate.
-- Subject: L'unité (unit) systemd-hybrid-sleep.service a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) systemd-hybrid-sleep.service a échoué, avec le résultat failed.
oct. 06 14:02:28 localhost.localdomain systemd[1]: Dependency failed for Hybrid Suspend+Hibernate.
-- Subject: L'unité (unit) hybrid-sleep.target a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
J'ai trouvé un problème similaire ici :
Ask Fedora
cat /sys/power/disk renvoie aussi disabled...
Donc cela pourrait être lié à l'UEFI ?
EDIT : Le coupable était le Secure Boot