[systemd-devel] Swap gets activated twice (through fstab and gpt generators)

Lennart Poettering lennart at poettering.net
Wed Jan 28 05:23:21 PST 2015

On Wed, 28.01.15 14:16, Martin Pitt (martin.pitt at ubuntu.com) wrote:

> Hey Lennart,
> Lennart Poettering [2015-01-28 14:06 +0100]:
> > Ah, thanks! That was helpful.
> > 
> > I apparently fucked up the new linked list iteration macro I added for
> > this. I think this should make it work:
> > 
> > http://cgit.freedesktop.org/systemd/systemd/commit/?id=cdda4aa8d20c2679cc937d40e793abe7806f17cb
> > 
> > Can you check?
> Boots fine again, thanks! I suppose this could do with an unit test? :-)

Well, there is one actually, except it didn't check for the one
corner case that mattered here. I have already queued up a patch that
duplicates the test cases for these corner cases. It's actually what I
did my testing with to track this down...


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list