[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-02-02 Thread Bug Watch Updater
** Changed in: systemd (Debian) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1399595 Title: systemd is activating swap twice, through both fstab and gpt

[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-02-02 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 218-7ubuntu1 --- systemd (218-7ubuntu1) vivid; urgency=medium * Merge with Debian unstable. Remaining Ubuntu changes: - Hack to support system-image read-only /etc, and modify files in /etc/writable/ instead. - Keep our much

[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-01-28 Thread Tom H
Fixed: # journalctl | grep swap Jan 28 07:35:09 yoga.lenovo systemd[1]: Activating swap Swap Partition... Jan 28 07:35:09 yoga.lenovo systemd[1]: Activating swap /dev/disk/by-uuid/73d341f1-eedc-43fc-9e53-ba4194dae3fb... Jan 28 07:35:09 yoga.lenovo kernel: Adding 8298492k swap on /dev/sda3.

[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-01-28 Thread Martin Pitt
Fixed upstream: http://cgit.freedesktop.org/systemd/systemd/commit/?id=7663df377016 http://cgit.freedesktop.org/systemd/systemd/commit/?id=cdda4aa8d http://cgit.freedesktop.org/systemd/systemd/commit/?id=37cf8fee4 I got confirmation in the Debian bug that this works, but confirmation from

[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-01-28 Thread Martin Pitt
Ah, so you just did, thanks! The remaining worry is that in your case the gpt generator won, but we want to prefer the fstab one. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1399595 Title:

[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-01-28 Thread Martin Pitt
Upstream has a proposed patch for this. I built a package for vivid with this, would you be able to test this? https://launchpad.net/~pitti/+archive/ubuntu/ppa Thanks in advance! ** Changed in: systemd (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) -- You received this bug

Re: [Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-01-28 Thread Martin Pitt
Hey Tom, Tom H [2015-01-28 14:55 -]: I wasn't sure whether I had the latest or whether I had a previous version but you didn't bump up the package version so I ran 'apt-get --reinstall install udev systemd libudev1 libsystemd0 libpam-systemd libgudev-1.0-0 gir1.2-gudev-1.0'. Actually I

[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-01-28 Thread Tom H
You're welcome. I wasn't sure whether I had the latest or whether I had a previous version but you didn't bump up the package version so I ran 'apt-get --reinstall install udev systemd libudev1 libsystemd0 libpam-systemd libgudev-1.0-0 gir1.2-gudev-1.0'. Please let me know if you'd some more

[Bug 1399595] Re: systemd is activating swap twice

2015-01-23 Thread Martin Pitt
Thanks for the additional data, that helps a lot. I'll forward this to upstream now. I have an idea how to fix that, but I'd like to discuss it upstream first. (Until your post yesterday, I've had sda3 commented out.) Was that only in response to that bug? It would be weird if that bug would

[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-01-23 Thread Martin Pitt
** Bug watch added: Debian Bug tracker #772182 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772182 ** Also affects: systemd (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772182 Importance: Unknown Status: Unknown -- You received this bug notification because

[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-01-23 Thread Tom H
Yes. I commented out sda3 in order to suppress the errors. (Swap was mounted nonetheless.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1399595 Title: systemd is activating swap twice, through

[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-01-23 Thread Martin Pitt
Forwarded to http://lists.freedesktop.org/archives/systemd- devel/2015-January/027314.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1399595 Title: systemd is activating swap twice, through

[Bug 1399595] Re: systemd is activating swap twice, through both fstab and gpt generators

2015-01-23 Thread Bug Watch Updater
** Changed in: systemd (Debian) Status: Unknown = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1399595 Title: systemd is activating swap twice, through both fstab and gpt

[Bug 1399595] Re: systemd is activating swap twice

2015-01-23 Thread Tom H
Thanks again for looking into this. systemd-gpt-auto-generator output attached. $ cat /etc/fstab # filesystem mountpoint type options dump pass # sda1 UUID=6151-AFD6/boot/efi vfat defaults 01 # sda2

[Bug 1399595] Re: systemd is activating swap twice

2015-01-22 Thread Martin Pitt
This doesn't happen on my system, but this could be a bad interaction between the GPT and the fstab generator. Can you please run the following: mkdir /tmp/fstab; /lib/systemd/system-generators/systemd-fstab-generator /tmp/fstab x x mkdir /tmp/gpt; sudo

[Bug 1399595] Re: systemd is activating swap twice

2015-01-22 Thread Tom H
Thanks. The gpt generator failed: $ sudo /lib/systemd/system-generators/systemd-gpt-auto-generator /tmp/gpt x x Failed to create unit file x/dev-sda3.swap: No such file or directory $ tar -tf /tmp/result.tar tmp/fstab/ tmp/fstab/boot-efi.mount

[Bug 1399595] Re: systemd is activating swap twice

2015-01-22 Thread Martin Pitt
Tom, ah, sorry about that, I didn't know that the gpt generator also uses the late argument (it wasn't here, but then again it doesn't produce anything for me). But indeed it seems to produce a swap unit for you, which explains this bug. Can you please re-do this with mkdir /tmp/gpt; sudo

[Bug 1399595] Re: systemd is activating swap twice

2014-12-06 Thread Tom H
(I can't find the option to tag this report with systemd-boot. Is this a question of Launchpad permissions or am I too stupid to find the right thing to click?) I saw that /lib/systemd/system-generators/ has systemd-fstab-generator and systemd-gpt-auto-generator so I disabled swap in my fstab:

[Bug 1399595] Re: systemd is activating swap twice

2014-12-06 Thread Martin Pitt
I can't find the option to tag this report Tags: right below the description, above the first comment. ** Tags added: systemd-boot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1399595 Title: