Re: [systemd-devel] [PATCHv6 0/3] hibernate-resume: implement support for resuming from hibernation

2014-08-28 Thread Jan Janssen
Ivan Shapovalov intelfx100 at gmail.com writes: On Wednesday 27 August 2014 at 03:16:10, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Aug 26, 2014 at 10:21:59PM +0200, Lennart Poettering wrote: On Wed, 27.08.14 00:17, Ivan Shapovalov (intelfx100 at gmail.com) wrote: This patchset

Re: [systemd-devel] [PATCHv6 0/3] hibernate-resume: implement support for resuming from hibernation

2014-08-28 Thread Ivan Shapovalov
On Thursday 28 August 2014 at 06:25:51, Jan Janssen wrote: Ivan Shapovalov intelfx100 at gmail.com writes: On Wednesday 27 August 2014 at 03:16:10, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Aug 26, 2014 at 10:21:59PM +0200, Lennart Poettering wrote: On Wed, 27.08.14 00:17,

Re: [systemd-devel] Build errors with lto and compat-libs

2014-08-28 Thread Michael Olbrich
On Tue, Aug 26, 2014 at 09:42:38PM +0200, Lennart Poettering wrote: On Tue, 26.08.14 15:15, Michael Olbrich (m.olbr...@pengutronix.de) wrote: On Mon, Aug 18, 2014 at 03:48:09PM +0200, Lennart Poettering wrote: On Sun, 17.08.14 09:54, Michael Olbrich (m.olbr...@pengutronix.de) wrote: With

[systemd-devel] Having systemd shutdown when pressing the power button

2014-08-28 Thread Koen Kooi
Hi, I am working on a system (http://www.acmesystems.it/arietta) where I hooked up the button as a power key: https://github.com/koenkooi/linux/commit/c823e0b046efcfff61e21fa4c89d5d68090ef6de Evtest shows it doing the right thing (issuing KEY_POWER) when being pressed, but systemd

Re: [systemd-devel] Having systemd shutdown when pressing the power button

2014-08-28 Thread Mantas Mikulėnas
On Thu, Aug 28, 2014 at 11:50 AM, Koen Kooi k...@dominion.thruhere.net wrote: Hi, I am working on a system (http://www.acmesystems.it/arietta) where I hooked up the button as a power key: https://github.com/koenkooi/linux/commit/c823e0b046efcfff61e21fa4c89d5d68090ef6de Evtest

Re: [systemd-devel] [PATCH] tty-ask-password-agent: reset a signal handler for SIGTERM to the default

2014-08-28 Thread HATAYAMA, Daisuke
(2014/08/28 4:46), Lennart Poettering wrote: On Wed, 27.08.14 09:47, HATAYAMA, Daisuke (d.hatay...@jp.fujitsu.com) wrote: Sounds like the right option here... I have now added a slightly different patch (1dedb74a2e1d840b531b76b01a76979f3b57456b) that does this. Thanks! But this could

[systemd-devel] [PATCH V5] use the switch_root function in shutdown

2014-08-28 Thread harald
From: Harald Hoyer har...@redhat.com removes code duplication also move switch-root to shared --- V2: - Removed all references to /mnt in switch_root() and the bogus comment. V3: - moved switch-root.[ch] to shared - added switch to mount MS_MOVE or MS_BIND the old dirs V4: - mkdir_p_label() in

[systemd-devel] [PATCH] use the switch_root function in shutdown

2014-08-28 Thread harald
From: Harald Hoyer har...@redhat.com removes code duplication also move switch-root to shared --- V2: - Removed all references to /mnt in switch_root() and the bogus comment. V3: - moved switch-root.[ch] to shared - added switch to mount MS_MOVE or MS_BIND the old dirs V4: - mkdir_p_label() in

[systemd-devel] [PATCH] journal: do server_vacuum for sigusr1

2014-08-28 Thread WaLyong Cho
runtime journal is migrated to system journal when only /run/systemd/journal/flushed exist. It's ok but according to this the system journal directory size(max use) can be over the config. If journal is not rotated during some time the journal directory can be remained as over the config(or

Re: [systemd-devel] [PATCH] journal: do server_vacuum for sigusr1

2014-08-28 Thread WaLyong Cho
On 08/28/2014 09:33 PM, WaLyong Cho wrote: runtime journal is migrated to system journal when only /run/systemd/journal/flushed exist. It's ok but according to this the system journal directory size(max use) can be over the config. If journal is not rotated during some time the journal

Re: [systemd-devel] [PATCH] use the switch_root function in shutdown

2014-08-28 Thread Lennart Poettering
On Thu, 28.08.14 14:01, har...@redhat.com (har...@redhat.com) wrote: if (!in_container !in_initrd() access(/run/initramfs/shutdown, X_OK) == 0) { - -if (prepare_new_root() = 0 -pivot_to_new_root() = 0) { +if

[systemd-devel] [PATCH V7] use the switch_root function in shutdown

2014-08-28 Thread harald
From: Harald Hoyer har...@redhat.com removes code duplication also move switch-root to shared --- V2: - Removed all references to /mnt in switch_root() and the bogus comment. V3: - moved switch-root.[ch] to shared - added switch to mount MS_MOVE or MS_BIND the old dirs V4: - mkdir_p_label() in

Re: [systemd-devel] [PATCH V7] use the switch_root function in shutdown

2014-08-28 Thread Lennart Poettering
On Thu, 28.08.14 15:23, har...@redhat.com (har...@redhat.com) wrote: From: Harald Hoyer har...@redhat.com removes code duplication also move switch-root to shared Looks good! Please push! Thanks! Lennart -- Lennart Poettering, Red Hat ___

Re: [systemd-devel] Having systemd shutdown when pressing the power button

2014-08-28 Thread Mantas Mikulėnas
On Thu, Aug 28, 2014 at 4:35 PM, Koen Kooi k...@dominion.thruhere.net wrote: Op 28 aug. 2014, om 11:06 heeft Mantas Mikulėnas graw...@gmail.com het volgende geschreven: On Thu, Aug 28, 2014 at 11:50 AM, Koen Kooi k...@dominion.thruhere.net wrote: Hi, I am working on a system

Re: [systemd-devel] Having systemd shutdown when pressing the power button

2014-08-28 Thread David Herrmann
Hi On Thu, Aug 28, 2014 at 10:50 AM, Koen Kooi k...@dominion.thruhere.net wrote: Hi, I am working on a system (http://www.acmesystems.it/arietta) where I hooked up the button as a power key: https://github.com/koenkooi/linux/commit/c823e0b046efcfff61e21fa4c89d5d68090ef6de

[systemd-devel] bad memory access in test-dhcp6-client

2014-08-28 Thread Zbigniew Jędrzejewski-Szmek
Hi, when systemd is compiled with --enable-address-sanitizer, $subject happens: $ build/test-dhcp6-client Assertion 'interface_index = -1' failed at ../src/libsystemd-network/sd-dhcp6-client.c:129, function sd_dhcp6_client_set_index(). Ignoring.

[systemd-devel] Systemd-networkd doesn't add static routes anymore

2014-08-28 Thread Moviuro
Hi all, I'm using systemd 216 on Archlinux (uptodate). Everything worked fine at last boot (systemd 215, kernel 3.14.1) Here is my tap0.network: [Match] Name=tap0 [Network] DHCP=yes [Route] Gateway=10.3.16.1 Destination=10.3.14.0/24 [Route] Gateway=10.3.16.1 Destination=10.3.15.0/24 And the

[systemd-devel] [PATCH] firstboot: remove extra paranoia in --root checking

2014-08-28 Thread Dave Reisner
Some package managers will chroot before running post-install and post-upgrade scripts. Doing this prevents systemd-firstboot from being used piecemeal at installation or upgrade time, as the --root=/ will be cleverly ignored. There's already enough sanity checks in this tool that we don't also

Re: [systemd-devel] [PATCHv6 0/3] hibernate-resume: implement support for resuming from hibernation

2014-08-28 Thread Jan Janssen
On Thursday 28 August 2014 11:33:44 Ivan Shapovalov wrote: On Thursday 28 August 2014 at 06:25:51, Jan Janssen wrote: Ivan Shapovalov intelfx100 at gmail.com writes: On Wednesday 27 August 2014 at 03:16:10, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Aug 26, 2014 at 10:21:59PM +0200,

Re: [systemd-devel] [PATCH 0/2] units: add and use ConditionInitrd= instead of checking for /etc/initrd-release.

2014-08-28 Thread Thomas Bächler
Am 27.08.2014 um 22:48 schrieb Thomas Bächler: Am 27.08.2014 um 20:25 schrieb Ivan Shapovalov: On Wednesday 27 August 2014 at 20:19:45, Lennart Poettering wrote: On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx...@gmail.com) wrote: This is as proposed by Thomas in review of my

Re: [systemd-devel] [PATCH 0/2] units: add and use ConditionInitrd= instead of checking for /etc/initrd-release.

2014-08-28 Thread Lennart Poettering
On Thu, 28.08.14 19:44, Thomas Bächler (tho...@archlinux.org) wrote: Am 27.08.2014 um 22:48 schrieb Thomas Bächler: Am 27.08.2014 um 20:25 schrieb Ivan Shapovalov: On Wednesday 27 August 2014 at 20:19:45, Lennart Poettering wrote: On Wed, 27.08.14 20:26, Ivan Shapovalov

Re: [systemd-devel] [PATCH 0/2] units: add and use ConditionInitrd= instead of checking for /etc/initrd-release.

2014-08-28 Thread Lennart Poettering
On Wed, 27.08.14 22:48, Thomas Bächler (tho...@archlinux.org) wrote: Am 27.08.2014 um 20:25 schrieb Ivan Shapovalov: On Wednesday 27 August 2014 at 20:19:45, Lennart Poettering wrote: On Wed, 27.08.14 20:26, Ivan Shapovalov (intelfx...@gmail.com) wrote: This is as proposed by Thomas in

[systemd-devel] [PATCH 3/3] systemd-journal-upload: fix invalid After=

2014-08-28 Thread Marius Tessmann
After= belongs into [Unit], not [Install]. Found with systemd-analyze verify. --- units/systemd-journal-upload.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/systemd-journal-upload.service.in b/units/systemd-journal-upload.service.in index e79f962..359ff10

[systemd-devel] [PATCH 2/3] systemd-firstboot: fix typo in man page

2014-08-28 Thread Marius Tessmann
--- man/systemd-firstboot.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/systemd-firstboot.xml b/man/systemd-firstboot.xml index 5da0a75..8d97302 100644 --- a/man/systemd-firstboot.xml +++ b/man/systemd-firstboot.xml @@ -101,7 +101,7 @@ allows

[systemd-devel] [PATCH 1/3] systemd-firstboot.service: fix man page section

2014-08-28 Thread Marius Tessmann
Found with systemd-analyze verify. --- units/systemd-firstboot.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/systemd-firstboot.service.in b/units/systemd-firstboot.service.in index a8719a8..6cdde5b 100644 --- a/units/systemd-firstboot.service.in +++

[systemd-devel] systemd-resolved, multi-home DNS resolution, VPNs, and privacy

2014-08-28 Thread Josh Triplett
The documentation for systemd-resolved says it sends DNS queries on all interfaces. That seems like a bug for privacy and security reasons: I don't necessarily want a query for foo.internalhost.com going anywhere other than my VPN for internalhost.com, and if I run a VPN for privacy purposes then

Re: [systemd-devel] systemd-resolved, multi-home DNS resolution, VPNs, and privacy

2014-08-28 Thread Tom Gundersen
On Thu, Aug 28, 2014 at 10:08 PM, Josh Triplett j...@joshtriplett.org wrote: The documentation for systemd-resolved says it sends DNS queries on all interfaces. That seems like a bug for privacy and security reasons: I don't necessarily want a query for foo.internalhost.com going anywhere

Re: [systemd-devel] Systemd-networkd doesn't add static routes anymore

2014-08-28 Thread Moviuro
After git bisect-ing (following dreisner's instructions on #systemd), I get the following info: 38de08a does not add static routes ccf1c02 systemd-networkd is broken (does not run) (crash) 54cba0b systemd-networkd is broken (does not run) (crash) 3c9b886 systemd-networkd is broken (does not run)

Re: [systemd-devel] [PATCH 1/3] systemd-firstboot.service: fix man page section

2014-08-28 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Aug 28, 2014 at 10:01:44PM +0200, Marius Tessmann wrote: Found with systemd-analyze verify. Heh. Applied all three. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCHv6 0/3] hibernate-resume: implement support for resuming from hibernation

2014-08-28 Thread Andrei Borzenkov
В Thu, 28 Aug 2014 19:36:53 +0200 Jan Janssen medhe...@web.de пишет: On Thursday 28 August 2014 11:33:44 Ivan Shapovalov wrote: On Thursday 28 August 2014 at 06:25:51, Jan Janssen wrote: Ivan Shapovalov intelfx100 at gmail.com writes: On Wednesday 27 August 2014 at 03:16:10, Zbigniew