Re: [systemd-devel] [PATCH] timedated: add --timezone option to set the default timezone

2014-03-19 Thread Andrey Borzenkov
В Wed, 19 Mar 2014 19:55:35 +0100 Zbigniew Jędrzejewski-Szmek пишет: > On Thu, Mar 20, 2014 at 12:39:12AM +0900, juho son wrote: > > Hi, > > I omitted explain about. > > /etc have many system's configuration files. "localtime" is one of them. > > Normally /etc is on readable and writable location

Re: [systemd-devel] [PATCH] timedated: add --timezone option to set the default timezone

2014-03-19 Thread Kyungmin Park
On Thu, Mar 20, 2014 at 6:10 AM, Greg KH wrote: > On Wed, Mar 19, 2014 at 07:55:35PM +0100, Zbigniew Jędrzejewski-Szmek wrote: >> On Thu, Mar 20, 2014 at 12:39:12AM +0900, juho son wrote: >> > Hi, >> > I omitted explain about. >> > /etc have many system's configuration files. "localtime" is one of

[systemd-devel] [PATCH] network: dhcp: create host route if dhcp subnet is 255.255.255.255

2014-03-19 Thread Brandon Philips
Some DHCP servers gives you a netmask of 255.255.255.255 so gateway is not routable. Make a host route instead. This fixes the issue but the implementation is very specific. It would probably be better to check the route table first. What do you think? The code from dhcpcd that works around this

Re: [systemd-devel] [PATCH] endpoint: break if an endpoint was found

2014-03-19 Thread Daniel Mack
On 03/19/2014 09:31 PM, Djalal Harouni wrote: > Signed-off-by: Djalal Harouni > --- > endpoint.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks! > > diff --git a/endpoint.c b/endpoint.c > index 876e5e3..a6d9dfb 100644 > --- a/endpoint.c > +++ b/endpoint.c > @@ -139,6 +139,7 @@ static

Re: [systemd-devel] [PATCH] timedated: add --timezone option to set the default timezone

2014-03-19 Thread Greg KH
On Wed, Mar 19, 2014 at 07:55:35PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Mar 20, 2014 at 12:39:12AM +0900, juho son wrote: > > Hi, > > I omitted explain about. > > /etc have many system's configuration files. "localtime" is one of them. > > Normally /etc is on readable and writable lo

Re: [systemd-devel] Building systemd from git

2014-03-19 Thread Lennart Poettering
On Wed, 19.03.14 22:25, Kevin Wilson (wkev...@gmail.com) wrote: > Hello, > > When I build systemd from git using the usual procedure of configure, > without setting special parameters, it installs folder under > /usr/etc/systemd/ (like /usr/etc/systemd/system and its children, > /usr/etc/systemd/

Re: [systemd-devel] Building systemd from git

2014-03-19 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 19, 2014 at 10:25:30PM +0200, Kevin Wilson wrote: > Hello, > > When I build systemd from git using the usual procedure of configure, > without setting special parameters, it installs folder under > /usr/etc/systemd/ (like /usr/etc/systemd/system and its children, > /usr/etc/systemd/net

[systemd-devel] [PATCH] endpoint: break if an endpoint was found

2014-03-19 Thread Djalal Harouni
Signed-off-by: Djalal Harouni --- endpoint.c | 1 + 1 file changed, 1 insertion(+) diff --git a/endpoint.c b/endpoint.c index 876e5e3..a6d9dfb 100644 --- a/endpoint.c +++ b/endpoint.c @@ -139,6 +139,7 @@ static struct kdbus_ep *kdbus_ep_find(struct kdbus_bus *bus, const char *name)

[systemd-devel] [PATCH 2/2] domain: grab the domain's parent lock only when needed

2014-03-19 Thread Djalal Harouni
Signed-off-by: Djalal Harouni --- domain.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/domain.c b/domain.c index d27cad2..554b4fe 100644 --- a/domain.c +++ b/domain.c @@ -183,12 +183,13 @@ struct kdbus_domain *kdbus_domain_unref(struct kdbus_domain *domain)

[systemd-devel] Building systemd from git

2014-03-19 Thread Kevin Wilson
Hello, When I build systemd from git using the usual procedure of configure, without setting special parameters, it installs folder under /usr/etc/systemd/ (like /usr/etc/systemd/system and its children, /usr/etc/systemd/network/, and more). Is there a way to run configure so that, instead of /us

[systemd-devel] [PATCH 1/2] domain: move compose logic on its own kdbus_domain_compose_path() function

2014-03-19 Thread Djalal Harouni
Signed-off-by: Djalal Harouni --- domain.c | 68 +++- 1 file changed, 37 insertions(+), 31 deletions(-) diff --git a/domain.c b/domain.c index 2e05e90..d27cad2 100644 --- a/domain.c +++ b/domain.c @@ -223,12 +223,44 @@ struct kdbus_doma

Re: [systemd-devel] [PATCH] timedated: add --timezone option to set the default timezone

2014-03-19 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 20, 2014 at 12:39:12AM +0900, juho son wrote: > Hi, > I omitted explain about. > /etc have many system's configuration files. "localtime" is one of them. > Normally /etc is on readable and writable location. So you've made the directory for configuration read-only, but you want to chan

Re: [systemd-devel] [RFC][v3.13][v3.14][Regression] kthread:makekthread_create()killable

2014-03-19 Thread Kay Sievers
On Wed, Mar 19, 2014 at 4:54 PM, Joseph Salisbury wrote: > A kernel bug report was opened against Ubuntu[0]. We performed a kernel > bisect, and found that a change introduced by upstream linux kernel > commit 786235eeb introduced the bug as of v3.13-rc1. > > The bug indicates an issue with the SA

[systemd-devel] [RFC][v3.13][v3.14][Regression] kthread:makekthread_create()killable

2014-03-19 Thread Joseph Salisbury
Hello, A kernel bug report was opened against Ubuntu[0]. We performed a kernel bisect, and found that a change introduced by upstream linux kernel commit 786235eeb introduced the bug as of v3.13-rc1. The bug indicates an issue with the SAS controller during initialization, which prevents the syst

Re: [systemd-devel] [PATCH] timedated: add --timezone option to set the default timezone

2014-03-19 Thread juho son
Hi, I omitted explain about. /etc have many system's configuration files. "localtime" is one of them. Normally /etc is on readable and writable location. So if we want to change our system's timezone, we could change the link to proper timezone. In Tizen, "/etc" is on read only partition to pr

Re: [systemd-devel] How to compute a value for a service argument or environment value?

2014-03-19 Thread Alan Stern
On Wed, 19 Mar 2014, Umut Tezduyar wrote: > Hi Alan, > > As Cristian has suggested, the correct behavior is letting daemons > pick up the right argument. Cristian must not have CC'ed me on his reply, because I didn't see it until I looked at the mailing list archive. > Though, there is a hack

Re: [systemd-devel] How to compute a value for a service argument or environment value?

2014-03-19 Thread Umut Tezduyar
Hi Alan, As Cristian has suggested, the correct behavior is letting daemons pick up the right argument. Though, there is a hack if you can't re implement the daemon. You could compute the variables in an ExecStartPre= and write them to a file (/run/yourservice/arg) and point your EnvironmentFile=

Re: [systemd-devel] Mount options for $XDG_RUNTIME_DIR

2014-03-19 Thread Leonid Isaev
Hi Dave, On Tue, 18 Mar 2014 13:29:36 -0400 Dave Reisner wrote: > [...] > > > Moreover "noexec" is mostly snake-oil, isn't it? You can invoke the > > > executables with an interpreter still, and you can copy the files > > > elsewhere... > > > > True for the interpreted code. > > And compiled co

Re: [systemd-devel] [PATCH] timedated: add --timezone option to set the default timezone

2014-03-19 Thread Umut Tezduyar
Hi Juho, Isn't linking /etc/localtime to your custom file enough? On Mon, Mar 17, 2014 at 6:34 PM, Juho Son wrote: > This option could changes the default system's time zone. > The default time zone is /etc/localtime. If we want to use > the specific path, we could use this option. > > Change-Id

[systemd-devel] [PATCH] V2 sd-ipv4ll: generate predictable addresses

2014-03-19 Thread Umut Tezduyar Lindskog
--- src/libsystemd-network/sd-ipv4ll.c | 86 +--- src/network/networkd-link.c| 12 +++- src/network/networkd.h |1 + src/shared/net-util.c | 39 + src/shared/net-util.h |2 + src/systemd/sd-ipv4ll.h

Re: [systemd-devel] systemd-networkd bridge with DHCP not working

2014-03-19 Thread Tom Gundersen
On Wed, Mar 19, 2014 at 1:25 PM, poma wrote: > Still the same issue, DHCPC starts too early, before the correct MAC > address is set for the bridge. > > git 7bf2f4397255bc8f6cf20a0f2adab4c984ea7d14 I haven't yet gotten around to this. We probably should just restart the dhcp client if the mac add

[systemd-devel] [PATCH] libsystemd-network: Don't unnecessarily send too long packets

2014-03-19 Thread Patrik Flykt
Since the length used by options is known, send packets with no extra padding. --- Hi, Discovered that the full buffer was sent out even though the length of all options would indicate a shorter one. Shave off extra padding from the packets by properly setting the buffer length. Cheers,

Re: [systemd-devel] systemd-networkd bridge with DHCP not working

2014-03-19 Thread poma
Still the same issue, DHCPC starts too early, before the correct MAC address is set for the bridge. git 7bf2f4397255bc8f6cf20a0f2adab4c984ea7d14 journalctl -b -u systemd-networkd ... 12:51:55 networkd[579]: timestamp of '/etc/systemd/network' changed 12:51:55 networkd[579]: timestamp of '/run/sy

[systemd-devel] [PATCH] libsystemd-network: Prepend hardware type byte to client identifier

2014-03-19 Thread Patrik Flykt
Even though client identifiers SHOULD be treated as opaque objects by DHCP servers, follow the recommendation of a hardware type field with value 0x01 (ethernet) followed by the hardware address as described in RFC 2132. --- Hi, This change "fixes" the DHCP client identifier to use the in

Re: [systemd-devel] [PATCH 4/4] libsystemd-network: Add Init-Reboot support

2014-03-19 Thread Patrik Flykt
On Mon, 2014-03-17 at 15:08 +0100, Zbigniew Jędrzejewski-Szmek wrote: > > If there are no more comments, I can probably go ahead and apply > > these four patches? > > Yes, they look fine. Rebased to latest taking Tom's changes from yesterday into account and applied these. Cheers, Patri