Re: [systemd-devel] How to control socket activation when it run respawn infinitely.

2014-01-06 Thread David Timothy Strauss
On Mon, Jan 6, 2014 at 8:56 AM, Tony Seo wrote: > But, I suspect that systemd has room not to get ACK from the server process > executed by service unit. > I concentrated on 3-way handshaking when I studied to analyze this problem. > > Isn't it right when we consider the systemd? I'm not sure wha

Re: [systemd-devel] journal: how to query journal to see ALL output of given unit?

2014-01-06 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jan 06, 2014 at 09:09:56PM +0100, Warpme wrote: > Kicking 'journalctl --unit mysqld.service' gives output of > '/usr/bin/mysqld' but not '/usr/local/bin/mysqld-check.sh' Can you show a record from journalctl -o verbose for mysqld-check.sh (one of those not shown, just one is enough)? Zbysz

[systemd-devel] journal: how to query journal to see ALL output of given unit?

2014-01-06 Thread Warpme
Hi * I have question regarding logging with help of systemd journal. I have mysql daemon unit which so some housekeeping after daemon start (see below). My question is: what is best method to query journal to see _ALL_ execution output of mysqld.service unit? Kicking 'journalctl --unit mysqld.s

Re: [systemd-devel] systemd-bus-proxyd causes hang in connman

2014-01-06 Thread Kay Sievers
On Mon, Jan 6, 2014 at 11:41 PM, Peeters Simon wrote: > recently I tried to switch my system to kdbus and systemd-bus-proxy. > But the only dbus based daemon (except for systemd) which I care about > (connman) seems to hang on startup, and connmanctl aborts with an > error in libdbus-1 (dbus mess

Re: [systemd-devel] Is there any way to stop services in cgroup?

2014-01-06 Thread Tony Seo
In my case, "PartOf " is the most proper among your suggestions. I wonder why "PartOf=.target" didn't work when I typed systemctl command. Thanks. 2014/1/3 Mantas Mikulėnas > On Thu, Jan 2, 2014 at 4:02 PM, Tony Seo wrote: > > Hello. > > I wonder that systemd has a method to stop all ser

Re: [systemd-devel] How to control socket activation when it run respawn infinitely.

2014-01-06 Thread Tony Seo
Yeah, I got the process what you explain, thanks. But, I suspect that systemd has room not to get ACK from the server process executed by service unit. I concentrated on 3-way handshaking when I studied to analyze this problem. Isn't it right when we consider the systemd? 2014/1/1 David Timothy

[systemd-devel] systemd-bus-proxyd causes hang in connman

2014-01-06 Thread Peeters Simon
hej, recently I tried to switch my system to kdbus and systemd-bus-proxy. But the only dbus based daemon (except for systemd) which I care about (connman) seems to hang on startup, and connmanctl aborts with an error in libdbus-1 (dbus message iterator is NULL) the journal does not contain anythi

Re: [systemd-devel] [WIP][RFC][PATCH] networkd: generate resolv.conf

2014-01-06 Thread Kay Sievers
On Mon, Jan 6, 2014 at 6:49 AM, Tom Gundersen wrote: > This adds support to generate a basic resolv.conf in /run/systemd/network. > This file will not take any effect unless the admin makes a symlink from > /etc/resolv.conf. > > The precedence of nameservers is: > > 1) nameservers receieved over

Re: [systemd-devel] [PATCH] Add SELinuxContext configuration item

2014-01-06 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/03/2014 12:35 PM, Michael Scherer wrote: > Le vendredi 03 janvier 2014 à 11:48 -0500, Daniel J Walsh a écrit : >> On 01/03/2014 09:16 AM, Michael Scherer wrote: > >> Well thinking about this again, I think still to the single label. Lets >> not

Re: [systemd-devel] [PATCH] core: support Distribute=n to distribute to n workers

2014-01-06 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jan 06, 2014 at 04:14:40AM -0800, David Timothy Strauss wrote: > On Sun, Jan 5, 2014 at 1:44 PM, Zbigniew Jędrzejewski-Szmek > wrote: > > 3. The strategy of dup()ing the socket doesn't work. I wrote > >a simple server in python which logs the connections [2], and hooked > >it up in

[systemd-devel] [PATCH] initial sd-dns commit

2014-01-06 Thread Daniel Buch
Hi again, Im hopeing we can continue in-tree since its easier from here, and im unable to get the time i want at the moment. But i will ofcourse continue to help where i can when time permits. I think the file nameing and locations are right? Anyway heres what i got so far --- Makefile.am

Re: [systemd-devel] [PATCH] core: support Distribute=n to distribute to n workers

2014-01-06 Thread David Timothy Strauss
On Sun, Jan 5, 2014 at 1:44 PM, Zbigniew Jędrzejewski-Szmek wrote: > 3. The strategy of dup()ing the socket doesn't work. I wrote >a simple server in python which logs the connections [2], and hooked >it up into systemd [3-4] (*). If REUSEPORT was working correctly, >each connection wo

Re: [systemd-devel] [WIP][RFC][PATCH] networkd: generate resolv.conf

2014-01-06 Thread Djalal Harouni
On Mon, Jan 06, 2014 at 12:50:23AM +0100, Tom Gundersen wrote: > Hi Djalal, > > On Mon, Jan 6, 2014 at 12:17 AM, Djalal Harouni wrote: > >> 1) nameservers receieved over DHCP > >> 2) nameservers statically configured in a currently active .network file > >> 3) nameservers statically configured

Re: [systemd-devel] [PATCH 1/2] Add switch_apparmor_profile helper, to switch the profile of the next command to run. This can be used to load a custom apparmor profile for a unit.

2014-01-06 Thread Michael Scherer
Le lundi 06 janvier 2014 à 03:20 +0100, Zbigniew Jędrzejewski-Szmek a écrit : > On Fri, Jan 03, 2014 at 05:22:42PM +0100, [email protected] wrote: > > From: Michael Scherer > > > > --- > > src/shared/apparmor-util.c | 15 +++ > > src/shared/apparmor-util.h | 1 + > > 2 files changed, 16

[systemd-devel] Starting in a network name?

2014-01-06 Thread Holger Schurig
Hi, I used "ip netns" commands to setup several network namespaces. Now I want to run a user-space (non-root) in one of those netspaces. "ip netns exec NAME COMMAND" seems to only work for root, not normal users. Is there a way to configure a systemd unit to run in a *specific* network namespace?

Re: [systemd-devel] [RFT] DHCPv4 support in networkd

2014-01-06 Thread Tom Gundersen
On Mon, Jan 6, 2014 at 10:43 AM, Holger Winkelmann [TP] wrote: > just a small off topic question here. How far is IPv6 support in > networks incl. DHCPv6? So far we only support static IPv6. -t ___ systemd-devel mailing list [email protected]

Re: [systemd-devel] [RFT] DHCPv4 support in networkd

2014-01-06 Thread Holger Winkelmann [TP]
just a small off topic question here. How far is IPv6 support in networks incl. DHCPv6? Many thanks and a happy new year! Holger -- Holger Winkelmann ___ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mail