[systemd-devel] [PATCHv4 2/3] resume: add a tool to write a device node's major:minor to /sys/power/resume.

2014-08-26 Thread Ivan Shapovalov
PUBLIC -//OASIS//DTD DocBook XML V4.2//EN http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; +!-- + This file is part of systemd. + + Copyright 2014 Ivan Shapovalov + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public

[systemd-devel] [PATCHv4 3/3] resume-generator: add a generator for instantiating the resume unit.

2014-08-26 Thread Ivan Shapovalov
..7962534 --- /dev/null +++ b/man/systemd-resume-generator.xml @@ -0,0 +1,91 @@ +?xml version=1.0? +!--*-nxml-*-- +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.2//EN http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; +!-- + This file is part of systemd. + + Copyright 2014 Ivan Shapovalov

Re: [systemd-devel] [PATCHv4 3/3] resume-generator: add a generator for instantiating the resume unit.

2014-08-26 Thread Ivan Shapovalov
On Tuesday 26 August 2014 at 09:18:30, Dave Reisner wrote: On Tue, Aug 26, 2014 at 04:11:05PM +0400, Ivan Shapovalov wrote: resume-generator understands resume= kernel command line parameter and instantiates the systemd-resume@.service accordingly if it is passed. This enables

[systemd-devel] [PATCHv5 1/3] units: order systemd-fsck@.service after local-fs-pre.target.

2014-08-26 Thread Ivan Shapovalov
With this change, it becomes possible to order a unit to activate before any modifications to the file systems. This is especially useful for supporting resume from hibernation. --- units/systemd-f...@.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[systemd-devel] [PATCHv5 3/3] hibernate-resume-generator: add a generator for instantiating the resume unit.

2014-08-26 Thread Ivan Shapovalov
-//OASIS//DTD DocBook XML V4.2//EN http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; +!-- + This file is part of systemd. + + Copyright 2014 Ivan Shapovalov + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License

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

2014-08-26 Thread Ivan Shapovalov
fstab_node_to_udev_node() in the generator to also handle fstab-like specifiers Ivan Shapovalov (3): units: order systemd-fsck@.service after local-fs-pre.target. hibernate-resume: add a tool to write a device node's major:minor to /sys/power/resume. hibernate-resume-generator: add a generator

[systemd-devel] [PATCHv5 2/3] hibernate-resume: add a tool to write a device node's major:minor to /sys/power/resume.

2014-08-26 Thread Ivan Shapovalov
Ivan Shapovalov + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + systemd is distributed

Re: [systemd-devel] Current status wrt. realtime services (aka jackd)

2014-08-26 Thread Ivan Shapovalov
On Tuesday 26 August 2014 at 02:48:04, Lennart Poettering wrote: On Tue, 26.08.14 02:02, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hello all, is there some replacement of the ControlGroupAttribute=cpu.rt_runtime_us somevalue tunable described at http

[systemd-devel] [PATCHv6 2/3] hibernate-resume: add a tool to write a device node's major:minor to /sys/power/resume.

2014-08-26 Thread Ivan Shapovalov
/systemd-hibernate-res...@.service.xml @@ -0,0 +1,81 @@ +?xml version=1.0? +!--*-nxml-*-- +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.2//EN http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; +!-- + This file is part of systemd. + + Copyright 2014 Ivan Shapovalov + + systemd is free

[systemd-devel] [PATCHv6 1/3] units: order systemd-fsck@.service after local-fs-pre.target.

2014-08-26 Thread Ivan Shapovalov
With this change, it becomes possible to order a unit to activate before any modifications to the file systems. This is especially useful for supporting resume from hibernation. --- units/systemd-f...@.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[systemd-devel] [PATCHv6 3/3] hibernate-resume-generator: add a generator for instantiating the resume unit.

2014-08-26 Thread Ivan Shapovalov
-//OASIS//DTD DocBook XML V4.2//EN http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; +!-- + This file is part of systemd. + + Copyright 2014 Ivan Shapovalov + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License

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

2014-08-26 Thread Ivan Shapovalov
fstab_node_to_udev_node() in the generator to also handle fstab-like specifiers v6: rebase against master Ivan Shapovalov (3): units: order systemd-fsck@.service after local-fs-pre.target. hibernate-resume: add a tool to write a device node's major:minor to /sys/power/resume. hibernate-resume

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

2014-08-26 Thread Ivan Shapovalov
On Tuesday 26 August 2014 at 22:02:32, Lennart Poettering wrote: On Tue, 26.08.14 23:53, Ivan Shapovalov (intelfx...@gmail.com) wrote: Looks great, wanted to commit. But the series doesn't apply to current git. Could you please rebase? Sorry, I've been writing against v215 which

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 'systemd

Re: [systemd-devel] [RFC] [PATCHv3 2/3] resume: add a tool to write a device node's major:minor to /sys/power/resume.

2014-08-25 Thread Ivan Shapovalov
On Monday 25 August 2014 at 19:49:52, Lennart Poettering wrote: On Mon, 25.08.14 02:16, Ivan Shapovalov (intelfx...@gmail.com) wrote: +int main(int argc, char *argv[]) { +struct stat st; +const char *device; +_cleanup_free_ char *major_minor = NULL

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 before

Re: [systemd-devel] [RFC] [PATCHv3 3/3] resume-generator: add a generator for instantiating the resume unit.

2014-08-25 Thread Ivan Shapovalov
named resume and so on... This may be inconsistent globally, but the opposite of hibernation is called resume pretty much everywhere. However, suggestions welcome. -- Ivan Shapovalov / intelfx / signature.asc Description: This is a digitally signed message part

[systemd-devel] Current status wrt. realtime services (aka jackd)

2014-08-25 Thread Ivan Shapovalov
Hello all, is there some replacement of the ControlGroupAttribute=cpu.rt_runtime_us somevalue tunable described at http://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime/ for allowing services like `jackd -R` to run? -- Ivan Shapovalov / intelfx / signature.asc Description

[systemd-devel] [RFC] [PATCHv3 2/3] resume: add a tool to write a device node's major:minor to /sys/power/resume.

2014-08-24 Thread Ivan Shapovalov
PUBLIC -//OASIS//DTD DocBook XML V4.2//EN http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; +!-- + This file is part of systemd. + + Copyright 2014 Ivan Shapovalov + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License

[systemd-devel] [RFC] [PATCHv3 1/3] units: order systemd-fsck@.service after local-fs-pre.target.

2014-08-24 Thread Ivan Shapovalov
With this change, it becomes possible to order a unit to activate before any modifications to the file systems. This is especially useful for supporting resume from hibernation. --- units/systemd-f...@.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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

2014-08-24 Thread Ivan Shapovalov
cleanup attribute in resume-generator.c:main() Ivan Shapovalov (3): units: order systemd-fsck@.service after local-fs-pre.target. resume: add a tool to write a device node's major:minor to /sys/power/resume. resume-generator: add a generator for instantiating the resume unit. Makefile-man.am

[systemd-devel] [RFC] [PATCHv3 3/3] resume-generator: add a generator for instantiating the resume unit.

2014-08-24 Thread Ivan Shapovalov
..7962534 --- /dev/null +++ b/man/systemd-resume-generator.xml @@ -0,0 +1,91 @@ +?xml version=1.0? +!--*-nxml-*-- +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.2//EN http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; +!-- + This file is part of systemd. + + Copyright 2014 Ivan Shapovalov

[systemd-devel] [RFC] [PATCH 3/3] resume-generator: add a generator for instantiating the resume unit.

2014-08-23 Thread Ivan Shapovalov
-tabs-mode: nil -*-*/ + +/*** + This file is part of systemd. + + Copyright 2014 Ivan Shapovalov + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1

[systemd-devel] [RFC] [PATCH 2/3] resume: add a tool to write a device node's major:minor to /sys/power/resume.

2014-08-23 Thread Ivan Shapovalov
//EN http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; +!-- + This file is part of systemd. + + Copyright 2014 Ivan Shapovalov + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free

[systemd-devel] [RFC] [PATCH 1/3] units: order systemd-fsck@.service after local-fs-pre.target.

2014-08-23 Thread Ivan Shapovalov
With this change, it becomes possible to order a unit to activate before any modifications to the file systems. This is especially useful for supporting resume from hibernation. --- units/systemd-f...@.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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

2014-08-23 Thread Ivan Shapovalov
, if these units are present (at least initramfs-less case), an ordering cycle happens and resume is impossible. So, I would like someone to comment on these. This is my first patch to this project, so feel free to flak me for missing something obvious :) Thanks for reviewing! Ivan Shapovalov (3

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

2014-08-23 Thread Ivan Shapovalov
On Saturday 23 August 2014 at 18:22:42, Andrei Borzenkov wrote: В Sat, 23 Aug 2014 16:47:51 +0400 Ivan Shapovalov intelfx...@gmail.com пишет: This patchset allows systemd to parse resume= kernel command line parameter and initiate resume from the specified device. It adds

[systemd-devel] [RFC] [PATCHv2 3/3] resume-generator: add a generator for instantiating the resume unit.

2014-08-23 Thread Ivan Shapovalov
-*-- +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.2//EN http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; +!-- + This file is part of systemd. + + Copyright 2014 Ivan Shapovalov + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser

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

2014-08-23 Thread Ivan Shapovalov
me for missing something obvious :) Thanks for reviewing! v2: fix issues pointed out by Andrei: - don't RemainAfterExit because it's useless - don't attempt to resume outside of initramfs because it's unsafe (reiserfs replays journal even if mounted RO) Ivan Shapovalov (3): units

[systemd-devel] [RFC] [PATCHv2 1/3] units: order systemd-fsck@.service after local-fs-pre.target.

2014-08-23 Thread Ivan Shapovalov
With this change, it becomes possible to order a unit to activate before any modifications to the file systems. This is especially useful for supporting resume from hibernation. --- units/systemd-f...@.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[systemd-devel] [RFC] [PATCHv2 2/3] resume: add a tool to write a device node's major:minor to /sys/power/resume.

2014-08-23 Thread Ivan Shapovalov
of systemd. + + Copyright 2014 Ivan Shapovalov + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later

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

2014-08-23 Thread Ivan Shapovalov
On Saturday 23 August 2014 at 21:05:13, Tobias Geerinckx-Rice wrote: On 23 August 2014 14:47, Ivan Shapovalov intelfx...@gmail.com wrote: This is my first patch to this project, so feel free to flak me for missing something obvious :) On 4 August 2014 10:39, Tobias Geerinckx-Rice

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-21 Thread Ivan Shapovalov
a patch. I'd be willing to merge a good patch for a generator + mini-tool that parse the resume= option into systemd as well, btw. I've already implemented the generator and resume tool prototype. Sure, when we solve the dependencies problem, I'll submit this for inclusion. -- Ivan Shapovalov

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-21 Thread Ivan Shapovalov
On Thursday 21 August 2014 at 22:06:49, Ivan Shapovalov wrote: On Thursday 21 August 2014 at 01:03:20, Lennart Poettering wrote: [...] ...missing sysroot's fsck, as well as any other x-initrd mounts and their fsck instances. Seems that sysroot.mount alone isn't

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-21 Thread Ivan Shapovalov
On Thursday 21 August 2014 at 19:32:01, Simon McVittie wrote: On 21/08/14 19:12, Ivan Shapovalov wrote: Actually, I don't pretty understand the reasoning behind skipping the default dependencies on /usr mount (Some of) the default dependencies require that /usr is mounted, so

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-21 Thread Ivan Shapovalov
On Thursday 21 August 2014 at 01:03:20, Lennart Poettering wrote: On Tue, 19.08.14 15:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: On Monday 18 August 2014 at 22:04:29, Ivan Shapovalov wrote: [..] Even if initramfs-only, ordering dependencies still need

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-18 Thread Ivan Shapovalov
On Monday 18 August 2014 at 15:57:25, Lennart Poettering wrote: On Fri, 15.08.14 15:35, Ivan Shapovalov (intelfx...@gmail.com) wrote: That should be enough. (You don't need to individually order the systemd-fsck@.service instances for the other devices after your service, since

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-18 Thread Ivan Shapovalov
On Monday 18 August 2014 at 18:40:59, Lennart Poettering wrote: On Mon, 18.08.14 18:00, Ivan Shapovalov (intelfx...@gmail.com) wrote: On Monday 18 August 2014 at 15:57:25, Lennart Poettering wrote: On Fri, 15.08.14 15:35, Ivan Shapovalov (intelfx...@gmail.com) wrote

Re: [systemd-devel] [aur-requests] [PRQ#512] Request Accepted

2014-08-17 Thread Ivan Shapovalov
... cheers! mar77i The In-Reply-To: header seems to be correctly set on automated emails. Apparently it's gmail web interface to blame. -- Ivan Shapovalov / intelfx / signature.asc Description: This is a digitally signed message part. ___ systemd-devel

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-17 Thread Ivan Shapovalov
On Friday 15 August 2014 at 15:35:06, Ivan Shapovalov wrote: [...] Ah, right. This is actually correct here. We want to make sure that the root fs is remounted before we mount the other units, since this might required creating additional directories to mount things

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-15 Thread Ivan Shapovalov
On Thursday 14 August 2014 at 12:56:10, Lennart Poettering wrote: On Thu, 14.08.14 09:20, Ivan Shapovalov (intelfx...@gmail.com) wrote: The udev rule should be possible (provided that udevd does not need rootfs remounted read-write -- I'd like to preserve some decency towards

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-15 Thread Ivan Shapovalov
On Friday 15 August 2014 at 11:32:59, Lennart Poettering wrote: On Fri, 15.08.14 13:02, Ivan Shapovalov (intelfx...@gmail.com) wrote: Ah, well, if the resume= switch is supposed to simply carry the finished device node path, and nothing we still have to translate into one, then of course

Re: [systemd-devel] Pairing udev's SYSTEMD_WANTS and systemd's templated units

2014-08-15 Thread Ivan Shapovalov
On Thursday 14 August 2014 at 13:00:50, Lennart Poettering wrote: On Thu, 14.08.14 10:02, Ivan Shapovalov (intelfx...@gmail.com) wrote: The only thing: PROGRAM=..., ENV{SYSTEMD_WANTS}+=...%c... idiom seems a pretty ugly way to invoke systemd-escape. This looks like a pretty common

Re: [systemd-devel] Pairing udev's SYSTEMD_WANTS and systemd's templated units

2014-08-15 Thread Ivan Shapovalov
, Lennart Poettering wrote: On Thu, 14.08.14 10:02, Ivan Shapovalov (intelfx...@gmail.com) wrote: The only thing: PROGRAM=..., ENV{SYSTEMD_WANTS}+=...%c... idiom seems a pretty ugly way to invoke systemd-escape. This looks like a pretty common thing to do; shouldn't

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-15 Thread Ivan Shapovalov
), it is Before=local-fs-pre.target local-fs.target shutdown.target Wants=local-fs-pre.target -- Ivan Shapovalov / intelfx / signature.asc Description: This is a digitally signed message part. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-15 Thread Ivan Shapovalov
with ConditionPathExists=/etc/initrd-release # something else ? BTW... are you sure that the second variant (in initramfs) does not require something to order before sysroot.mount and all fsck units?.. -- Ivan Shapovalov / intelfx / signature.asc Description: This is a digitally signed message part

Re: [systemd-devel] Pairing udev's SYSTEMD_WANTS and systemd's templated units

2014-08-14 Thread Ivan Shapovalov
On Thursday 14 August 2014 at 01:55:26, Lennart Poettering wrote: On Thu, 31.07.14 16:55, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hello all, I'm trying to start from an udev rule a templated systemd unit, whose instance should be a properly escaped device node path (so

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-13 Thread Ivan Shapovalov
On Thursday 14 August 2014 at 03:10:30, Lennart Poettering wrote: On Mon, 28.07.14 14:06, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hello all, I'm trying to implement resuming from hibernation with systemd-based initramfs, i. e. in terms of systemd unit files

[systemd-devel] Pairing udev's SYSTEMD_WANTS and systemd's templated units

2014-07-31 Thread Ivan Shapovalov
I've got is sys%p, but it does not work because dashes are not escaped, and I get sys-devices-pci:00-:00:1d.0-usb4-4-1-4-1.2.device instead of sys-devices-pci:00-:00:1d.0-usb4-4\x2d1-4\x2d1.2.device and so on. Thanks, -- Ivan Shapovalov / intelfx / signature.asc Description

[systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-07-28 Thread Ivan Shapovalov
everything in the upstream's way, so there should be no distro-specific details. Thanks, -- Ivan Shapovalov / intelfx / signature.asc Description: This is a digitally signed message part. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] Is there a reason to forcefully create /etc/mtab?

2014-07-06 Thread Ivan Shapovalov
applies to the entire etc.conf: why does tmpfiles touch /etc at all, especially if /etc is already properly set up? Thanks, L+ (as well as any other + directives) only force-overwrite files if this is needed, e. g. if a symlink points to the wrong desination. -- Ivan Shapovalov / intelfx

Re: [systemd-devel] Is there a reason to forcefully create /etc/mtab?

2014-07-06 Thread Ivan Shapovalov
On Sunday 06 July 2014 at 13:13:55, Mike Gilbert wrote: On Sun, Jul 6, 2014 at 1:08 PM, Ivan Shapovalov intelfx...@gmail.com wrote: On Sunday 06 July 2014 at 13:01:22, Leonid Isaev wrote: Hi, I have a read-only / filesystem and /etc/mtab points to /proc/self/mounts as it should

[systemd-devel] serializing execution of units

2014-07-02 Thread Ivan Shapovalov
? Thanks, -- Ivan Shapovalov / intelfx / 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

Re: [systemd-devel] serializing execution of units

2014-07-02 Thread Ivan Shapovalov
On Wednesday 02 July 2014 at 18:04:36, Mantas Mikulėnas wrote: On Wed, Jul 2, 2014 at 4:05 PM, Ivan Shapovalov intelfx...@gmail.com wrote: Consider the following situation. We have foo.target and foo@.service. All instances of foo@.service are WantedBy=foo.target (and implicitly After

Re: [systemd-devel] Locking current session programmatically

2014-06-28 Thread Ivan Shapovalov
27 июня 2014 г., в 21:54, Lennart Poettering lenn...@poettering.net написал(а): On Fri, 27.06.14 17:45, Ivan Shapovalov (intelfx...@gmail.com) wrote: I want to lock my current session using a command-line tool (or a D-Bus call). The only apparent way to do this is `loginctl lock

[systemd-devel] Locking current session programmatically

2014-06-27 Thread Ivan Shapovalov
or a bug? In either case, is it possible to lock the current session? -- Ivan Shapovalov / intelfx / signature.asc Description: This is a digitally signed message part. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] How to quiet cron sessions logging with systemd-212?

2014-06-10 Thread Ivan Shapovalov
, why a logind session is ever being created for the cron job... It shouldn't be that way, or do I misunderstand something? -- Ivan Shapovalov / intelfx / signature.asc Description: This is a digitally signed message part. ___ systemd-devel mailing list

Re: [systemd-devel] systemd-networkd and After=network.target

2014-04-03 Thread Ivan Shapovalov
On Wednesday 02 April 2014 at 12:00:07, Umut Tezduyar Lindskog wrote: Hi Ivan, On Wed, Apr 2, 2014 at 11:41 AM, Ivan Shapovalov intelfx...@gmail.com wrote: Hello all, I've noticed that systemd-networkd.service (ordered Before=network.target) finishes its startup before

[systemd-devel] systemd-networkd and After=network.target

2014-04-02 Thread Ivan Shapovalov
at startup. Is this intended, or is this a bug, or have I overlooked some piece of configuration? Thanks, -- Ivan Shapovalov / intelfx / (Sent from my phone. Havoc may be wreaked on the formatting.) ___ systemd-devel mailing list systemd-devel

[systemd-devel] systemd-208: auto-stopping of user@.service on last session exit

2014-01-30 Thread Ivan Shapovalov
, -- Ivan Shapovalov / intelfx / 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

Re: [systemd-devel] systemd-208: auto-stopping of user@.service on last session exit

2014-01-30 Thread Ivan Shapovalov
On Thursday 30 January 2014 at 17:36:29, Lennart wrote: On Thu, 30.01.14 20:23, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hello! Is it intentional that even with KillUserProcesses=no, user@.service is stopped as soon as the last user's session ends? And, in any case

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-24 Thread Ivan Shapovalov
this needs to sit down and debug a bit... Lennart Any advices on how to do that? I have both the issue (reproducible on each shutdown) and will to debug. -- Ivan Shapovalov / intelfx / signature.asc Description: This is a digitally signed message part

Re: [systemd-devel] [PATCHv2] login: Don't stop a running user manager from garbage-collecting the user.

2013-12-24 Thread Ivan Shapovalov
out. Killing. -- Ivan Shapovalov / intelfx / ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Make X11 logind session unconditionally active

2013-11-05 Thread Ivan Shapovalov
On Tuesday 05 November 2013 at 03:41:01, Lennart wrote: On Tue, 05.11.13 00:51, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hello! I'm still trying to make my friendship with logind. I have a headless server with Xvnc server running on it. Under the server a logind session

Re: [systemd-devel] Make X11 logind session unconditionally active

2013-11-05 Thread Ivan Shapovalov
On Tuesday 05 November 2013 at 11:15:30, Lennart wrote: On Tue, 05.11.13 12:37, Ivan Shapovalov (intelfx...@gmail.com) wrote: So the question is: it is possible to mark a session as always active or something like that? Well, that should be the case implicitly if the session

Re: [systemd-devel] Make X11 logind session unconditionally active

2013-11-05 Thread Ivan Shapovalov
On Tuesday 05 November 2013 at 11:33:31, Lennart wrote: On Tue, 05.11.13 14:24, Ivan Shapovalov (intelfx...@gmail.com) wrote: So you want something like a hybrid session, i.e. one that is virtual but has access to local devices? That's a special setup that is not supported by logind

[systemd-devel] Make X11 logind session unconditionally active

2013-11-04 Thread Ivan Shapovalov
=no (there is no VT I can switch to). So the question is: it is possible to mark a session as always active or something like that? Thanks, -- Ivan Shapovalov / intelfx / ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [206] Using `systemd --user` to manage user's session -- is it still possible?

2013-09-07 Thread Ivan Shapovalov
On Wednesday 28 August 2013 at 16:07:23, Mantas wrote: Partial reply: On Wed, Aug 28, 2013 at 10:15 AM, Ivan Shapovalov intelfx...@gmail.com wrote: With v206, that stopped working. It seems that `systemd --user` now must be launched 1) with PAMName=systemd-shared […] 3) with /etc

[systemd-devel] [206] Using `systemd --user` to manage user's session -- is it still possible?

2013-08-28 Thread Ivan Shapovalov
Hello! With systemd v204 and earlier, I used `systemd --user` to manage my complete session, including X server (via xorg-launch-helper) and all related things. I used a slightly modified user-session@.service unit to start the `systemd --user` instance in its own session to get PolicyKit

Re: [systemd-devel] Running systemd --user and creating a new session

2013-06-08 Thread Ivan Shapovalov
On 08 June 2013 02:41:56 Ivan Shapovalov wrote: On 07 June 2013 12:47:28 Kok, Auke-jan H wrote: On Fri, Jun 7, 2013 at 3:18 AM, Иван Шаповалов intelfx...@gmail.com wrote: Hi all, Recently I've attempted to switch my user session to systemd --user. The configuration is pretty

<    1   2