Re: [systemd-devel] dbus activation service path

2020-01-28 Thread Damian Ivanov
Hello Simon, Thanks for the response. I created https://github.com/bus1/dbus-broker/issues/219 On Mon, Jan 27, 2020 at 10:28 PM Simon McVittie wrote: > > On Fri, 24 Jan 2020 at 23:27:20 +0200, Damian Ivanov wrote: > > I also have a question about dbus activation. > > Is there an environment

[systemd-devel] The meaning of CanMultiSession=no on non-seat0

2020-01-28 Thread nerdopolis
Hi Sorry if this is the wrong place for this. I can't seem to find a system-user mailing list for this purpose on freedesktop. So I am curious about what CanMultiSession=no means, as I am able to start a Weston session on a secondary seat (eg seat1 if I set up the hardware with udev or

Re: [systemd-devel] Antw: Re: show journalctl while stopping?

2020-01-28 Thread Roger Pack
On Fri, Jan 24, 2020 at 10:00 AM Michael Biebl wrote: > > Am Fr., 24. Jan. 2020 um 09:45 Uhr schrieb Ulrich Windl > : > > > Similarly: Before bashing the proposal, why not think about an option that > > will enable that feature? Like "--verbose", "--monitor", > > "--whatever-you-like"... > >

[systemd-devel] Dynamic .timer scheduling

2020-01-28 Thread Johannes Ernst
Is there a best practice for scheduling .timers based on what happened in a previous run? Pseudocode: while( true ) : delta = runService(); sleep( delta ); I can think of … 1) run the job frequently, but skip the bulk of its execution most of the time (e.g. decrementing a counter

Re: [systemd-devel] Conditional dependency

2020-01-28 Thread Lennart Poettering
On Mo, 27.01.20 12:33, prashantkumar dhotre (prashantkumardho...@gmail.com) wrote: > Hi, > Is there a way to specify conditional dependency in service files ? > My use case is : I have a include file my.include that contains > 'After=core.service' among other things. Note that we explicitly do

Re: [systemd-devel] SSL_connect fails on systemd socket

2020-01-28 Thread Mantas Mikulėnas
On Tue, Jan 28, 2020 at 4:23 PM Tiwari, Hari Sahaya < hari-sahaya.tiw...@hpe.com> wrote: > Hi, > > > > I am trying to implement a client server program over SSL through systemd. > > Here I have a TCP systemd socket (listening on a predefined port) and its > associated service. > > > > systemd

[systemd-devel] SSL_connect fails on systemd socket

2020-01-28 Thread Tiwari, Hari Sahaya
Hi, I am trying to implement a client server program over SSL through systemd. Here I have a TCP systemd socket (listening on a predefined port) and its associated service. systemd socket file:- # cat /usr/lib/systemd/system/test_ssl.socket [Unit] Description=Test socket [Socket]

Re: [systemd-devel] detect_container() for recent(?) docker

2020-01-28 Thread Dave Howorth
On Tue, 28 Jan 2020 15:28:08 +0300 "Matwey V. Kornilov" wrote: > вт, 28 янв. 2020 г. в 15:25, Lennart Poettering > : > > We document the requirements and expectations to run systemd in > > containers very explicitly here: > > > > https://systemd.io/CONTAINER_INTERFACE > > If I could google

Re: [systemd-devel] detect_container() for recent(?) docker

2020-01-28 Thread Matwey V. Kornilov
вт, 28 янв. 2020 г. в 15:25, Lennart Poettering : > > On Di, 28.01.20 15:07, Matwey V. Kornilov (matwey.korni...@gmail.com) wrote: > > > Thanks for reply! I've just wanted to let you know about this issue > > after spending couple hours trying to understand why my container > > works on the one

Re: [systemd-devel] detect_container() for recent(?) docker

2020-01-28 Thread Lennart Poettering
On Di, 28.01.20 15:07, Matwey V. Kornilov (matwey.korni...@gmail.com) wrote: > Thanks for reply! I've just wanted to let you know about this issue > after spending couple hours trying to understand why my container > works on the one host and don't work on another one. > I think there are couple

Re: [systemd-devel] detect_container() for recent(?) docker

2020-01-28 Thread Matwey V. Kornilov
вт, 28 янв. 2020 г. в 11:36, Lennart Poettering : > > On So, 26.01.20 11:55, Matwey V. Kornilov (matwey.korni...@gmail.com) wrote: > > > Hello, > > > > I've just found that an assumption used inside detect_container() is > > not always true, and that leads to virtualization misdetection. > >

Re: [systemd-devel] detect_container() for recent(?) docker

2020-01-28 Thread Lennart Poettering
On So, 26.01.20 11:55, Matwey V. Kornilov (matwey.korni...@gmail.com) wrote: > Hello, > > I've just found that an assumption used inside detect_container() is > not always true, and that leads to virtualization misdetection. > Namely, I am running systemd inside docker (19.03.5) container on >