[systemd-devel] [PATCH] Document ...|... udev match syntax

2014-08-24 Thread Andrei Borzenkov
--- man/udev.xml | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/man/udev.xml b/man/udev.xml index db72937..2948b9c 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -272,8 +272,8 @@ /varlistentry /variablelist - paraMost of the fields

Re: [systemd-devel] Match section of .link file not working

2014-08-24 Thread Simon Peeters
Ok, so there is only one problem now: ID_PATH is the same for all my vif interfaces, and i need to select only one of them. Please show udevadm info -q all for each interface. P: /devices/ocp/4740.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1/2-1:1.0/net/wlan0 E:

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

2014-08-24 Thread Thomas H.P. Andersen
On Sat, Aug 23, 2014 at 2:47 PM, Ivan Shapovalov intelfx...@gmail.com wrote: This can be used to initiate a resume from hibernation by path to a swap device containing the hibernation image. The respective templated unit is also added. It is instantiated using path to the desired resume

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

2014-08-24 Thread Thomas H.P. Andersen
On Sat, Aug 23, 2014 at 8:59 PM, Ivan Shapovalov intelfx...@gmail.com wrote: resume-generator understands resume= kernel command line parameter and instantiates the systemd-resume@.service accordingly if it is passed. This enables resume from hibernation using device specified on the kernel

Re: [systemd-devel] [PATCH] TODO: add molly-guard functionality

2014-08-24 Thread Tobias Geerinckx-Rice
On 24 August 2014 04:26, Josh Triplett j...@joshtriplett.org wrote: + - add molly-guard functionality: prompt for hostname if interactively shutting down a remote system (running as child of ssh) I'll assume (and hope) that both the hostname prompt and SSH child rule are merely example

Re: [systemd-devel] Match section of .link file not working

2014-08-24 Thread Andrei Borzenkov
В Sun, 24 Aug 2014 09:19:13 +0200 Simon Peeters peeters.si...@gmail.com пишет: Ok, so there is only one problem now: ID_PATH is the same for all my vif interfaces, and i need to select only one of them. Please show udevadm info -q all for each interface. P:

Re: [systemd-devel] Match section of .link file not working

2014-08-24 Thread Simon Peeters
2014-08-24 20:29 GMT+02:00 Andrei Borzenkov arvidj...@gmail.com: В Sun, 24 Aug 2014 09:19:13 +0200 Simon Peeters peeters.si...@gmail.com пишет: Ok, so there is only one problem now: ID_PATH is the same for all my vif interfaces, and i need to select only one of them. Please show

Re: [systemd-devel] Link down for systemd articles

2014-08-24 Thread Reindl Harald
Am 18.08.2014 um 15:19 schrieb Lennart Poettering: On Mon, 18.08.14 12:45, Saket Sinha (saket.sinh...@gmail.com) wrote: I have been working on systemd recently and was referring to articles by Lennart Poettering for the same. However, I am not able to access the articles hosted at the below

Re: [systemd-devel] Make journalctl start at the end of the journal by default

2014-08-24 Thread Reindl Harald
Am 18.08.2014 um 15:27 schrieb Lennart Poettering: And also I would like to see the full logs always by default. Usually after lots of searching you find the offending log entry for the error, only to find out you forgot to pass the right command line options to journalctl and the important

[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
This can be used to initiate a resume from hibernation by path to a swap device containing the hibernation image. The respective templated unit is also added. It is instantiated using path to the desired resume device. --- Makefile-man.am | 7 Makefile.am

[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
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

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

2014-08-24 Thread Ivan Shapovalov
resume-generator understands resume= kernel command line parameter and instantiates the systemd-resume@.service accordingly if it is passed. This enables resume from hibernation using device specified on the kernel command line, where the device path may point to an arbitrary udev-created

[systemd-devel] [PATCH] tty-ask-password-agent: reset a signal handler for SIGTERM to the default

2014-08-24 Thread HATAYAMA Daisuke
Hello, When trapping SIGTERM in a script and running systemctl from the script, systemctl sometimes hangs with tty-ask-password agent process. I have no idea whether systemd developpers think this is a bug or not. If this is a bug, I have three ideas to fix this. This patch is based on the 1).