On 10/18/18 6:02 AM, Dusty Mabe wrote:
On 10/18/2018 07:58 AM, Stephen Gallagher wrote:
> On Wed, Oct 17, 2018 at 11:27 PM Dusty Mabe <dusty(a)dustymabe.com> wrote:
>> For BZ1206936  we started adding resume= kernel command line by
>> default  in fedora installs. This is causing issues for ostree
>> based systems, which I haven't fully investigated yet, but figured
>> I would ask the question:
>> Is resume=/path/to/swap something we really want on server installs
>> like Fedora Server and Fedora Atomic Host?
> It seems *unnecessary*, but I'm not sure I understand what problems it
> causes. Could you got into more detail there?
Basically for some reason on ostree based systems the LV isn't available
before the systemd unit for hibernation runs and boot has to wait for that
unit to timeout before continuing. I'm still investigating why that is.
It does sound like anaconda could be more picky here for when it adds
this. Additional to the atomic/ostree case, if you have secure boot
enabled it's useless to add, if your swap is smaller than your memory
it's useless to add, etc.