On Friday 15 August 2014 at 12:00:41, Lennart Poettering wrote: 
> [...] 
> > > > 
> > > > So is "Before=local-fs-pre.target" a sufficient ordering for such 
> > > > resume unit?
> > > > 
> > > > Again, the resume unit must be started before any filesystems are 
> > > > (re)mounted
> > > > read-write, either from initrd or not.
> > > 
> > > Yes. That should be enough.
> > > 
> > > > Seems like there's at least systemd-remount-fs.service that also needs 
> > > > to be
> > > > taken into account...
> > > 
> > > That only runs after the transition into the host OS.
> > 
> > I'd like to make this work both with initramfs and without one (provided 
> > that
> > the rootfs has been mounted read-only by using 'ro' kernel cmdline 
> > parameter).
> > 
> > In this case, what are the needed orderings?
> 
> Actually systemd-remount-fs.service uses After=local-fs-pre.target
> anyway, so ordering before l-f-p.t should be nough.

Hm. In git (v215-651-g41488fe), it is

Before=local-fs-pre.target local-fs.target shutdown.target
Wants=local-fs-pre.target

-- 
Ivan Shapovalov / intelfx /

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to