I disabled Secure boot in the bios.
Hibernate did not work again.
$ sudo systemctl hibernate
Call to Hibernate failed: Access denied
$ systemctl hibernate
Call to Hibernate failed: Access denied
$ swapon -s
Filename Type Size Used Priority
/swap/swapfile file 25165820 0 -2
/dev/zram0 partition 8388604 0 100
$ cd /tmp
$ sudo audit2allow -b -M systemd_sleep
Option ENRICHED not found - line 9
NOTE - using built-in end_of_event_timeout: 2
NOTE - using built-in logs: /var/log/audit/audit.log
******************** IMPORTANT ***********************
To make this policy package active, execute:
semodule -i systemd_sleep.pp