Re: [systemd-devel] [RFC] [PATCHv3 0/3] resume: implement support for resuming from hibernation

2014-08-26 Thread Ivan Shapovalov
On Tuesday 26 August 2014 at 03:00:30, Lennart Poettering wrote: > On Mon, 25.08.14 22:23, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > > So, I am pretty sure we don#t want an explicit After= order here between > > > dbus and systemd-resume@.service... > > > > > > Hmm, but yuck, I

Re: [systemd-devel] [RFC] [PATCHv3 0/3] resume: implement support for resuming from hibernation

2014-08-25 Thread Lennart Poettering
On Mon, 25.08.14 22:23, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > So, I am pretty sure we don#t want an explicit After= order here between > > dbus and systemd-resume@.service... > > > > Hmm, but yuck, I don't see a nice way to fix this for good. Grrr. > > > > I'd probably just merge thi

Re: [systemd-devel] [RFC] [PATCHv3 0/3] resume: implement support for resuming from hibernation

2014-08-25 Thread Ivan Shapovalov
On Monday 25 August 2014 at 20:07:28, Lennart Poettering wrote: > On Mon, 25.08.14 21:52, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > > > - legacy usr.mount is not automatically ordered after > > > > local-fs-pre.target, > > > > so systemd-resume@.service has to be manually ordered bef

Re: [systemd-devel] [RFC] [PATCHv3 0/3] resume: implement support for resuming from hibernation

2014-08-25 Thread Lennart Poettering
On Mon, 25.08.14 21:52, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > - legacy usr.mount is not automatically ordered after local-fs-pre.target, > > > so systemd-resume@.service has to be manually ordered before it; > > > > Not following here. We do not really support /usr split out unles

Re: [systemd-devel] [RFC] [PATCHv3 0/3] resume: implement support for resuming from hibernation

2014-08-25 Thread Ivan Shapovalov
On Monday 25 August 2014 at 19:42:21, Lennart Poettering wrote: > On Mon, 25.08.14 02:16, Ivan Shapovalov (intelfx...@gmail.com) wrote: > > > This patchset allows systemd to parse resume= kernel command line parameter > > and initiate resume from the specified device. > > > > It adds: > > - a 's

Re: [systemd-devel] [RFC] [PATCHv3 0/3] resume: implement support for resuming from hibernation

2014-08-25 Thread Lennart Poettering
On Mon, 25.08.14 02:16, Ivan Shapovalov (intelfx...@gmail.com) wrote: > This patchset allows systemd to parse resume= kernel command line parameter > and initiate resume from the specified device. > > It adds: > - a 'systemd-resume' tool which takes path to a device node and > writes its major:

[systemd-devel] [RFC] [PATCHv3 0/3] resume: implement support for resuming from hibernation

2014-08-24 Thread Ivan Shapovalov
This patchset allows systemd to parse resume= kernel command line parameter and initiate resume from the specified device. It adds: - a 'systemd-resume' tool which takes path to a device node and writes its major:minor to /sys/power/state; - a corresponding 'systemd-resume@.service' templated un