Re: [systemd-devel] [PATCH] timesyncd: tighten unit file

2015-02-01 Thread Topi Miettinen
On 01/27/15 22:19, Lennart Poettering wrote: On Tue, 27.01.15 21:58, Topi Miettinen (toiwo...@gmail.com) wrote: Well, the way I read the paragraph above if we set PR_SET_NO_NEW_PRIVS after forking, but before execing systemd-timesyncd, and that binary has an selinux label on it, that the

Re: [systemd-devel] [PATCH] timesyncd: Make saving clock to disk on NTP fix optional

2015-02-01 Thread Cristian Rodríguez
El 01/02/2015 06:36, Kay Sievers k...@vrfy.org escribió: On Feb 1, 2015 5:34 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Kay, Lennart, comments? Sounds like overkill to me for such an exotic requirement. Just link the file to /dev/null and be done? Yeah, I do not see the

Re: [systemd-devel] Mediacast to TV - MiracleCast - Open-Source Miracast - Wifi-Display on linux

2015-02-01 Thread poma
On 01.02.2015 10:18, poma wrote: On 01.02.2015 05:38, poma wrote: On 31.01.2015 17:28, Patrick O'Callaghan wrote: I have a smart TV (Sony Bravia) and can use Android Cast Screen from my phone or tablet to see content. Apparently it also works with the Apple equivalent. Is there a way to do

Re: [systemd-devel] [PATCH] timesyncd: tighten unit file

2015-02-01 Thread Cristian Rodríguez
El 27/01/15 a las 21:18, Lennart Poettering escribió: On Tue, 27.01.15 15:12, Cameron Norman (camerontnor...@gmail.com) wrote: Lennart: if you really want to test the profile, you just need to spin up an OpenSuSE, Ubuntu, or Debian VM (on debian you need to install and enable apparmor, which

Re: [systemd-devel] [PATCH] timesyncd: Make saving clock to disk on NTP fix optional

2015-02-01 Thread Kay Sievers
On Feb 1, 2015 5:34 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Kay, Lennart, comments? Sounds like overkill to me for such an exotic requirement. Just link the file to /dev/null and be done? Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] timesyncd: Make saving clock to disk on NTP fix optional

2015-02-01 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Feb 01, 2015 at 10:56:39AM -0300, Cristian Rodríguez wrote: El 01/02/2015 06:36, Kay Sievers k...@vrfy.org escribió: On Feb 1, 2015 5:34 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Kay, Lennart, comments? Sounds like overkill to me for such an exotic

Re: [systemd-devel] [PATCH] timesyncd: Make saving clock to disk on NTP fix optional

2015-02-01 Thread Colin Guthrie
Zbigniew Jędrzejewski-Szmek wrote on 01/02/15 15:58: On Sun, Feb 01, 2015 at 10:56:39AM -0300, Cristian Rodríguez wrote: El 01/02/2015 06:36, Kay Sievers k...@vrfy.org escribió: On Feb 1, 2015 5:34 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Kay, Lennart, comments? Sounds

[systemd-devel] [Patch 0/6] Small adjustments to make QEMU tests work under Debian/Ubuntu

2015-02-01 Thread Martin Pitt
Hey all, as discussed on the hackfest, I'd like to revive the QEMU/nspawn integration tests, such as adding one for EFI or swap discovery (cf. the bugs fixed last week). As an initial step I wrote a couple of rather simple patches to make the QEMU tests work at all under Debian and derivatives

[systemd-devel] [PATCH 5/6] tests: install hostname debug tool

2015-02-01 Thread Martin Pitt
This is mostly a vehicle to pull in libnsl.so which gets dlopen()ed by NSS under certain NSS configurations. --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-functions b/test/test-functions index 34af32a..80e0f65 100644 ---

[systemd-devel] [PATCH 3/6] tests: don't hardcode systemctl path

2015-02-01 Thread Martin Pitt
Get it from type -P instead, to support --enable-split-usr. --- Makefile.am | 2 +- test/end.service| 6 -- test/end.service.in | 6 ++ test/test-functions | 3 ++- 4 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 test/end.service create mode 100644

[systemd-devel] [PATCH 1/6] tests: Make sushell optional in image creation

2015-02-01 Thread Martin Pitt
sushell does not exist in all distributions, and it can be changed with configure --with-debug-shell, so make installation of it optional. --- test/test-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test-functions b/test/test-functions index 4fa0c59..91f3ecd

[systemd-devel] [PATCH 4/6] tests: install all required libnss modules

2015-02-01 Thread Martin Pitt
Don't assume files for everything in nsswitch. Instead, ask getent passwd about which libnss modules it dlopen()s, and install these. --- test/test-functions | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test-functions b/test/test-functions index 42c954d..34af32a

[systemd-devel] [PATCH 2/6] tests: determine rootlibdir from pkg-config

2015-02-01 Thread Martin Pitt
Prefer asking pkg-config for the rootlibdir, to also support systems with --enable-split-usr. Fall back to the hardcoded /usr/lib/systemd if that fails. --- test/test-functions | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/test/test-functions

[systemd-devel] [PATCH 6/6] tests: install ldconfig.real for Debian based distros

2015-02-01 Thread Martin Pitt
In Debian based distributions ldconfig is just a shell wrapper around ldconfig.real, for deferring it during package installation. --- test/test-functions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test-functions b/test/test-functions index 80e0f65..b9468a4 100644 ---

Re: [systemd-devel] [PATCH] config_parse_set_status: put signals in the correct set

2015-02-01 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 30, 2015 at 09:49:55AM +0100, Michael Olbrich wrote: This was broken when the code was rearranged in 1e2fd62d70ff core/load-fragment.c: correct argument sign and split up long lines With this change, the new code is similarly complicated as the old code, so a (partial) revert would

Re: [systemd-devel] Programmatically setting udev properties

2015-02-01 Thread Peter Hutterer
On Fri, Jan 30, 2015 at 09:22:51AM +0100, Martin Pitt wrote: Tomasz Torcz [2015-01-29 23:42 +0100]: Have you seen umockdev? https://github.com/martinpitt/umockdev/ Right, with that you can run your tests as normal user, completely isolated from the actual system, and you can set up/change

Re: [systemd-devel] [RFC PATCH 2/2] localed: add LANGUAGE= fallback when LANG= is specified

2015-02-01 Thread Jan Janssen
Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl writes: I think the implementation is fine, since it is rather trivial, but I'm less certain about the implications of setting LANGUAGE in addtion to LANG. Zbyszek Isn't this something that should be in glibc's lang/locale handling code?

Re: [systemd-devel] test-dhcp-client failing in mock builds

2015-02-01 Thread Jan Synacek
Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl writes: Hi, I was trying to enable tests in the %check part of systemd rpm. Something strange happens which causes test-dhcp-client when building in mock: FAIL: test-dhcp-client ==