dustymabe added a new comment to an issue you are following:
``
@walters
What Anaconda is doing here in hardcoding the resume= argument seems pretty broken to me.
Why would I want to enable hibernation on my servers?
I don't disagree, but I just checked and this was enabled in f28 too. So the
"timing out" is new functionality in f29. We don't see this issue on our
cloud images because we don't have swap on them so no `resume=/path/to/swap` gets
added by default.
I just checked and on fedora server we do get the `resume=` option on the kernel command
line (i.e it gets added for all fedora) but I don't notice the delay timeout that I do
on Atomic Host:
Atomic Host
```
[root@localhost ~]# journalctl | grep swap
Oct 17 23:04:11 localhost kernel: Command line:
BOOT_IMAGE=/ostree/fedora-atomic-8f228e830fca568a137305e295ef96bafa0d08b0e27aa8c133a3bd24fff07280/vmlinuz-4.18.12-300.fc29.x86_64
resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap
root=/dev/mapper/fedora-root
ostree=/ostree/boot.0/fedora-atomic/8f228e830fca568a137305e295ef96bafa0d08b0e27aa8c133a3bd24fff07280/0
Oct 17 23:04:11 localhost kernel: Kernel command line:
BOOT_IMAGE=/ostree/fedora-atomic-8f228e830fca568a137305e295ef96bafa0d08b0e27aa8c133a3bd24fff07280/vmlinuz-4.18.12-300.fc29.x86_64
resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap
root=/dev/mapper/fedora-root
ostree=/ostree/boot.0/fedora-atomic/8f228e830fca568a137305e295ef96bafa0d08b0e27aa8c133a3bd24fff07280/0
Oct 17 23:04:11 localhost kernel: zswap: loaded using pool lzo/zbud
Oct 17 23:04:11 localhost dracut-cmdline[204]: Using kernel command line parameters:
BOOT_IMAGE=/ostree/fedora-atomic-8f228e830fca568a137305e295ef96bafa0d08b0e27aa8c133a3bd24fff07280/vmlinuz-4.18.12-300.fc29.x86_64
resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap
root=/dev/mapper/fedora-root
ostree=/ostree/boot.0/fedora-atomic/8f228e830fca568a137305e295ef96bafa0d08b0e27aa8c133a3bd24fff07280/0
Oct 17 23:05:41 localhost systemd[1]: dev-mapper-fedora\x2dswap.device: Job
dev-mapper-fedora\x2dswap.device/start timed out.
Oct 17 23:05:41 localhost systemd[1]: Timed out waiting for device
dev-mapper-fedora\x2dswap.device.
Oct 17 23:05:41 localhost systemd[1]: Dependency failed for Resume from hibernation using
device /dev/mapper/fedora-swap.
Oct 17 23:05:41 localhost systemd[1]:
systemd-hibernate-resume(a)dev-mapper-fedora\x2dswap.service: Job
systemd-hibernate-resume(a)dev-mapper-fedora\x2dswap.service/start failed with result
'dependency'.
Oct 17 23:05:41 localhost systemd[1]: dev-mapper-fedora\x2dswap.device: Job
dev-mapper-fedora\x2dswap.device/start failed with result 'timeout'.
Oct 17 23:05:41 localhost dracut-initqueue[484]: Scanning devices sda2 for LVM logical
volumes fedora/root fedora/swap
Oct 17 23:05:41 localhost dracut-initqueue[484]: inactive '/dev/fedora/swap' [1.50
GiB] inherit
Oct 17 23:05:43 localhost.localdomain kernel: Adding 1572860k swap on
/dev/mapper/fedora-swap. Priority:-2 extents:1 across:1572860k FS
```
Fedora Server
```
[root@localhost ~]# journalctl | grep swap
Oct 17 22:46:45 localhost.localdomain kernel: Command line:
BOOT_IMAGE=/vmlinuz-4.18.14-300.fc29.x86_64 root=/dev/mapper/fedora-root ro
resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
LANG=en_US.UTF-8
Oct 17 22:46:45 localhost.localdomain kernel: Kernel command line:
BOOT_IMAGE=/vmlinuz-4.18.14-300.fc29.x86_64 root=/dev/mapper/fedora-root ro
resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
LANG=en_US.UTF-8
Oct 17 22:46:45 localhost.localdomain kernel: zswap: loaded using pool lzo/zbud
Oct 17 22:46:45 localhost.localdomain dracut-cmdline[199]: Using kernel command line
parameters: BOOT_IMAGE=/vmlinuz-4.18.14-300.fc29.x86_64 root=/dev/mapper/fedora-root ro
resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
LANG=en_US.UTF-8
Oct 17 22:46:45 localhost.localdomain dracut-initqueue[298]: Scanning devices vda2 for
LVM logical volumes fedora/root fedora/swap
Oct 17 22:46:45 localhost.localdomain dracut-initqueue[298]: inactive
'/dev/fedora/swap' [1.50 GiB] inherit
Oct 17 22:46:46 localhost.localdomain systemd[1]: Found device /dev/mapper/fedora-swap.
Oct 17 22:46:46 localhost.localdomain systemd[1]: Starting Resume from hibernation using
device /dev/mapper/fedora-swap...
Oct 17 22:46:46 localhost.localdomain systemd-hibernate-resume[395]: Could not resume from
'/dev/mapper/fedora-swap' (253:1).
Oct 17 22:46:46 localhost.localdomain systemd[1]: Started Resume from hibernation using
device /dev/mapper/fedora-swap.
Oct 17 22:46:46 localhost.localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295
ses=4294967295 subj=kernel
msg='unit=systemd-hibernate-resume@dev-mapper-fedora\x2dswap comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 17 22:46:46 localhost.localdomain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295
ses=4294967295 subj=kernel
msg='unit=systemd-hibernate-resume@dev-mapper-fedora\x2dswap comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 17 22:46:47 localhost.localdomain kernel: Adding 1572860k swap on
/dev/mapper/fedora-swap. Priority:-2 extents:1 across:1572860k FS
```
On Atomic Host I'll highlight the dracut-initqueue message and also the timeout
error:
```
Oct 17 23:05:41 localhost systemd[1]: dev-mapper-fedora\x2dswap.device: Job
dev-mapper-fedora\x2dswap.device/start timed out.
Oct 17 23:05:41 localhost systemd[1]: Timed out waiting for device
dev-mapper-fedora\x2dswap.device.
Oct 17 23:05:41 localhost systemd[1]: Dependency failed for Resume from hibernation using
device /dev/mapper/fedora-swap.
...
...
Oct 17 23:05:41 localhost dracut-initqueue[484]: Scanning devices sda2 for LVM logical
volumes fedora/root fedora/swap
Oct 17 23:05:41 localhost dracut-initqueue[484]: inactive '/dev/fedora/swap' [1.50
GiB] inherit
```
And the same for Fedora Server
```
Oct 17 22:46:45 localhost.localdomain dracut-initqueue[298]: Scanning devices vda2 for
LVM logical volumes fedora/root fedora/swap
Oct 17 22:46:45 localhost.localdomain dracut-initqueue[298]: inactive
'/dev/fedora/swap' [1.50 GiB] inherit
Oct 17 22:47:55 localhost.localdomain systemd[1]: Found device /dev/mapper/fedora-swap.
Oct 17 22:47:55 localhost.localdomain systemd[1]: Starting Resume from hibernation using
device /dev/mapper/fedora-swap...
```
so it looks like something in dracut is causing LVM to get scanned early on Fedora Server,
but not on Atomic Host.
``
To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/513