[systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Ian Geiser
Greetings, I am struggling with search queries here so I need to ask this outright. "what is the role of dbus going forward?" Is dbus the preferred way going forward? Or should things really be using sd-bus.h instead? I manage an embedded product that leverages system heavily at the system le

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Ian Geiser
On Wed, Aug 19, 2015 at 2:55 PM, Ian Geiser mailto:igei...@devonit.com>> wrote: > Greetings, I am struggling with search queries here so I need to ask this > outright. "what is the role of dbus going forward?" Is dbus the preferred > way going forward? Or should

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Ian Geiser
On 08/19/2015 11:32 AM, Mantas Mikulėnas wrote: On Wed, Aug 19, 2015 at 4:47 PM, Ian Geiser mailto:igei...@devonit.com>> wrote: ...snip... Not quite; …/systemd/private is not even a bus – it's a direct peer-to-peer connection to systemd, providing just that one service. (It i

[systemd-devel] "singleton" template units

2015-09-10 Thread Ian Geiser
Greetings, I have a template unit for different demon configurations that I want to switch between. I was able to easily make a template unit foo@.service that just calls "foo -c /etc/%i.conf", so now I can say foo@config1.service and it works as expected. My problem now is that if I do foo@co

Re: [systemd-devel] how-to run instantiated units from templates one after the other

2015-09-21 Thread Ian Geiser
I have a similar problem, but from what I can tell with the current templates this is not possible. I ended up using an internal script that would loop over the process. On 09/18/2015 02:34 PM, Dmitry Karpov wrote: I have a template for creating the backup: backup@.service [Unit] Descripti

[systemd-devel] Systemd with an initramfs

2016-04-04 Thread Ian Geiser
Greetings, I am working on an embedded system where I load the users pace rootfs off of a loop device. I then use AUFS to put tmpfs overlay on it and then switch root into that. Currently systemd works like a champ getting through the initramfs. It correctly mounts the loop device, tmpfs and