[systemd-devel] A question about systemd offline update

2016-08-02 Thread lin webber
hello: I have a question about systemd offline update.I want to write a shell script to install some deb packages with systemd . I have read docs about offline system updates in https://www.freedesktop.org/wiki/Software/systemd/SystemUpdates/. but still don't know how to write my

Re: [systemd-devel] Getting the exit code of a process under a scope

2016-08-02 Thread Lennart Poettering
On Tue, 02.08.16 10:36, Mrunal Patel (mpa...@redhat.com) wrote: > Is there a way to get the exit code of a process run under a systemd scope > using systemd dbus API? This is not supported. systemd only knows the exit codes of processes it gets SIGCHLD for (as that's where that info is passed).

Re: [systemd-devel] Emulate two cron tab entries to start/stop service unit natively?

2016-08-02 Thread John
> > From: Kai Krakow >To: systemd-devel@lists.freedesktop.org >Sent: Tuesday, August 2, 2016 6:38 AM >Subject: Re: [systemd-devel] Emulate two cron tab entries to start/stop >service unit natively? > > >Am Mon, 1 Aug 2016 23:59:13

[systemd-devel] Getting the exit code of a process under a scope

2016-08-02 Thread Mrunal Patel
Is there a way to get the exit code of a process run under a systemd scope using systemd dbus API? Thanks, Mrunal ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] machinectl pull image error

2016-08-02 Thread Maxim Lacrima
Hi! I am just trying to use machinectl. Here is a command I execute: maxim@maxim ~ % sudo machinectl --verify=no pull-raw https://dl.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Atomic-23-20151030.x86_64.raw.xz Failed to transfer image: Message recipient

[systemd-devel] [RFC] Removal of --share-system from nspawn?

2016-08-02 Thread Lennart Poettering
Hi! nspawn currently has a command line switch "--share-system", which allows disabling PID, IPC and UTC namespacing for a container. I'd like to remove this option, and filed a PR for that: https://github.com/systemd/systemd/pull/3820 Now, I am pretty sure this option is almost unused, but I'd

Re: [systemd-devel] Emulate two cron tab entries to start/stop service unit natively?

2016-08-02 Thread Kai Krakow
Am Mon, 1 Aug 2016 23:59:13 + (UTC) schrieb John : > Is it possible to use a systemd timer unit to start and stop a > service unit according to set times of the day? In my case, > openvpn.service is a forking type if that matters. I can do this > using cron, but am

Re: [systemd-devel] firmware update check script

2016-08-02 Thread Mantas Mikulėnas
On Tue, Aug 2, 2016 at 11:19 AM, Stéphane ANCELOT wrote: > Hi, > > It looks like very complicated making easy thing > > I would need only setting up a script that looks for usb media and launch > a script if available on it (firmware upgrade) > > unfortunately, it looks

[systemd-devel] firmware update check script

2016-08-02 Thread Stéphane ANCELOT
Hi, It looks like very complicated making easy thing I would need only setting up a script that looks for usb media and launch a script if available on it (firmware upgrade) unfortunately, it looks like, graphic display is launched in parallel and i am not able doing this in a text only

Re: [systemd-devel] NOARP support (systemd-networkd)

2016-08-02 Thread Susant Sahani
On 08/01/2016 06:56 PM, Zbigniew Jędrzejewski-Szmek wrote: On Sun, Jul 31, 2016 at 06:08:32AM +0300, Jukka Aho wrote: If there is a supported way of switching the "NOARP" mode on for a given interface, or a workaround, I'd be interested in hearing about it. If there is no support for this at