[systemd-devel] [PATCH] bootchart: add standalone bootchart service

2014-11-14 Thread WaLyong Cho
--- Makefile.am| 9 + units/systemd-bootchart.service.in | 17 + 2 files changed, 26 insertions(+) create mode 100644 units/systemd-bootchart.service.in diff --git a/Makefile.am b/Makefile.am index 1aef242..b682606 100644 --- a/Makefile.am +++ b/M

[systemd-devel] [PATCH] networkd: Add bridge port path cost

2014-11-14 Thread Susant Sahani
This patch add support to specify path cost of the bridge port to be configured via conf file. Exampe: conf file: br.netdev [NetDev] Name=br-test Kind=bridge file: br.network [Match] Name=em1 [Network] Bridge=br-test [BridgePort] Cost=332 bridge link 2: em1 state UP : mtu 1500 master br-te

Re: [systemd-devel] [PATCH] networkd: Support VXlan parameters

2014-11-14 Thread Susant Sahani
On 11/15/2014 04:08 AM, Tom Gundersen wrote: Hi Susant, Hi Tom, Thanks for this! Thanks for the review . I have addressed all the comments. Only thing is since few names were long I had to indent the gperf file +VXLAN.L2MissNotification +VXLAN.L3MissNotification +VXLAN.RouteShortCircui

[systemd-devel] [PATCH] networkd: support vxlan parameters

2014-11-14 Thread Susant Sahani
V3: fix copy paste error V4: Make manual and config more readable Add vxlan paramertes to config. --- man/systemd.netdev.xml | 30 src/network/networkd-netdev-gperf.gperf | 83 + src/network/networkd-netdev-vxlan.c | 81 +++

Re: [systemd-devel] [PATCH] networkd: Support VXlan parameters

2014-11-14 Thread Tom Gundersen
Hi Susant, Thanks for this! On Fri, Nov 14, 2014 at 10:33 AM, Susant Sahani wrote: > V3: fix copy paste error > Add vxlan paramertes to config. > --- > man/systemd.netdev.xml | 30 > src/network/networkd-netdev-gperf.gperf | 7 ++- > src/network/networkd-netdev-vx

[systemd-devel] systemd-cgtop memory utilization display not useful

2014-11-14 Thread Lutz Vieweg
Hi, I noticed that systemd-cgtop in the "memory" column displays (and uses for sorting) a value that does include the cache memory somehow attributed to the slice. This makes little sense, as a) cache memory is freed when a task requires that memory for more important purposes, so cache memo

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

2014-11-14 Thread Ronny Chevalier
2014-11-14 12:42 GMT+01:00 Jan Synacek : > 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 respective layout. >

Re: [systemd-devel] systemd DBus services exit when they have clients

2014-11-14 Thread Simon McVittie
On 14/11/14 16:46, Stef Walter wrote: > On 14.11.2014 16:39, Lennart Poettering wrote: >> The services like hostnamed explicitly provide stable object >> paths and suchlike so that clients can completely ignore when >> the services go away and come back... > > Most DBus services are not like that,

Re: [systemd-devel] systemd DBus services exit when they have clients

2014-11-14 Thread Lennart Poettering
On Fri, 14.11.14 16:46, Stef Walter (st...@redhat.com) wrote: > > If you use proxies like that you should simply make sure they are > > not invalidated when the service goes away. > > > > The services like hostnamed explicitly provide stable object paths > > and suchlike so that clients can compl

Re: [systemd-devel] systemd DBus services exit when they have clients

2014-11-14 Thread Stef Walter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14.11.2014 16:39, Lennart Poettering wrote: > On Fri, 14.11.14 16:06, Stef Walter (st...@redhat.com) wrote: > >>> I guess the idea is that many clients (e.g. >>> gnome-settings-daemon) would make a few calls on startup and >>> then continue running

Re: [systemd-devel] systemd DBus services exit when they have clients

2014-11-14 Thread Lennart Poettering
On Fri, 14.11.14 16:06, Stef Walter (st...@redhat.com) wrote: > > I guess the idea is that many clients (e.g. gnome-settings-daemon) > > would make a few calls on startup and then continue running for > > days without ever touching the service again. > > > > What are the actual problems caused by

Re: [systemd-devel] systemd DBus services exit when they have clients

2014-11-14 Thread Lennart Poettering
On Fri, 14.11.14 16:41, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Fri, Nov 14, 2014 at 3:43 PM, Stef Walter wrote: > > > Is it intentional (or just laziness :D) that systemd DBus services > > like hostnamed, timedated and friends all exit after a timeout even > > while callers that have i

Re: [systemd-devel] systemd DBus services exit when they have clients

2014-11-14 Thread Lennart Poettering
On Fri, 14.11.14 14:43, Stef Walter (st...@redhat.com) wrote: > Is it intentional (or just laziness :D) that systemd DBus services > like hostnamed, timedated and friends all exit after a timeout even > while callers that have invoked their methods are still on the bus? > > Don't get me wrong, I

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

2014-11-14 Thread Lennart Poettering
On Fri, 14.11.14 12:42, Jan Synacek (jsyna...@redhat.com) wrote: > > diff --git a/Makefile.am b/Makefile.am > index 701666c..224582c 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -772,6 +772,8 @@ libsystemd_shared_la_SOURCES = \ > src/shared/time-util.h \ > src/shared/locale-uti

Re: [systemd-devel] systemd DBus services exit when they have clients

2014-11-14 Thread Stef Walter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14.11.2014 14:41, Mantas Mikulėnas wrote: > On Fri, Nov 14, 2014 at 3:43 PM, Stef Walter > wrote: > > Is it intentional (or just laziness :D) that systemd DBus services > like hostnamed, timedated and friends all exit aft

Re: [systemd-devel] Cannot use systemctl after heavy swapping

2014-11-14 Thread Jan Janssen
On 2014-11-14 16:06, Michal Schmidt wrote: On 11/14/2014 03:20 PM, Jan Janssen wrote: I think there might be something wrong with how the rate limiting works in manager.c. Just recently, firefox went nuts and got the whole system swapping like crazy. After manual OOM killing, the system is bac

Re: [systemd-devel] Cannot use systemctl after heavy swapping

2014-11-14 Thread Michal Schmidt
On 11/14/2014 03:20 PM, Jan Janssen wrote: > I think there might be something wrong with how the rate limiting > works in manager.c. Just recently, firefox went nuts and got the > whole system swapping like crazy. After manual OOM killing, the > system is back to normal, but I can't seem to do any

Re: [systemd-devel] systemd DBus services exit when they have clients

2014-11-14 Thread Mantas Mikulėnas
On Fri, Nov 14, 2014 at 3:43 PM, Stef Walter wrote: > Is it intentional (or just laziness :D) that systemd DBus services > like hostnamed, timedated and friends all exit after a timeout even > while callers that have invoked their methods are still on the bus? > > Don't get me wrong, I like servi

[systemd-devel] Cannot use systemctl after heavy swapping

2014-11-14 Thread Jan Janssen
Hi, I think there might be something wrong with how the rate limiting works in manager.c. Just recently, firefox went nuts and got the whole system swapping like crazy. After manual OOM killing, the system is back to normal, but I can't seem to do any service management with systemctl afterwa

[systemd-devel] systemd DBus services exit when they have clients

2014-11-14 Thread Stef Walter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it intentional (or just laziness :D) that systemd DBus services like hostnamed, timedated and friends all exit after a timeout even while callers that have invoked their methods are still on the bus? Don't get me wrong, I like services that exit wh

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

2014-11-14 Thread Susant Sahani
On 11/14/2014 05:12 PM, Jan Synacek wrote: +int xkb_keymap_get_components(X11Keymap *keymap) { +_cleanup_strv_free_ char **models = NULL, **options = NULL; +_cleanup_fclose_ FILE *f; +char line[LINE_MAX]; +enum KeymapComponent state = NONE; +size_t m = 0,

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

2014-11-14 Thread Susant Sahani
On 11/14/2014 05:12 PM, Jan Synacek wrote: +int xkb_validate_keymaps(const char *model, + const char *layouts_arg, + const char *variants_arg, + const char *options_arg, + char **error) +{ '{' should

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

2014-11-14 Thread Jan Synacek
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 respective layout. Variants are validated respectively to their layou

Re: [systemd-devel] [gummiboot][RFC] Add trusted boot (tboot) support to gummiboot

2014-11-14 Thread Minchev, Todor
On Fri, 2014-11-14 at 09:55 +, Minchev, Todor wrote: > > > 10.11.2014 14:10, Minchev, Todor wrote: > > > > Hello guys, > > > > > > > > I have been working on adding trusted boot (tboot) support to > gummiboot > > > > and since this requires quite a bit of new code to be added to the > > > > gum

[systemd-devel] [PATCH] networkd: Support VXlan parameters

2014-11-14 Thread Susant Sahani
V3: fix copy paste error Add vxlan paramertes to config. --- man/systemd.netdev.xml | 30 src/network/networkd-netdev-gperf.gperf | 7 ++- src/network/networkd-netdev-vxlan.c | 81 + src/network/networkd-netdev-vxlan.h | 10 +++

Re: [systemd-devel] [PATCH] networkd: Support VXlan parameters

2014-11-14 Thread Susant Sahani
On 11/14/2014 01:48 PM, Ronny Chevalier wrote: 2014-11-14 8:44 GMT+01:00 Susant Sahani : Hi, Hi, Add vxlan paramertes to config. --- +r = sd_rtnl_message_append_u32(m, IFLA_VXLAN_AGEING, v->fdb_ageing / USEC_PER_MSEC); s/USEC_PER_MSEC/USEC_PER_SEC/ Good catch thanks

[systemd-devel] [PATCH] networkd: Support VXlan parameters

2014-11-14 Thread Susant Sahani
Add vxlan paramertes to config. --- man/systemd.netdev.xml | 30 + src/network/networkd-netdev-gperf.gperf | 7 ++- src/network/networkd-netdev-vxlan.c | 75 + src/network/networkd-netdev-vxlan.h | 8 src/network/networkd.

Re: [systemd-devel] [PATCH] networkd: Support VXlan parameters

2014-11-14 Thread Ronny Chevalier
2014-11-14 8:44 GMT+01:00 Susant Sahani : Hi, > Add vxlan paramertes to config. > --- > man/systemd.netdev.xml | 30 + > src/network/networkd-netdev-gperf.gperf | 7 ++- > src/network/networkd-netdev-vxlan.c | 75 > + > src/networ