Re: [systemd-devel] timesyncd, dnssec

2014-05-22 Thread David Timothy Strauss
On Wed, May 21, 2014 at 5:48 AM, Jason A. Donenfeld ja...@zx2c4.com wrote: Temporary work around is to hard code IPs into NTP. It'd be neat to do the following: (1) Do a DNS lookup for NTP servers, fetching DNSSec information. (2) If a signature/clock sync issue is the only barrier to

Re: [systemd-devel] [PATCH] build: put missing KMOD_CFLAGS into Makefile

2014-05-22 Thread Lennart Poettering
On Thu, 22.05.14 02:46, Jan Engelhardt (jeng...@inai.de) wrote: On Thursday 2014-05-22 02:27, Lennart Poettering wrote: On Tue, 20.05.14 23:31, Jan Engelhardt (jeng...@inai.de) wrote: The build fails if kmod is not in a default location. Thanks! Applied! Have you thought about just

Re: [systemd-devel] [PATCH 3/3] nspawn: allow to bind mount journal on top of a non empty container journal dentry

2014-05-22 Thread Lennart Poettering
On Fri, 11.04.14 01:45, Djalal Harouni (tix...@opendz.org) wrote: Currently if nspawn was called with --link-journal=host or --link-journal=auto and the right /var/log/journal/machine-id/ exists then the bind mount the subdirectory into the container might fail due to the

Re: [systemd-devel] Start-up resource and prioritization control

2014-05-22 Thread Umut Tezduyar Lindskog
On Thu, May 22, 2014 at 2:14 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 21.05.14 13:52, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Not following here... Aren't you describing a best-effort system here? But the CPUShares= stuff is best-effort stuff anyway, and just

Re: [systemd-devel] GuessMainPID=no required to make daemon reload work

2014-05-22 Thread Alexander E. Patrakov
05.05.2014 21:14, Lennart Poettering wrote: On Mon, 05.05.14 10:00, Gerd v. Egidy (li...@egidy.de) wrote: systemd will behave as expected: once your main process terminates it will re-read PID from this file (assuming that before dying your old process writes its child's PID) and set it as

Re: [systemd-devel] Start-up resource and prioritization control

2014-05-22 Thread Umut Tezduyar Lindskog
Hi, On Wed, May 21, 2014 at 10:44 PM, Uoti Urpala uoti.urp...@pp1.inet.fi wrote: On Tue, 2014-05-20 at 15:16 +0200, Umut Tezduyar Lindskog wrote: On Tue, May 20, 2014 at 1:46 PM, Tom Gundersen t...@jklm.no wrote: Wouldn't this be solved by telling the kernel to schedule the starting

Re: [systemd-devel] [PATCH] core: add startup resource control option

2014-05-22 Thread Umut Tezduyar Lindskog
On Thu, May 22, 2014 at 2:18 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 21.05.14 14:02, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi Cho, Do you have any technical reason why CPU shares are reverted back to the default value on StartupFinished but instead when the

[systemd-devel] Dead link in man 7 daemon

2014-05-22 Thread Alexander E. Patrakov
Hello. man 7 daemon links to Apple MacOS X Daemon Requirements: http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/LaunchOnDemandDaemons.html#//apple_ref/doc/uid/TP40001762-104738 However, the link is dead. The correct link is:

Re: [systemd-devel] [PATCH] core: add startup resource control option

2014-05-22 Thread Lennart Poettering
On Thu, 22.05.14 08:42, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: On Thu, May 22, 2014 at 2:18 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 21.05.14 14:02, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi Cho, Do you have any technical reason why CPU

Re: [systemd-devel] GuessMainPID=no required to make daemon reload work

2014-05-22 Thread Lennart Poettering
On Thu, 22.05.14 12:30, Alexander E. Patrakov (patra...@gmail.com) wrote: I guess that the text needs to be clarified, as currently it is a source of long-living locks on PID-files, with the associated vulnerabilities. I simply removed that sentence now, to not create confusion regarding how

Re: [systemd-devel] Dead link in man 7 daemon

2014-05-22 Thread Lennart Poettering
On Thu, 22.05.14 12:52, Alexander E. Patrakov (patra...@gmail.com) wrote: Hello. man 7 daemon links to Apple MacOS X Daemon Requirements:

Re: [systemd-devel] simple way to crash systemd via a dangling symlink

2014-05-22 Thread Lennart Poettering
On Thu, 27.03.14 05:18, Michael Biebl (mbi...@gmail.com) wrote: There is an interesting bug which can be used to crash systemd via a dangling symlink. For details please see [0]. To trigger the bug, you need a socket activated service. I'm using cups in this case. The steps to reproduce

Re: [systemd-devel] [PATCH] core: add startup resource control option

2014-05-22 Thread Umut Tezduyar Lindskog
On Thu, May 22, 2014 at 9:07 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 22.05.14 08:42, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: On Thu, May 22, 2014 at 2:18 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 21.05.14 14:02, Umut Tezduyar Lindskog

[systemd-devel] On the recent commit conf-parser: never consider it an error

2014-05-22 Thread Alexander E. Patrakov
Hello. The code touched by commit 9f43a07f1 is possibly buggy. Here is why I think so. The new lines added are: log_full(errno == ENOENT ? LOG_DEBUG : LOG_ERR, Failed to open configuration file '%s': %m, filename); return errno == ENOENT ? 0 : -errno; However, I don't understand why

Re: [systemd-devel] On the recent commit conf-parser: never consider it an error

2014-05-22 Thread Tom Gundersen
On Thu, May 22, 2014 at 10:00 AM, Alexander E. Patrakov patra...@gmail.com wrote: The code touched by commit 9f43a07f1 is possibly buggy. Here is why I think so. The new lines added are: log_full(errno == ENOENT ? LOG_DEBUG : LOG_ERR, Failed to open configuration file '%s': %m, filename);

Re: [systemd-devel] simple way to crash systemd via a dangling symlink

2014-05-22 Thread Lennart Poettering
On Thu, 27.03.14 05:18, Michael Biebl (mbi...@gmail.com) wrote: 2/ If a socket is in such a state, we probably shouldn't process incoming requests and try to start the service 3/ Should we stop the socket if the Load state is error So far we kept the load state and the active state quite

Re: [systemd-devel] [PATCH] tests: fix test-rtnl-manual.c compile failure

2014-05-22 Thread Tom Gundersen
On Thu, May 22, 2014 at 2:36 AM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 31.03.14 15:23, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: Needs KMOD_CFLAGS Is this still an issue? I assume not, right? Otherwise, please resend! This seems to have been fixed by

Re: [systemd-devel] [PATCH] core: add startup resource control option

2014-05-22 Thread WaLyong Cho
On 05/22/2014 05:01 PM, Umut Tezduyar Lindskog wrote: On Thu, May 22, 2014 at 9:07 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 22.05.14 08:42, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: On Thu, May 22, 2014 at 2:18 AM, Lennart Poettering lenn...@poettering.net wrote:

Re: [systemd-devel] systemd-nspawn 208 fails to mount special filesystems

2014-05-22 Thread Leho Kraav
On 22.05.2014 03:03, Lennart Poettering wrote: What is pf? http://pf.natalenko.name Please try upstream kernels. If you run patched kernels, and they work differently than upstream kernels, then please contct the maintianers of those patched kernels. Thanks. You were right here, thanks

[systemd-devel] [RFC][PATCH] sd-dhcp-client: return NULL from _unref() like the other sd-* libraries

2014-05-22 Thread Tom Gundersen
Let's keep this behavior consistent across our libraries. In order to keep the refcounting working, a DONT_DESTROY macro similar to the one in sd-bus was introduced. --- src/libsystemd-network/dhcp-internal.h | 10 ++ src/libsystemd-network/sd-dhcp-client.c | 59

Re: [systemd-devel] simple way to crash systemd via a dangling symlink

2014-05-22 Thread Michael Biebl
Hi Lennart, 2014-05-22 9:59 GMT+02:00 Lennart Poettering lenn...@poettering.net: Please test! Thanks for looking into this. Since the commits can not be cherry-picked for v204 and v208 (which I'm currently running in Debian), I can't easily test. So this will have to wait until I've upgraded to

[systemd-devel] The best way to deal with a deamon with two binary options

2014-05-22 Thread Luis R. Rodriguez
Hey folks, Xen systemd support with active sockets and sd_notify() is under way, we're in what seems to be the final rounds of patch review. One of the last items we are reviewing is how to best deal with a deamon that has two binary options for the daemon. They share the same arguments and in

[systemd-devel] GDM session is not activated

2014-05-22 Thread Oleg Samarin
I have two-seat configuration on my PC. The problem is that when I log in to GDM session on seat0, it rests being not active, and I can not activate it with 'loginctl activate' command. [oleg@oleg2 ~]$ loginctl SESSIONUID USER SEAT c1 42 gdm