[systemd-devel] Swap gets activated twice (through fstab and gpt generators)
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue Jan 27 19:08:55 PST 2015
On Mon, Jan 26, 2015 at 10:08:02AM +0100, Martin Pitt wrote:
> Peter Mattern [2015-01-23 14:03 +0100]:
> > According to man (http://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html,
> > see section "Description") systemd-gpt-auto-generator is supposed to behave
> > like this by now already.
>
> Supposed yes, but I don't see anything in gpt-auto-generator.c which
> would actually check fstab. The only check I see is
> path_is_mount_point() in probe_and_add_mount(), but as the generators
> all run during very early boot where most of the mounts did not happen
> yet, this doesn't help.
What the man page really means is that if you have a units with the same
name, the one from the generator will have lower priority. Unfortunately
does not help at all for the case at hand.
Zbyszek
More information about the systemd-devel
mailing list