[systemd-devel] Logind error - Failed to abandon session scope: Connection reset

2014-07-15 Thread Roger Qiu
Hello everybody, I always receive this error: ``` |Jul 14 08:27:57 matrix-node systemd-logind[1339]: Failed to abandon session scope: Connection reset by peer| ``` When I shutdown a NixOS instance. Googling around didn't bring up any useful results. What does this error mean, and why does

Re: [systemd-devel] [PATCH v2] Support for building journal-remote without microhttpd

2014-07-15 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jun 12, 2014 at 11:04:44PM -0500, Charles Duffy wrote: > On Thu, Jun 12, 2014 at 10:40 PM, Charles Duffy wrote: > > > Howdy -- > > > > It seems a bit unfortunate to have the only way to deserialize content in > > journald's official serialization/export format depend on a HTTP server > >

Re: [systemd-devel] [PATCH] units/serial-getty@.service: use the default RestartSec

2014-07-15 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jul 15, 2014 at 06:28:10PM +0200, Michael Olbrich wrote: > For pluggable ttys such as USB serial devices, the getty is restarted > and exits in a loop until the remove event reaches systemd. Under > certain circumstances the restart loop can overload the system in a > way that prevents the

Re: [systemd-devel] [PATCH] test-compress-benchmark: silence warnings

2014-07-15 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jul 16, 2014 at 10:32:50AM +0900, Marc-Antoine Perennou wrote: > On 16 July 2014 10:30, Zbigniew Jędrzejewski-Szmek wrote: > > On Wed, Jul 16, 2014 at 03:29:15AM +0200, Zbigniew Jędrzejewski-Szmek wrote: > >> On Wed, Jul 16, 2014 at 10:13:06AM +0900, Marc-Antoine Perennou wrote: > >> > and

[systemd-devel] [PATCH] core: collapse JOB_RELOAD on an inactive unit into JOB_NOP

2014-07-15 Thread Jon Severinsson
Before this commit systemctl reload on an inactive unit with a queued start job would block until the unit had started if the unit supported reload, but return failure immediately if the unit didn't. Additionally systemctl reload-or-try-restart (and systemctl force-reload) would block until the un

Re: [systemd-devel] [PATCH] test-compress-benchmark: silence warnings

2014-07-15 Thread Marc-Antoine Perennou
On 16 July 2014 10:30, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Jul 16, 2014 at 03:29:15AM +0200, Zbigniew Jędrzejewski-Szmek wrote: >> On Wed, Jul 16, 2014 at 10:13:06AM +0900, Marc-Antoine Perennou wrote: >> > and btw make it pass for 32bits where size_t != uint64_t >> Do they still make tho

Re: [systemd-devel] [PATCH] test-compress-benchmark: silence warnings

2014-07-15 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jul 16, 2014 at 03:29:15AM +0200, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Jul 16, 2014 at 10:13:06AM +0900, Marc-Antoine Perennou wrote: > > and btw make it pass for 32bits where size_t != uint64_t > Do they still make those? ;) > > Will apply. Actually please apply it yourself. Looks

Re: [systemd-devel] [PATCH] test-compress-benchmark: silence warnings

2014-07-15 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jul 16, 2014 at 10:13:06AM +0900, Marc-Antoine Perennou wrote: > and btw make it pass for 32bits where size_t != uint64_t Do they still make those? ;) Will apply. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://

[systemd-devel] [PATCH] test-compress-benchmark: silence warnings

2014-07-15 Thread Marc-Antoine Perennou
and btw make it pass for 32bits where size_t != uint64_t --- src/journal/test-compress-benchmark.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/journal/test-compress-benchmark.c b/src/journal/test-compress-benchmark.c index 0a23bd1..a346447 100644 --- a/src/jour

Re: [systemd-devel] systemd-networkd fails to get DHCPv4 lease with disabled IPv6

2014-07-15 Thread Lennart Poettering
On Tue, 15.07.14 11:05, Dan Williams (d...@redhat.com) wrote: > > On Tue, 2014-07-15 at 17:17 +0200, Lennart Poettering wrote: > > On Mon, 14.07.14 15:38, Dan Williams (d...@redhat.com) wrote: > > > > > But that brings up another question; I don't think systemd-networkd is > > > currently capabl

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-07-15 Thread Tom Gundersen
On Tue, Jul 15, 2014 at 6:33 PM, poma wrote: > On 15.07.2014 09:01, poma wrote: >> >> >> This sometimes works, sometimes not. :) >> https://bugzilla.redhat.com/show_bug.cgi?id=1119481 >> > > Resolved. > https://bugzilla.redhat.com/attachment.cgi?id=918197 > https://bugzilla.redhat.com/attachment.c

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-07-15 Thread poma
On 15.07.2014 09:01, poma wrote: This sometimes works, sometimes not. :) https://bugzilla.redhat.com/show_bug.cgi?id=1119481 Resolved. https://bugzilla.redhat.com/attachment.cgi?id=918197 https://bugzilla.redhat.com/attachment.cgi?id=918198 poma

[systemd-devel] [PATCH] units/serial-getty@.service: use the default RestartSec

2014-07-15 Thread Michael Olbrich
For pluggable ttys such as USB serial devices, the getty is restarted and exits in a loop until the remove event reaches systemd. Under certain circumstances the restart loop can overload the system in a way that prevents the remove event from reaching systemd for a long time (e.g. at least several

Re: [systemd-devel] systemd-networkd fails to get DHCPv4 lease with disabled IPv6

2014-07-15 Thread Dan Williams
On Tue, 2014-07-15 at 17:17 +0200, Lennart Poettering wrote: > On Mon, 14.07.14 15:38, Dan Williams (d...@redhat.com) wrote: > > > But that brings up another question; I don't think systemd-networkd is > > currently capable of ensuring a machine is completely configured when RA > > is enabled, bec

Re: [systemd-devel] 70-uaccess.rules: add new ID_SDR_HW?

2014-07-15 Thread Kay Sievers
On Tue, Jul 15, 2014 at 1:52 PM, Alick Zhao wrote: > On 07/15/2014 04:10 PM, Kay Sievers wrote: >>> So maybe ID_SOFTWARE_RADIO ? >> >> Hmm, SDR is more a term for a generic technology than for a device >> class. To me it does not really sound like an administrator would know >> what this is. >> >

Re: [systemd-devel] systemd-networkd fails to get DHCPv4 lease with disabled IPv6

2014-07-15 Thread Tom Gundersen
On Mon, Jul 14, 2014 at 10:38 PM, Dan Williams wrote: > On Mon, 2014-07-14 at 11:06 -0700, David Timothy Strauss wrote: >> On Sun, Jul 6, 2014 at 3:32 PM, Tom Gundersen wrote: >> > "yes" is a synonym for "both" and "no" for "none". >> >> These are odd semantics, given that IPv6 is completely conf

Re: [systemd-devel] systemd-networkd fails to get DHCPv4 lease with disabled IPv6

2014-07-15 Thread Tom Gundersen
On Mon, Jul 14, 2014 at 8:06 PM, David Timothy Strauss wrote: > On Sun, Jul 6, 2014 at 3:32 PM, Tom Gundersen wrote: >> "yes" is a synonym for "both" and "no" for "none". > > These are odd semantics, given that IPv6 is completely configurable > using router advertisements for even DNS information

Re: [systemd-devel] systemd-networkd fails to get DHCPv4 lease with disabled IPv6

2014-07-15 Thread Lennart Poettering
On Mon, 14.07.14 15:38, Dan Williams (d...@redhat.com) wrote: > But that brings up another question; I don't think systemd-networkd is > currently capable of ensuring a machine is completely configured when RA > is enabled, because it doesn't handle RDNSS and DNSSD options from the > RA response.

[systemd-devel] [RFC][PATCH] socket: show full instance name in services' description

2014-07-15 Thread Łukasz Stelmach
Change the way socket activated services are instantiated so that the full instnace name with addresses of both parties and not only the counter make it into units' descriptions visible in the journal. --- src/core/socket.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletio

Re: [systemd-devel] [PATCH] core: fix oneshot service resource control

2014-07-15 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jul 15, 2014 at 03:14:02PM +0200, Umut Tezduyar Lindskog wrote: > On Tue, Jul 15, 2014 at 3:03 PM, Zbigniew Jędrzejewski-Szmek > wrote: > > On Tue, Jul 15, 2014 at 08:36:29AM +0200, Umut Tezduyar Lindskog wrote: > >> Oneshot services's cgroup is removed when the service > >> exits. An asse

Re: [systemd-devel] Polkit and systemd D-Bus API

2014-07-15 Thread Stef Walter
On 15.07.2014 15:46, Jan Safranek wrote: > On 07/15/2014 03:38 PM, Stef Walter wrote: >> Not sure about: >> >> * Halt(), PowerOff(), Reboot() > > OpenLMI is interested in these. They are already covered by logind, > which is integrated with polkit just fine. Look for actions like > org.freedeskto

Re: [systemd-devel] Polkit and systemd D-Bus API

2014-07-15 Thread Jan Safranek
On 07/15/2014 03:38 PM, Stef Walter wrote: > Not sure about: > > * Halt(), PowerOff(), Reboot() OpenLMI is interested in these. They are already covered by logind, which is integrated with polkit just fine. Look for actions like org.freedesktop.login1.reboot, reboot-multiple-sessions etc. in org

Re: [systemd-devel] Polkit and systemd D-Bus API

2014-07-15 Thread Stef Walter
On 15.07.2014 15:15, Lennart Poettering wrote: > On Tue, 15.07.14 13:35, Stef Walter (s...@thewalter.net) wrote: > >> Cockpit, OpenLMI, and others want to use the systemd D-Bus API to manage >> system services/sockets etc. In addition we use polkit to authorize >> users and allow people to escalat

Re: [systemd-devel] Polkit and systemd D-Bus API

2014-07-15 Thread Jan Safranek
On 07/15/2014 03:15 PM, Lennart Poettering wrote: > On Tue, 15.07.14 13:35, Stef Walter (s...@thewalter.net) wrote: > >> Cockpit, OpenLMI, and others want to use the systemd D-Bus API to manage >> system services/sockets etc. In addition we use polkit to authorize >> users and allow people to esca

Re: [systemd-devel] Polkit and systemd D-Bus API

2014-07-15 Thread Lennart Poettering
On Tue, 15.07.14 13:35, Stef Walter (s...@thewalter.net) wrote: > Cockpit, OpenLMI, and others want to use the systemd D-Bus API to manage > system services/sockets etc. In addition we use polkit to authorize > users and allow people to escalate privileges as needed. > > It seems that the D-Bus A

Re: [systemd-devel] [PATCH] core: fix oneshot service resource control

2014-07-15 Thread Umut Tezduyar Lindskog
On Tue, Jul 15, 2014 at 3:03 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Jul 15, 2014 at 08:36:29AM +0200, Umut Tezduyar Lindskog wrote: >> Oneshot services's cgroup is removed when the service >> exits. An assert is hit otherwise. >> --- >> src/core/manager.c |3 ++- >> 1 file changed,

Re: [systemd-devel] [PATCH] core: fix oneshot service resource control

2014-07-15 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jul 15, 2014 at 08:36:29AM +0200, Umut Tezduyar Lindskog wrote: > Oneshot services's cgroup is removed when the service > exits. An assert is hit otherwise. > --- > src/core/manager.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/core/manager.c b/src/co

Re: [systemd-devel] 70-uaccess.rules: add new ID_SDR_HW?

2014-07-15 Thread Alick Zhao
On 07/15/2014 04:10 PM, Kay Sievers wrote: > On Tue, Jul 15, 2014 at 5:09 AM, Alick Zhao wrote: >> On 07/15/2014 08:03 AM, Kay Sievers wrote: >>> So is it possible to add ID_SDR_HW in the 70-uaccess.rules file? > It could be done. Whether systemd is the best place to keep the rules > f

[systemd-devel] Polkit and systemd D-Bus API

2014-07-15 Thread Stef Walter
Cockpit, OpenLMI, and others want to use the systemd D-Bus API to manage system services/sockets etc. In addition we use polkit to authorize users and allow people to escalate privileges as needed. It seems that the D-Bus API of systemd doesn't support polkit: http://www.freedesktop.org/wiki/Soft

[systemd-devel] [PATCH] core: don't complain if cgroup property is missing

2014-07-15 Thread Umut Tezduyar Lindskog
--- src/core/cgroup.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/cgroup.c b/src/core/cgroup.c index cd67963..ed5687d 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -303,12 +303,12 @@ void cgroup_context_apply(CGroupContext *c, CGroupController

Re: [systemd-devel] 70-uaccess.rules: add new ID_SDR_HW?

2014-07-15 Thread Kay Sievers
On Tue, Jul 15, 2014 at 5:09 AM, Alick Zhao wrote: > On 07/15/2014 08:03 AM, Kay Sievers wrote: >> So is it possible to add ID_SDR_HW in the 70-uaccess.rules file? >>> > It could be done. Whether systemd is the best place to keep the rules >>> > for SDR depends on whether there's a better pro

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-07-15 Thread poma
This sometimes works, sometimes not. :) https://bugzilla.redhat.com/show_bug.cgi?id=1119481 poma ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel