Re: [systemd-devel] Delete stale *.journal-files from containers

2015-10-29 Thread Peter Paule
Hi Mantas, journald doesn't know all possible ways other machines' journals might appear here – the directory might belong to a *running* container, it might be written to over NFS by a thin client (where the client's journald might have different policies), it might be imported by journal-remot

[systemd-devel] multi-valued vs multiple directives in unitfile

2015-10-29 Thread Stijn De Weirdt
hi all, i'm trying to understand the syntax for multi-valued directives in unitfiles, adn i'm a bit confused by the documentation/man pages. Q1: e.g. for the `[Unit]` section, the AssertPathExists= directive supports AssertPathExists= AssertPathExists=/file1 to reset any previously defined path

Re: [systemd-devel] kernel and systemd boot sequence

2015-10-29 Thread Kay Sievers
On Thu, Oct 29, 2015 at 3:26 AM, kennedy wrote: > the boot sequence is it right ? > kernel --> initramfs --> switch_root --> systemd --> init & mount /etc/fstab > --> user login http://www.freedesktop.org/software/systemd/man/bootup.html Kay ___ system

Re: [systemd-devel] [ANNOUNCE] python-systemd v231

2015-10-29 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Oct 29, 2015 at 02:16:02AM +0100, Michael Biebl wrote: > Oops, the make check output was cut off > > 2015-10-29 2:14 GMT+01:00 Michael Biebl : > > $ make check > > python setup.py build > > running build > > running build_py > > package init file 'systemd/test/__init__.py' not found (or no

[systemd-devel] RFC on NetworkManager -> networkd data forwarding script

2015-10-29 Thread Alexander Kurtz
Hi, I really like networkd, but still prefer NetworkManager for WiFi and WWAN.  I've therefore written the attached [0] script for forwarding the current Domain, DNS and NTP server to networkd, so it can in turn forward it to other parts of systemd (like resolved or timesyncd). Although this work

Re: [systemd-devel] Help writing a user service file that will exec a command upon system sleep

2015-10-29 Thread John
> From: David Timothy Strauss >To: John ; "systemd-devel@lists.freedesktop.org" > >Sent: Wednesday, October 28, 2015 7:54 PM >Subject: Re: [systemd-devel] Help writing a user service file that will exec a >command upon system sleep > > > >I read up on PSD, and

Re: [systemd-devel] Help writing a user service file that will exec a command upon system sleep

2015-10-29 Thread Simon McVittie
On 29/10/15 18:52, John wrote: > This is an interesting idea but I would like to learn about user units and > sleep mode :) I think the intention is that per-user code deals with sleep by having a service (daemon) that registers to inhibit suspend; when it is notified that systemd would like to s

Re: [systemd-devel] Help writing a user service file that will exec a command upon system sleep

2015-10-29 Thread John
- Original Message - > From: Simon McVittie > To: systemd-devel@lists.freedesktop.org > Cc: > Sent: Thursday, October 29, 2015 3:27 PM > Subject: Re: [systemd-devel] Help writing a user service file that will exec > a command upon system sleep > > On 29/10/15 18:52, John wrote: >>

Re: [systemd-devel] kernel and systemd boot sequence

2015-10-29 Thread kennedy
thanks The local-fs.target will active -.mount and boot.mount which generated by systemd-generator. and -.mount will mount the "/" and boot.mount will mount the "/boot". who call the switch_root ? and when ? At 2015-10-29 19:05:33, "Kay Sievers" wrote: >On Thu, Oct 29, 2015 at 3:26 AM, k