Re: [systemd-devel] [PATCH 1/3] generators: rename add_{root, usr}_mount to add_{sysroot, sysroot_usr}_mount

2015-05-04 Thread Zbigniew Jędrzejewski-Szmek
On Mon, May 04, 2015 at 02:56:31AM +0200, Lennart Poettering wrote: > On Sat, 02.05.15 13:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > This makes it obvious that those functions are only usable in the > > initramfs. > > > > Also, add a warning when noauto, nofail, or automount

[systemd-devel] Don't allow to restart emergency.service/rescue.service

2015-05-04 Thread Michael Biebl
Hi, as for some background regarding this issue, please see [1]. Apparently a user, while in emergency mode, restarted emergency.service. Since emergency.service has KillMode=process the running bash kept running, and the result was an unusable system. I wonder, if we should simply disallow the

Re: [systemd-devel] [PATCH 2/3] Allow $SYSTEMD_PRETEND_INITRD to override initramfs detection

2015-05-04 Thread Zbigniew Jędrzejewski-Szmek
On Mon, May 04, 2015 at 02:55:39AM +0200, Lennart Poettering wrote: > On Sat, 02.05.15 13:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > When testing generators and other utilities, it is extremely useful > > to be able to trigger initramfs behaviour. > > Hmm, what about the fol

Re: [systemd-devel] Don't allow to restart emergency.service/rescue.service

2015-05-04 Thread Michael Biebl
2015-05-04 14:49 GMT+02:00 Michael Biebl : > Since emergency.service has > KillMode=process > the running bash kept running, and the result was an unusable system. Btw, what's the reason for using KillMode=process in emergency.service? -- Why is it that all of the instruments seeking intelligen

[systemd-devel] Will *.network replace resolv.conf? What about "Options single-request"?

2015-05-04 Thread Christian Brunotte
Hello systemd.network(5) with Options like "DNS=" and "Domains=" looks like /etc/resolv.conf will soon be superfluous. If that's the plan, I wonder what happens to "options single-request" which I had to use on all IPv6 enabled devices. Is "ResolveOptions" just missing in Systemd or considered so

Re: [systemd-devel] [PATCH] terminal: fix prototypes after removal of |bus|

2015-05-04 Thread David Herrmann
Hi On Wed, Apr 29, 2015 at 8:49 PM, Mantas Mikulėnas wrote: > Following commits fe506d569d82467f3186 and 190700621f95160d364f. > --- > src/libsystemd-terminal/grdev-drm.c | 9 +++-- > src/libsystemd-terminal/idev-evdev.c| 3 +-- > src/libsystemd-terminal/idev-keyboard.c | 8 +++---

Re: [systemd-devel] networkd: Is auto-negotiation turned off when specifying parameters in a link file?

2015-05-04 Thread poma
On 04.05.2015 03:29, Lennart Poettering wrote: > On Sat, 02.05.15 12:00, Paul Menzel (paulepan...@users.sourceforge.net) wrote: > >>> /etc/udev/rules.d/10-speed1G-enp1s6.rules >>> ACTION=="add", SUBSYSTEM=="net", RUN+="/usr/sbin/ethtool -s enp1s6 >>> advertise 0x20" >>> >>> :03 systemd[1]: Starti

Re: [systemd-devel] Journald logging handler for Python 3 and AsyncIO integration

2015-05-04 Thread Ludovic Gasc
2015-05-04 3:16 GMT+02:00 Lennart Poettering : > On Sat, 02.05.15 15:12, Ludovic Gasc (gml...@gmail.com) wrote: > > >2. We use heavily AsyncIO module to have async pattern in Python, > >especially for I/O: https://docs.python.org/3/library/asyncio.html > >In the source code of python-s

[systemd-devel] [PATCH] Patches for lockfile code

2015-05-04 Thread Colin Walters
I'm planning to use the code in ostree (via libglnx), here's a few minor patches for systemd's lockfile code. From 9e249575b2b99110a29f32f53aab1c1048b72eb9 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 4 May 2015 16:12:46 -0400 Subject: [PATCH 1/3] lockfile-util.[ch]: Split out from uti

[systemd-devel] [PATCH 2/3] bootctl: try to catch all errors

2015-05-04 Thread Zbigniew Jędrzejewski-Szmek
Do not print garbage on non-EFI installations. --- src/boot/bootctl.c | 68 -- 1 file changed, 46 insertions(+), 22 deletions(-) diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index f5e880e9cd..99c3fee686 100644 --- a/src/boot/bootctl.c ++

[systemd-devel] [PATCH 3/3] bootctl: print machine and boot ids in status

2015-05-04 Thread Zbigniew Jędrzejewski-Szmek
This was removed in merging of gummmiboot (0974a682d155a58), but seems genuinely useful. --- src/boot/bootctl.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 99c3fee686..19c2768f82 100644 --- a/src/boot/bootc

[systemd-devel] [PATCH 1/3] bootctl: modernization

2015-05-04 Thread Zbigniew Jędrzejewski-Szmek
Use strjoina to avoid error handling, and openat to simplify things. Some fixes on the way: - ferror does not set errno, so the return value was wrong in some cases - errors are propagated in more cases - EFI/systemd was created, but EFI/systemd-boot was deleted - something is always printed on er

Re: [systemd-devel] [PATCH 3/3] bootctl: print machine and boot ids in status

2015-05-04 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing