Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread Tobias Hunger
Am 20.04.2016 22:42 schrieb "Chris Murphy" : > > On Wed, Apr 20, 2016 at 1:50 PM, Tobias Hunger wrote: > > > https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T/T460s-Does-it-have-Intel-rapid-start/m-p/3284398#M107869 > > Too bad. I'm not sure what it means though, deprecated marketing or

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread Michael Biebl
2016-04-21 0:56 GMT+02:00 Michael Biebl : > 2016-04-20 11:14 GMT+02:00 Lennart Poettering : >> >> Here's the heuristics code logind uses to check whether hibernation >> shall be considered available or not: >> >> https://github.com/systemd/systemd/blob/master/src/shared/sleep-config.c#L229 >> >> i.

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread Michael Biebl
2016-04-20 11:14 GMT+02:00 Lennart Poettering : > > Here's the heuristics code logind uses to check whether hibernation > shall be considered available or not: > > https://github.com/systemd/systemd/blob/master/src/shared/sleep-config.c#L229 > > i.e. it checks that the RAM size is smaller than 0.98

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread Chris Murphy
On Wed, Apr 20, 2016 at 1:50 PM, Tobias Hunger wrote: > https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T/T460s-Does-it-have-Intel-rapid-start/m-p/3284398#M107869 Too bad. I'm not sure what it means though, deprecated marketing or the actual feature is gone? Anyway, the most complete

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread Tobias Hunger
Hi Chris, Am 20.04.2016 18:48 schrieb "Chris Murphy" : > There two IRSTs. One is Rapid Storage (firmware raid working in > conjunction with mdadm), the other is Rapid Start. I am aware of that and we both refer to the same thing. > Rapid Start is what > I'm referring to and even though the brand

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread Chris Murphy
On Wed, Apr 20, 2016 at 3:20 AM, Lennart Poettering wrote: > I am still open to add searching for the resume swap partition to the > generator, but only where this may be done reliably, i.e. GPT, but not > MBR. And we should either define a new GPT partition type UUID for > "hibernation swap", or

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread Chris Murphy
On Tue, Apr 19, 2016 at 11:44 PM, Tobias Hunger wrote: > > Am 20.04.2016 06:47 schrieb "Chris Murphy" : >> I kinda have to agree, if it can't be encrypted, then I think linux >> hibernation is almost pointless, and maybe just give up. Intel Rapid >> Start (firmware managed) hibernation with SSDs a

Re: [systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

2016-04-20 Thread Jamie Kitson
> For stopping after a duration you can use RuntimeMaxSec=, introduced in > v229. Thanks. The man page says: > If this is used and the service has been active for longer than the specified > time it is terminated and put into a failure state. Do you know what terminate signal is used, or if

Re: [systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

2016-04-20 Thread Tomasz Torcz
On Wed, Apr 20, 2016 at 01:52:39PM +0100, Jamie Kitson wrote: > Hi, > > I want to start and stop a systemd.service at specific times. Presumably > I will use a .timer unit to start the job, but is there a built in way > to stop the job after a specific duration, or at a specific time, or do > I ha

[systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

2016-04-20 Thread Jamie Kitson
Hi, I want to start and stop a systemd.service at specific times. Presumably I will use a .timer unit to start the job, but is there a built in way to stop the job after a specific duration, or at a specific time, or do I have to create a second .timer unit that execs the stop? What is the standar

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread James Hogarth
On 20 April 2016 at 10:20, Lennart Poettering wrote: > On Wed, 20.04.16 08:00, James Hogarth (james.hoga...@gmail.com) wrote: > > > Regardless of how the hibernate generator might potentially be changed to > > attempt to locate a valid swap partition with hibernate data, or how > > difficult that

Re: [systemd-devel] service dependency on udev

2016-04-20 Thread Lennart Poettering
On Tue, 19.04.16 17:25, Flavio Leitner (f...@sysclose.org) wrote: 1;4401;0c > > Hello, > > I have a service that needs to start after all the devices (network > cards at least) have been properly processed by udev. Pretty much > like the old 'network' sysv script. > > Any suggestion? There is

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread Lennart Poettering
On Wed, 20.04.16 08:00, James Hogarth (james.hoga...@gmail.com) wrote: > Regardless of how the hibernate generator might potentially be changed to > attempt to locate a valid swap partition with hibernate data, or how > difficult that may be given the nature of running in an initrd and as a > gene

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread Lennart Poettering
On Tue, 19.04.16 22:47, Chris Murphy (li...@colorremedies.com) wrote: > In some ancient bug or lkml I'd read a kernel maintainer say that the > hibernation image size isn't fixed, and might be less than RAM size > but could be a little more than RAM size, especially if some swap is > being used. S

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-20 Thread James Hogarth
On 20 Apr 2016 05:47, "Chris Murphy" wrote: > > On Tue, Apr 19, 2016 at 4:10 AM, Lennart Poettering > wrote: > > > > > So what precisely are you proposing? That we actively search for the > > swap partition in the hibernate-resume generator? > > I think the main thing James is after, I know I'm i