Re: [systemd-devel] [RFC] Initial libsystemd-asyncns commit

2014-01-02 Thread David Timothy Strauss
Just to consider what other folks are doing, I know Fedora builds libcurl with a thread-isolated, NSS-based resolver. On a less-related note, at Pantheon improve DNS performance on servers by setting resolv.conf to localhost and running Unbound there. Unbound then uses the datacenter's recursive D

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

2014-01-02 Thread Jóhann B. Guðmundsson
On 12/28/2013 01:30 PM, Lennart Poettering wrote: On Fri, 27.12.13 23:26,m...@zarb.org (m...@zarb.org) wrote: >From: Michael Scherer > >This permit to let system administrators decide of the domain of a service. >This can be used with templated units to have each service in a différent >domai

Re: [systemd-devel] [PATCH] systemctl: improve readability on failed commands

2014-01-02 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 03, 2014 at 12:37:32AM +0100, Thomas H.P. Andersen wrote: > From: Thomas Hindoe Paaboel Andersen > > Not long ago a failed command would print: > "Failed to start something.service: ..." > regardless of whether the command was to start/stop/restart/etc. > > With e3e0314 this was impr

[systemd-devel] systemd-logind retrying constantly when operation is denied by selinux

2014-01-02 Thread Tim Cuthbertson
I recently noticed loud and sustained disk noise, and iotop reported that jdb2 was going full throttle on /dev/sda1 (my root partition). I ran `journalctl -f` to see if anything obvious was wrong, and was greeted with the following messages: Jan 03 10:23:04 meep systemd[1]: SELinux policy denies a

[systemd-devel] [PATCH] systemctl: improve readability on failed commands

2014-01-02 Thread Thomas H.P. Andersen
From: Thomas Hindoe Paaboel Andersen Not long ago a failed command would print: "Failed to start something.service: ..." regardless of whether the command was to start/stop/restart/etc. With e3e0314 this was improved to print the method used. E.g. for stopping: "Failed to StopUnit something.serv

Re: [systemd-devel] [RFC] Initial libsystemd-asyncns commit

2014-01-02 Thread Kay Sievers
On Thu, Jan 2, 2014 at 10:53 PM, Tom Gundersen wrote: > On Wed, Dec 11, 2013 at 2:41 AM, Lennart Poettering > wrote: >> To follow the naming scheme of the other libs we should probably call >> this "sd-asyncs.c", and the header file should be in src/systemd/ >> together with the other public AP

Re: [systemd-devel] [RFC] Initial libsystemd-asyncns commit

2014-01-02 Thread Tom Gundersen
On Thu, Jan 2, 2014 at 10:53 PM, Tom Gundersen wrote: > On Wed, Dec 11, 2013 at 2:41 AM, Lennart Poettering > wrote: >> On Wed, 11.12.13 02:13, Daniel Buch (boogiewasth...@gmail.com) wrote: >> >> Heya, >> >> Hmm, so thinking about it I have the suspicion this should probably be >> linked into lib

Re: [systemd-devel] [RFC] Initial libsystemd-asyncns commit

2014-01-02 Thread Tom Gundersen
On Wed, Dec 11, 2013 at 2:41 AM, Lennart Poettering wrote: > On Wed, 11.12.13 02:13, Daniel Buch (boogiewasth...@gmail.com) wrote: > > Heya, > > Hmm, so thinking about it I have the suspicion this should probably be > linked into libsystemd-bus, and thus live in src/libsystemd-bus/. The > reason f

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

2014-01-02 Thread Andrey Borzenkov
В Чт, 02/01/2014 в 17:43 +0200, 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 services in specific cgroup. > > Actually, I have looked for a method to stop all services as the same time. > > I have searched m

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

2014-01-02 Thread Michael Scherer
Le jeudi 02 janvier 2014 à 11:30 -0500, Daniel J Walsh a écrit : > On 12/28/2013 11:47 AM, Michael Scherer wrote: > > Le samedi 28 décembre 2013 à 14:30 +0100, Lennart Poettering a écrit : > >> On Fri, 27.12.13 23:26, m...@zarb.org (m...@zarb.org) wrote: > >> > >>> From: Michael Scherer > >>> >

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

2014-01-02 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/28/2013 11:47 AM, Michael Scherer wrote: > Le samedi 28 décembre 2013 à 14:30 +0100, Lennart Poettering a écrit : >> On Fri, 27.12.13 23:26, m...@zarb.org (m...@zarb.org) wrote: >> >>> From: Michael Scherer >>> >>> This permit to let system ad

Re: [systemd-devel] [Bug] minor typo on systemd wiki page

2014-01-02 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 02, 2014 at 04:31:41PM +0100, Holger Schurig wrote: > On http://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/ > > > To create and start a unit in the cgroup tree use the StartTransientUnit() > > method on the Manager object exposed by systemd's PID 1 on the bus, > >

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

2014-01-02 Thread Tom Gundersen
On Thu, Jan 2, 2014 at 4:48 PM, Reindl Harald wrote: > > > Am 02.01.2014 16:41, schrieb Tom Gundersen: >> On Thu, Jan 2, 2014 at 4:37 PM, Reindl Harald wrote: >>> the problems are that if someone comes back with his Apple notebook >>> this crap starts to using the old ip-address and triggering al

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

2014-01-02 Thread Reindl Harald
Am 02.01.2014 16:41, schrieb Tom Gundersen: > On Thu, Jan 2, 2014 at 4:37 PM, Reindl Harald wrote: >> the problems are that if someone comes back with his Apple notebook >> this crap starts to using the old ip-address and triggering all sorts >> of alarms, firewall-rules and so on > > Hm, sound

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

2014-01-02 Thread 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 services in specific cgroup. > Actually, I have looked for a method to stop all services as the same time. > I have searched many manual in systemd site. > I couldn't find any method to stop a

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

2014-01-02 Thread Tom Gundersen
On Thu, Jan 2, 2014 at 4:37 PM, Reindl Harald wrote: > > > Am 02.01.2014 16:29, schrieb Tom Gundersen:> Hei Reindl, >> >> On Thu, Jan 2, 2014 at 3:52 PM, Reindl Harald wrote: >>> >>> Am 02.01.2014 13:55, schrieb Tom Gundersen: On Thu, Jan 2, 2014 at 12:56 PM, Holger Schurig wrote: >>>

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

2014-01-02 Thread Reindl Harald
Am 02.01.2014 16:29, schrieb Tom Gundersen:> Hei Reindl, > > On Thu, Jan 2, 2014 at 3:52 PM, Reindl Harald wrote: >> >> Am 02.01.2014 13:55, schrieb Tom Gundersen: >>> On Thu, Jan 2, 2014 at 12:56 PM, Holger Schurig >>> wrote: AFAIK Mac OSX does a trick here >>> >>> Yeah, and we should do

[systemd-devel] [Bug] minor typo on systemd wiki page

2014-01-02 Thread Holger Schurig
On http://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/ > To create and start a unit in the cgroup tree use the StartTransientUnit() > method on the Manager object exposed by systemd's PID 1 on the bus, > see the Bus API Documentation for details. This call takes for arguments.

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

2014-01-02 Thread Tom Gundersen
Hei Reindl, On Thu, Jan 2, 2014 at 3:52 PM, Reindl Harald wrote: > > Am 02.01.2014 13:55, schrieb Tom Gundersen: >> On Thu, Jan 2, 2014 at 12:56 PM, Holger Schurig >> wrote: >>> AFAIK Mac OSX does a trick here >> >> Yeah, and we should do the same: > > bec

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

2014-01-02 Thread Reindl Harald
Am 02.01.2014 13:55, schrieb Tom Gundersen: > On Thu, Jan 2, 2014 at 12:56 PM, Holger Schurig > wrote: >> AFAIK Mac OSX does a trick here > > Yeah, and we should do the same: because this explains why i sometimes see firewall logs in the company network w

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

2014-01-02 Thread Jóhann B. Guðmundsson
On 01/02/2014 02:02 PM, Tony Seo wrote: Hello. I wonder that systemd has a method to stop all services in specific cgroup. Actually, I have looked for a method to stop all services as the same time. I have searched many manual in systemd site. I couldn't find any method to stop all services w

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

2014-01-02 Thread Tony Seo
Hello. I wonder that systemd has a method to stop all services in specific cgroup. Actually, I have looked for a method to stop all services as the same time. I have searched many manual in systemd site. I couldn't find any method to stop all services which I want to stop. I need some advices for s

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

2014-01-02 Thread Tom Gundersen
On Thu, Jan 2, 2014 at 12:56 PM, Holger Schurig wrote: > AFAIK Mac OSX does a trick here Yeah, and we should do the same: . Cheers, Tom ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lis

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

2014-01-02 Thread Holger Schurig
AFAIK Mac OSX does a trick here: it uses the last IP (still in the old lease file) and immediately configures the network with that. *) Then it does the DHCP, asking for the same IP. If the IP returned was changed, it will re-change. But usually it's the same IP address, and therefore on this OS DH

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

2014-01-02 Thread Tom Gundersen
On Thu, Jan 2, 2014 at 3:43 AM, Kay Sievers wrote: > On Wed, Jan 1, 2014 at 4:41 PM, Tom Gundersen wrote: >> I just pushed the last couple of patches to enable DHCPv4 support in >> networkd[0]. Testing and feedback would be greatly appreciated. >> >> It is still very basic, but I'm personally usi

[systemd-devel] libsystemd-bus and glib port - problem with GVariant Serialization

2014-01-02 Thread Lukasz Skalski
Hi, I'm working on port gdbus natively onto kdbus. I've already done most part of this project - Hello, RequestName, ReleaseName, List*, Get*, NameHasOwner and others org.freedesktop.DBus methods are implemented and works great, what is still missing at this moment are AddMatch and RemoveMatc