FS#64833 - Systemd-logind fails to detect swapfile in /home partition

Attached to Project: Arch Linux
Opened by Fumikage Tokoyami (DarkShadowFT) - Saturday, 14 December 2019, 16:47 GMT
Last edited by freswa (frederik) - Friday, 21 February 2020, 21:16 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After the recent system upgrade, systemd-logind fails to detect my swapfile for hibernation (hibernation was properly working for this swapfile before the upgrade) located at /home/swapfile. The file exists and home partition is indeed mounted at /home.

If I move the swapfile to /swapfile, systemd-logind has no problem finding it and hibernation works. RESUME=UUID was of /home when I was trying to get it to work of /home and /sys/power/resume and resume_offset have correct values and /etc/fstab also.

Additional info:
* systemd 244-1
* Config for /etc/systemd/logind.conf: Default (except HolfOffTimeoutSec=3s)
Failed to open /home/swapfile: No such file or directory is the error.

Output of ll /home/swapfile
-rw------- 1 root root 11G Dec 14 11:39 /home/swapfile

Steps to reproduce:
Diagnose what's the problem with it being located in /home.
This task depends upon

Closed by  freswa (frederik)
Friday, 21 February 2020, 21:16 GMT
Reason for closing:  None
Additional comments about closing:  This seems pretty stalled to me. If it's still an issue. Please fill a re-open request. Thank you :)

Loading...