Re: [linux-pm] [PATCH] PM / Hibernate: Restore old swap signature to avoid user space breakage

From: Rafael J. Wysocki
Date: Sat Dec 11 2010 - 15:37:08 EST


On Saturday, December 11, 2010, Bojan Smojver wrote:
> On Sat, 2010-12-11 at 20:58 +0100, Rafael J. Wysocki wrote:
> > I'm afraid I'll have to push this patch to Linus. Turns out that
> > Fedora 14 doesn't pass the resume= argument to the kernel and tries to
> > trigger the resume from initramfs. Since the signature changed, it
> > can't find the image and the resume fails, even if both the resume and
> > image kernels are the same.
>
> Why don't you just file a Fedora bug asking for the library to be
> upgraded or patched?

Because that wouldn't fix the user space that _already_ is out there.

> PS. Karel, who also replied to this thread, has a Red Hat address and he
> seems to be the maintainer of util-linux-ng package. He should be able
> to fix this.

That doesn't matter. The rule is we don't break user space, even if it does
unreasonable things.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/