Re: [systemd-devel] [PATCH] fstab-generator: Honor usr=, usrfstype= and usrflags=

2014-10-09 Thread Tobias Geerinckx-Rice
On 9 October 2014 17:30, Tobias Hunger wrote: > PS: How do you send patches to this list via gmail? I pasted the output from > git format-patch into the mail client, bit there got to be a better way:-) Using "git send-email" works surprisingly well with Gmail [1]. Regards, T G-R [1] See https

Re: [systemd-devel] Cannot get Shutdown Script to Run (Libvirt Virtual Machine Shutdown)

2014-09-22 Thread Tobias Geerinckx-Rice
On 23 September 2014 01:10, Alexander Groleau wrote: > Hmm, > > This is a fresh installation of arch linux with systemd. What else might be > terminating my daemons or how might I be able to figure that out? A cursory search linked that suspicious EOF error message to libvirtd crashing. If that's

Re: [systemd-devel] Cannot get Shutdown Script to Run (Libvirt Virtual Machine Shutdown)

2014-09-22 Thread Tobias Geerinckx-Rice
On 22 September 2014 15:36, Mantas Mikulėnas wrote: >> [Nonsense] > > Neither Requires nor BindsTo imply any ordering though. So that might in > fact *create* race conditions, if both A and B start at once, but A already > expects B to be available. [Indeed. That whole paragraph was hastily re-w

Re: [systemd-devel] Cannot get Shutdown Script to Run (Libvirt Virtual Machine Shutdown)

2014-09-22 Thread Tobias Geerinckx-Rice
On 22 September 2014 07:57, Alexander Groleau wrote: > I have tried the following script as well during my adventures with no > success: > > [Unit] > Description=Start/Stop Libvirt Windows Guest > Documentation=man:libvirtd(8) > Documentation=http://libvirt.org > After=libvirtd.service Manually o

Re: [systemd-devel] Cannot get Shutdown Script to Run (Libvirt Virtual Machine Shutdown)

2014-09-21 Thread Tobias Geerinckx-Rice
On 22 September 2014 05:40, Alexander Groleau wrote: > Hello systemd users, Oh good. That's me! > I have been trying desperately for weeks to get my simple shutdown script > for a Libvirt guest to run before libvirtd is shut down, without success. > Essentially, I need the libvirt-windows.sh scr

Re: [systemd-devel] Suppressing automounting

2014-09-16 Thread Tobias Geerinckx-Rice
Hallo, On 14 September 2014 19:49, Andrei Borzenkov wrote: > В Thu, 11 Sep 2014 21:53:27 +0200 > Tobias Geerinckx-Rice пишет: >> >> From my reading of the thread, this is to emulate as closely ye olde >> initscripts' unreliable and flawed behaviour of attempting to

Re: [systemd-devel] Suppressing automounting

2014-09-11 Thread Tobias Geerinckx-Rice
Hallo, On 11 September 2014 19:41, Dale R. Worley wrote: > > From: Colin Guthrie > > I'm maybe missing something, but in the case of mount units, isn't that > > framework program mount(8)? > > > > It has a mechanism for parsing default options that apply to all mounts > > and then calling out to

Re: [systemd-devel] Non-Stop Services in an Embedded Environment

2014-09-09 Thread Tobias Geerinckx-Rice
On 9 September 2014 14:38, Spence, Richard (EXT-Other - DE/Ulm) wrote: > we have an additional requirement for which we can find no clean (direct) > solution in systemd: applications in the system should not stop for any > reason – any termination must be handled as a failure. So... you want *all

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

2014-08-24 Thread Tobias Geerinckx-Rice
On 24 August 2014 04:26, Josh Triplett 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 configurations of a more g

Re: [systemd-devel] About systemd in initrd support

2014-08-23 Thread Tobias Geerinckx-Rice
On 23 August 2014 13:46, Luca Bruno wrote: > I'm going to do an experiment with NixOS: replace the whole current initrd > process made of scripts and hooks with systemd. What a coincidence... I just switched to NixOS last week, moved some file systems around, and promptly broke my boot. Badly. T

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

2014-08-23 Thread Tobias Geerinckx-Rice
On 23 August 2014 14:47, Ivan Shapovalov 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 wrote: > (As this is my first systemd patch, feel free to flak me for missing > somet

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

2014-08-18 Thread Tobias Geerinckx-Rice
On 18 August 2014 17:33, Andrei Borzenkov wrote: > > Personally I find default (lack of) line wrapping quite annoying [...] > I think line wrapping by default is really more user friendly. Agreed. I assume there was a good reason to add -S to the default pager options, but I can't imagine what it

[systemd-devel] [PATCH] pager: wrap long lines by default

2014-08-18 Thread Tobias Geerinckx-Rice
Wrap lines longer than the screen width to multiple rows instead of making them stumble abruptly off the edge. --- man/less-variables.xml | 2 +- src/shared/pager.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/less-variables.xml b/man/less-variables.xml index 09cb

[systemd-devel] [PATCH v3] timer: order OnCalendar units after timer-sync.target if DefaultDependencies=no

2014-08-04 Thread Tobias Geerinckx-Rice
Avoids triggering timers prematurely on systems with significantly inaccurate clocks, or some embedded platforms that lack one entirely. --- v2: - Change systemd.timer.xml to clarify that only OnCalendar= timers are affected. Lennart, I didn't use your wording because a) I had already spo

[systemd-devel] [PATCH v2] timer: order OnCalendar units after timer-sync.target if DefaultDependencies=no

2014-08-04 Thread Tobias Geerinckx-Rice
Avoids triggering timers prematurely on systems with significantly inaccurate clocks, or some embedded platforms that lack one entirely. --- v2: - Change systemd.timer.xml to clarify that only OnCalendar= timers are affected. Lennart, I didn't use your wording because a) I had already spo

Re: [systemd-devel] Calendar Timers: setting system clock may trigger jobs from the past

2014-08-04 Thread Tobias Geerinckx-Rice
On 4 August 2014 14:45, Lennart Poettering wrote: > On Mon, 04.08.14 12:50, Peter Mattern (matte...@arcor.de) wrote: > >> Hello. >> >> If a *.timer unit's timestamp as stated by OnCalendar is in the past >> and the actual system time is even before that timestamp the *.timer >> gets activated when

[systemd-devel] [PATCH] timer: order OnCalendar units after timer-sync.target if DefaultDependencies=no

2014-08-04 Thread Tobias Geerinckx-Rice
Avoids prematurely triggering timers on systems with significantly inaccurate clocks, or some embedded platforms that lack one entirely. --- TODO | 2 -- man/systemd.timer.xml | 10 ++ src/core/timer.c | 6 ++ src/shared/special.h | 2 +- 4 files changed, 13 i

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Tobias Geerinckx-Rice
On 10 July 2014 13:41, Colin Guthrie wrote: > > 'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 10/07/14 13:51 did > gyre and gimble: > > An administrator might want to block a certain sysusers config file from > > being executed, e.g. to block the creation of a certain user. > I guess this is p