Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-17 Thread Cao, XinX
Hi, Umut & David, My project needs the Graphical desktop to display on monitor as fast as possible, but I found lots of unrelated services( such as sound, network, ... ) are competing CPU even they are explicitly After graphical service. And this competion delays the startup of

[systemd-devel] [PATCH] Set error code on failure

2014-11-17 Thread Stanisław Pitucha
Set the error code in case of incorrect name. This prevents continuing and failing an assert(name) later on. --- src/resolve/resolved-dns-packet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c index 7f7

[systemd-devel] [PATCH 1/2] Fix redirection loops in compressed RR

2014-11-17 Thread Stanisław Pitucha
Loops in RR compression were only detected for the first entry. Multiple redirections should be allowed, each one checking for an infinite loop on its own starting point. Also update the pointer on each redirection to avoid longer loops of labels and redirections, in names like: (start) [len=1] "A"

[systemd-devel] [PATCH] Fix redirection loops in compressed RR

2014-11-17 Thread Stanisław Pitucha
Loops in RR compression were only detected for the first entry. Multiple redirections should be allowed, each one checking for an infinite loop on its own starting point. --- src/resolve/resolved-dns-packet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/resolve/resolve

[systemd-devel] [PATCH] Stop crashing on empty TXT

2014-11-17 Thread Stanisław Pitucha
TXT records should have at least one character, so enforce this. Previously parser SIGSEGV'd on ->txt.strings being NULL. --- src/resolve/resolved-dns-packet.c | 4 1 file changed, 4 insertions(+) diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c index e5d07

[systemd-devel] Systemd-networkd DHCP Server DNS integration?

2014-11-17 Thread William Wilhelm
Hi, I'm building a router and have been experimenting with DHCPServer=yes for the LAN side of things. It's been working well. I ask if there is any integration between the networkd DHCP server and systemd-resolved? When the server hands out an address does it register a hosts entry for the cli

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Thomas H.P. Andersen
On Mon, Nov 17, 2014 at 7:54 PM, Greg KH wrote: > On Tue, Nov 18, 2014 at 12:21:29AM +0530, Susant Sahani wrote: >> On 11/18/2014 12:06 AM, Greg KH wrote: >> >On Mon, Nov 17, 2014 at 06:47:33PM +0100, Ronny Chevalier wrote: >> >>2014-11-17 18:31 GMT+01:00 Greg KH : >> >>>On Mon, Nov 17, 2014 at 10

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Greg KH
On Tue, Nov 18, 2014 at 12:21:29AM +0530, Susant Sahani wrote: > On 11/18/2014 12:06 AM, Greg KH wrote: > >On Mon, Nov 17, 2014 at 06:47:33PM +0100, Ronny Chevalier wrote: > >>2014-11-17 18:31 GMT+01:00 Greg KH : > >>>On Mon, Nov 17, 2014 at 10:44:14PM +0530, Susant Sahani wrote: > On 11/17/201

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Ronny Chevalier
2014-11-17 19:36 GMT+01:00 Greg KH : > On Mon, Nov 17, 2014 at 06:47:33PM +0100, Ronny Chevalier wrote: >> 2014-11-17 18:31 GMT+01:00 Greg KH : >> > On Mon, Nov 17, 2014 at 10:44:14PM +0530, Susant Sahani wrote: >> >> On 11/17/2014 10:39 PM, Greg KH wrote: >> >> >On Mon, Nov 17, 2014 at 10:36:53PM

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Susant Sahani
On 11/18/2014 12:06 AM, Greg KH wrote: On Mon, Nov 17, 2014 at 06:47:33PM +0100, Ronny Chevalier wrote: 2014-11-17 18:31 GMT+01:00 Greg KH : On Mon, Nov 17, 2014 at 10:44:14PM +0530, Susant Sahani wrote: On 11/17/2014 10:39 PM, Greg KH wrote: On Mon, Nov 17, 2014 at 10:36:53PM +0530, Susant S

[systemd-devel] systemd-resolved: Concerns raised about cache handling

2014-11-17 Thread Florian Weimer
On the oss-security mailing list, Sebastian Kramer raised some concerns about the DNS implementation in systemd-resolved: I share his concerns, particularly those about caching data not directly pertaining to a response (and they were

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Greg KH
On Mon, Nov 17, 2014 at 06:47:33PM +0100, Ronny Chevalier wrote: > 2014-11-17 18:31 GMT+01:00 Greg KH : > > On Mon, Nov 17, 2014 at 10:44:14PM +0530, Susant Sahani wrote: > >> On 11/17/2014 10:39 PM, Greg KH wrote: > >> >On Mon, Nov 17, 2014 at 10:36:53PM +0530, Susant Sahani wrote: > >> >>On 11/17

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Ronny Chevalier
2014-11-17 18:31 GMT+01:00 Greg KH : > On Mon, Nov 17, 2014 at 10:44:14PM +0530, Susant Sahani wrote: >> On 11/17/2014 10:39 PM, Greg KH wrote: >> >On Mon, Nov 17, 2014 at 10:36:53PM +0530, Susant Sahani wrote: >> >>On 11/17/2014 10:26 PM, Greg KH wrote: >> >>>On Mon, Nov 17, 2014 at 04:28:58PM +05

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Greg KH
On Mon, Nov 17, 2014 at 10:44:14PM +0530, Susant Sahani wrote: > On 11/17/2014 10:39 PM, Greg KH wrote: > >On Mon, Nov 17, 2014 at 10:36:53PM +0530, Susant Sahani wrote: > >>On 11/17/2014 10:26 PM, Greg KH wrote: > >>>On Mon, Nov 17, 2014 at 04:28:58PM +0530, Susant Sahani wrote: > --- >

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Susant Sahani
On 11/17/2014 10:39 PM, Greg KH wrote: On Mon, Nov 17, 2014 at 10:36:53PM +0530, Susant Sahani wrote: On 11/17/2014 10:26 PM, Greg KH wrote: On Mon, Nov 17, 2014 at 04:28:58PM +0530, Susant Sahani wrote: --- src/tty-ask-password-agent/tty-ask-password-agent.c | 2 +- 1 file changed, 1 inser

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Susant Sahani
On 11/17/2014 10:39 PM, Greg KH wrote: On Mon, Nov 17, 2014 at 10:36:53PM +0530, Susant Sahani wrote: On 11/17/2014 10:26 PM, Greg KH wrote: On Mon, Nov 17, 2014 at 04:28:58PM +0530, Susant Sahani wrote: --- src/tty-ask-password-agent/tty-ask-password-agent.c | 2 +- 1 file changed, 1 inser

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Greg KH
On Mon, Nov 17, 2014 at 10:36:53PM +0530, Susant Sahani wrote: > On 11/17/2014 10:26 PM, Greg KH wrote: > >On Mon, Nov 17, 2014 at 04:28:58PM +0530, Susant Sahani wrote: > >>--- > >> src/tty-ask-password-agent/tty-ask-password-agent.c | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >>

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Susant Sahani
On 11/17/2014 10:26 PM, Greg KH wrote: On Mon, Nov 17, 2014 at 04:28:58PM +0530, Susant Sahani wrote: --- src/tty-ask-password-agent/tty-ask-password-agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Greg KH
On Mon, Nov 17, 2014 at 04:28:58PM +0530, Susant Sahani wrote: > --- > src/tty-ask-password-agent/tty-ask-password-agent.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c > b/src/tty-ask-password-agent/tty-ask-password-

[systemd-devel] [PATCH] networkd: route - allow routes without a gateway

2014-11-17 Thread Gavin Li
For IPv6, the kernel returns EINVAL if a route is added with the RTA_GATEWAY attribute set to in6addr_any (::). A route without a gateway is useful in some situations, such as layer 3 tunneling (sit, gre, etc.). This patch prevents the RTA_GATEWAY attribute from being added when route.in_addr is i

[systemd-devel] set rr scheduler failed with cpushares

2014-11-17 Thread WaLyong Cho
Hello, I'd made two different services. One has *CPUSchedulingPolicy=rr* and the others has *CPUShares=*. # cat foo.service [Unit] Description=foo has CPUSchedulingPolicy= [Service] RemainAfterExit=yes ExecStart=/bin/true CPUSchedulingPolicy=rr # cat bar.service [Unit] Description=bar has CPUSh

Re: [systemd-devel] Shutdown problems

2014-11-17 Thread Colin Guthrie
Nikolaus Rath wrote on 16/11/14 16:54: > No one able to help at all? Please be patient. You've only left it a couple days since your last reply and only one of those days was a weekday. People will likely reply soon enough. I would however recommend you disable things like plymouth and remove t

Re: [systemd-devel] [k]dbus: api, match replace and test extending

2014-11-17 Thread Rui Miguel Silva
On Mon, Nov 17, 2014 at 11:00:52AM +0100, Lennart Poettering wrote: > On Mon, 17.11.14 00:23, Rui Miguel Silva (rmf...@gmail.com) wrote: > > > Hi, > > > > I have some questions regarding kdbus/dbus, maybe some could assist: > > > > 1\ api: when it is exported explicity bloom as filter implementa

Re: [systemd-devel] [PATCH 1/2] namespace:Unchecked return value from library

2014-11-17 Thread David Herrmann
Hi On Mon, Nov 17, 2014 at 11:58 AM, Susant Sahani wrote: > fix: > CID 1237553 (#1 of 6): Unchecked return value from library > (CHECKED_RETURN > > CID 1237553 (#3 of 6): Unchecked return value from library > (CHECKED_RETURN) > > CID 1237553 (#4 of 6): Unchecked return value from library > (CHE

[systemd-devel] [PATCH 1/2] namespace:Unchecked return value from library

2014-11-17 Thread Susant Sahani
fix: CID 1237553 (#1 of 6): Unchecked return value from library (CHECKED_RETURN CID 1237553 (#3 of 6): Unchecked return value from library (CHECKED_RETURN) CID 1237553 (#4 of 6): Unchecked return value from library (CHECKED_RETURN) CID 1237553 (#5 of 6): Unchecked return value from library (CH

[systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Susant Sahani
--- src/tty-ask-password-agent/tty-ask-password-agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c index e6dc84b..1fc792b 100644 --- a/src/tty-ask-password-agent/tty-

Re: [systemd-devel] [PATCH 1/2] namespace:Unchecked return value from library

2014-11-17 Thread Susant Sahani
On 11/17/2014 04:14 PM, David Herrmann wrote: Hi On Mon, Nov 17, 2014 at 11:37 AM, Susant Sahani wrote: fix: CID 1237553 (#1 of 6): Unchecked return value from library (CHECKED_RETURN CID 1237553 (#3 of 6): Unchecked return value from library (CHECKED_RETURN) CID 1237553 (#4 of 6): Uncheck

Re: [systemd-devel] [PATCH 1/2] namespace:Unchecked return value from library

2014-11-17 Thread David Herrmann
Hi On Mon, Nov 17, 2014 at 11:37 AM, Susant Sahani wrote: > fix: > CID 1237553 (#1 of 6): Unchecked return value from library > (CHECKED_RETURN > > CID 1237553 (#3 of 6): Unchecked return value from library > (CHECKED_RETURN) > > CID 1237553 (#4 of 6): Unchecked return value from library > (CHEC

[systemd-devel] [PATCH 1/2] namespace:Unchecked return value from library

2014-11-17 Thread Susant Sahani
fix: CID 1237553 (#1 of 6): Unchecked return value from library (CHECKED_RETURN CID 1237553 (#3 of 6): Unchecked return value from library (CHECKED_RETURN) CID 1237553 (#4 of 6): Unchecked return value from library (CHECKED_RETURN) CID 1237553 (#5 of 6): Unchecked return value from library (CHE

[systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Susant Sahani
--- src/tty-ask-password-agent/tty-ask-password-agent.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c index e6dc84b..7d11e47 100644 --- a/src/tty-ask-password-agent/

Re: [systemd-devel] [PATCH 1/2] namespace:Unchecked return value from library

2014-11-17 Thread Susant Sahani
On 11/17/2014 03:35 PM, David Herrmann wrote: Hi Hi, On Tue, Nov 11, 2014 at 11:33 AM, Susant Sahani wrote: fix: CID 1237553 (#1 of 6): Unchecked return value from library (CHECKED_RETURN CID 1237553 (#3 of 6): Unchecked return value from library (CHECKED_RETURN) CID 1237553 (#4 of 6): U

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread David Herrmann
Hi On Mon, Nov 17, 2014 at 11:20 AM, Susant Sahani wrote: > On 11/17/2014 03:39 PM, David Herrmann wrote: >> >> Hi > > Hi David, >> >> >> On Tue, Nov 11, 2014 at 11:33 AM, Susant Sahani wrote: >>> >>> Unchecked return value from library >>> --- >>> src/tty-ask-password-agent/tty-ask-password-a

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread Susant Sahani
On 11/17/2014 03:39 PM, David Herrmann wrote: Hi Hi David, On Tue, Nov 11, 2014 at 11:33 AM, Susant Sahani wrote: Unchecked return value from library --- src/tty-ask-password-agent/tty-ask-password-agent.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tty-ask-

Re: [systemd-devel] [PATCH 2/2] tty-ask-password-agent: fix CID 996261

2014-11-17 Thread David Herrmann
Hi On Tue, Nov 11, 2014 at 11:33 AM, Susant Sahani wrote: > Unchecked return value from library > --- > src/tty-ask-password-agent/tty-ask-password-agent.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c > b/src/tty

Re: [systemd-devel] [PATCH 1/2] namespace:Unchecked return value from library

2014-11-17 Thread David Herrmann
Hi On Tue, Nov 11, 2014 at 11:33 AM, Susant Sahani wrote: > fix: > CID 1237553 (#1 of 6): Unchecked return value from library > (CHECKED_RETURN > > CID 1237553 (#3 of 6): Unchecked return value from library > (CHECKED_RETURN) > > CID 1237553 (#4 of 6): Unchecked return value from library > (CHEC

Re: [systemd-devel] [PATCH 3/3] bus-socket: fix CID 996290 Unchecked return value

2014-11-17 Thread David Herrmann
Hi On Tue, Nov 11, 2014 at 9:06 AM, Susant Sahani wrote: > --- > src/libsystemd/sd-bus/bus-socket.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied! Thanks David > diff --git a/src/libsystemd/sd-bus/bus-socket.c > b/src/libsystemd/sd-bus/bus-socket.c > index d124d9a..662b

Re: [systemd-devel] [k]dbus: api, match replace and test extending

2014-11-17 Thread Lennart Poettering
On Mon, 17.11.14 00:23, Rui Miguel Silva (rmf...@gmail.com) wrote: > Hi, > > I have some questions regarding kdbus/dbus, maybe some could assist: > > 1\ api: when it is exported explicity bloom as filter implementation dont > you think that: > - exporting through api an internal implementat

Re: [systemd-devel] [PATCH 2/3] resolved: fix CID 1237549 Unchecked return value

2014-11-17 Thread David Herrmann
Hi On Tue, Nov 11, 2014 at 9:06 AM, Susant Sahani wrote: > --- Applied! Thanks David > src/resolve/resolved-dns-scope.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/resolve/resolved-dns-scope.c > b/src/resolve/resolved-dns-scope.c > index 1664b13..25e0d9e

Re: [systemd-devel] [PATCH 1/3] log: 1237557 Unchecked return value from library

2014-11-17 Thread David Herrmann
Hi On Tue, Nov 11, 2014 at 9:06 AM, Susant Sahani wrote: > fix 1237557 Unchecked return value from library > --- > src/shared/log.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/shared/log.c b/src/shared/log.c > index 1c589ac..e7237ba 100644 > --- a/src/shared/log.

Re: [systemd-devel] [PATCH v2] localed: validate set-x11-keymap input

2014-11-17 Thread David Herrmann
Hi On Fri, Nov 14, 2014 at 12:42 PM, Jan Synacek wrote: > Try to validate the input similarly to how setxkbmap does it. Multiple > layouts and variants can be specified, separated by a comma. Variants > can also be left out, meaning that the user doesn't want any particular > variant for the resp

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-17 Thread Umut Tezduyar Lindskog
Hi XinX On Mon, Nov 17, 2014 at 9:40 AM, Cao, XinX wrote: > Hi, everybody, > > > > As we all know that currently systemd puts all the services into > a run_queue, and lets them run together as possible as it can. However, this > mechanism also brings in a problem, which means all the

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-17 Thread David Herrmann
Hi On Mon, Nov 17, 2014 at 9:40 AM, Cao, XinX wrote: > Hi, everybody, > > > > As we all know that currently systemd puts all the services into > a run_queue, and lets them run together as possible as it can. However, this > mechanism also brings in a problem, which means all the servi

[systemd-devel] make systemd service takes cpu exclusively

2014-11-17 Thread Cao, XinX
Hi, everybody, As we all know that currently systemd puts all the services into a run_queue, and lets them run together as possible as it can. However, this mechanism also brings in a problem, which means all the services will contend for CPU, and systemd is unable to make sure one

[systemd-devel] confirm

2014-11-17 Thread Cao, XinX
confirm 502b8688fb19af59d0659c7f3c86da28cfaf7713 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel