[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-devel
Subject:    Re: [E-devel] [PATCH] systemd: change from simple e18 service to target
From:       thomasg <thomas () gstaedtner ! net>
Date:       2013-07-31 16:47:31
Message-ID: CABgBRiLEf8hTqz1G7Eq140TmvF-f=bsouvL76K1pmnDeC+=cuw () mail ! gmail ! com
[Download RAW message or body]

On Wed, Jul 31, 2013 at 5:13 AM, Cedric BAIL <cedric.bail@free.fr> wrote:
> Hello,
>
> On Tue, Jul 23, 2013 at 6:37 PM, thomasg <thomas@gstaedtner.net> wrote:
>> On Tue, Jul 23, 2013 at 2:31 PM, Leif Middelschulte
>> <leif.middelschulte@gmail.com> wrote:
>>> Hello everyone,
>>>
>>> If this lands, https://phab.enlightenment.org/w/e18_with_systemd_user_session/ should be updated.
>>
>> I will do that once it is in. I talked to Cedric already and am
>> waiting until he gets his systemd machine running again and tests it.
>> In the meantime, if you want to test it: There isn't actually much
>> changing, just ignore the "systemd-user-units" part of the article and
>> everything will be fine (in fact, the current howto isn't enough to
>> use it like described anyway, it is much more likely that you get the
>> new stuff working with it than the existing one :).
>> Other than that, simply use the documentation of sofar's
>> user-session-units and replace e17 by e18, it is fully compatible to
>> this and should work on any machine with systemd (not just arch).
>
> Ok, I finally got the time to try it. There is something weird after I
> apply your patch it doesn't seems to honor the KillMode=process
> anymore. Hum, in fact, I didn't try with the previous unit since I
> upgraded systemd, maybe that's an issue related to systemd (And my
> install is still quite not working as I need to manually do a
> 'systemctl start user-session@1000.service' even when the enable has
> been done).
>
>> Sidenote: There still is a bug with systemd's watchdog in E, so the
>> watchdog doesn't actually work, but that's not directly related to
>> this and happens with both approaches. I will have a look at this,
>> soon.
>
> I also quickly noted that the watchdog is indeed not working anymore.
> For what it is, by moving AllowIsolate in e18.service, the delay
> between restart of enlightenment seems to be quite higher, but not
> sure yet why. What was the reason of moving AllowIsolate in the
> .target ? Need some investigation on why this watchdog is not working
> anymore.
>
> I will investigate that in the evening if I get some time. If I get
> some time I will update the step needed to set it up with latest
> systemd on arch (should be working on any distribution with latest
> systemd).
>
> Regards,
>   Cedric

Please don't invest too much time, because there have been a few
developments in systemd that make it not worth your time.
Starting with systemd 205, systemd --user behavior has changed, and it
is not even slightly compatible with the behaviour until 204. So user
sessions as they were do not exist anymore.
I haven't looked much closer into it because systemd 206 has some bugs
that break my system and will be fixed in future releases, but when I
can safely upgrade from 204, I'll have a look at how to do things in
future, as the old behavior will not come back and all current
approaches are not supported anymore.

>>> Am Samstag, 20. Juli 2013 um 16:50 schrieb Thomas Gstädtner:
>>>> This has a few advantages over the current approach:
>>>> - only depends on user-session-units, not the flawed systemd-user-units
>>>> - allows isolating the target to switch between e.g. e17 and e18 at
>>>> runtime
>>>> - works much more reliably for me
>>>>
>>>> Important: please don't commit without review by Cedric!
>>>> ---
>>>> data/units/Makefile.am (http://Makefile.am) | 6 +++++-
>>>> data/units/e18.service | 9 +++------
>>>> data/units/e18.target | 6 ++++++
>>>> 3 files changed, 14 insertions(+), 7 deletions(-)
>>>> create mode 100644 data/units/e18.target
>>>>
>>>> ------------------------------------------------------------------------------
>>>> See everything from the browser to the database with AppDynamics
>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>> Start your free trial of AppDynamics Pro today!
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>
>>>> _______________________________________________
>>>> enlightenment-devel mailing list
>>>> enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net)
>>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>>>
>>>>
>>>>
>>>>
>>>> Anhänge:
>>>> - 0001-systemd-change-from-simple-e18-service-to-target.patch
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> enlightenment-devel mailing list
>>> enlightenment-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
>
> --
> Cedric BAIL
>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic