Re: [systemd-devel] Serial getty on USB dongle insertion

2017-07-12 Thread Andrei Borzenkov
13.07.2017 03:38, Paul D. DeRocco пишет: > I've created a serial-getty@ttyUSB2.service file, which is basically a > copy of serial-getty@.service with a specific device name and a fixed baud > rate. It works fine when I plug in a serial dongle that gets assigned that > name. (I have permanent

[systemd-devel] Serial getty on USB dongle insertion

2017-07-12 Thread Paul D. DeRocco
I've created a serial-getty@ttyUSB2.service file, which is basically a copy of serial-getty@.service with a specific device name and a fixed baud rate. It works fine when I plug in a serial dongle that gets assigned that name. (I have permanent ttyUSB0 and ttyUSB1 devices which don't use getty.)

[systemd-devel] [ANNOUNCE] systemd 234

2017-07-12 Thread Lennart Poettering
Heya! Here we go: https://github.com/systemd/systemd/releases/tag/v234 CHANGES WITH 234: * Meson is now supported as build system in addition to Automake. It is our plan to remove Automake in one of our next releases, so that Meson becomes our exclusive build

Re: [systemd-devel] Trying to come up with udev rule for USB geographic naming

2017-07-12 Thread Paul D. DeRocco
> From: Andrei Borzenkov > > Please copy-paste actual command invocation and its output. No need. I had used = instead of == on the DRIVERS. Works fine now. Thanks for your assistance. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com

Re: [systemd-devel] Realtime scheduling with CONFIG_RT_GROUP_SCHED=y

2017-07-12 Thread Lars Kellogg-Stedman
On Thu, Jul 6, 2017 at 10:56 AM, Lars Kellogg-Stedman wrote: > In older versions of systemd one could handle this using the directives > described in https://www.freedesktop.org/wiki/Software/systemd/ > MyServiceCantGetRealtime/, but unfortunately that document, despite being >

Re: [systemd-devel] systemd-networkd not sending DHCP v6 requests

2017-07-12 Thread Ian Pilcher
On 07/12/2017 12:06 AM, Mantas Mikulėnas wrote: What global flags do each network's RAs have? If I remember correctly, there are two, "Managed Addresses" and "Managed Other", which trigger DHCPv6 – if neither of them is set, that is supposed to mean DHCPv6 is unneeded. The managed and other

[systemd-devel] Does Journal conf Max Use configs applies to remote journal as well

2017-07-12 Thread P.R.Dinesh
Does the journal configurations like "SystemMaxUse=, SystemKeepFree=, SystemMaxFileSize=, SystemMaxFiles=, RuntimeMaxUse=, RuntimeKeepFree=, RuntimeMaxFileSize=, RuntimeMaxFiles=" applies to the remote journal files (created by systemd-journal-remote in the /var/log/journal/remote or

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Florian Weimer
* Lennart Poettering: > On Wed, 12.07.17 09:53, Florian Weimer (f...@deneb.enyo.de) wrote: > >> * Lennart Poettering: >> >> > On Tue, 11.07.17 21:24, Florian Weimer (f...@deneb.enyo.de) wrote: >> > >> >> * Lennart Poettering: >> >> >> >> > This all stems from my experiences with PulseAudio back

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Florian Weimer
* Lennart Poettering: > On Wed, 12.07.17 09:51, Florian Weimer (f...@deneb.enyo.de) wrote: > >> * Lennart Poettering: >> >> > On Tue, 11.07.17 21:26, Florian Weimer (f...@deneb.enyo.de) wrote: >> > >> >> * Lennart Poettering: >> >> >> >> > Apparently, this regressed between this version and >>

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Reindl Harald
Am 12.07.2017 um 10:23 schrieb Lennart Poettering: On Wed, 12.07.17 09:51, Florian Weimer (f...@deneb.enyo.de) wrote: Fork detection using getpid is not reliable. It gives false negatives in the case of double-forks, where the process can be different but the PID is the same due to reuse.

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Florian Weimer
* Lennart Poettering: > On Tue, 11.07.17 21:26, Florian Weimer (f...@deneb.enyo.de) wrote: > >> * Lennart Poettering: >> >> > Apparently, this regressed between this version and >> > glibc-2.24-9.fc25.x86_64 hence. >> >> Yes, I backported the fork cache removal to Fedora 25. There is no >>

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Michael Chapman
On Wed, 12 Jul 2017, Lennart Poettering wrote: On Wed, 12.07.17 09:53, Florian Weimer (f...@deneb.enyo.de) wrote: * Lennart Poettering: Where was this discussed in detail? Do you have any links about the discussions about this? It was on libc-alpha and the glibc bug tracker. Link? Lennart

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Lennart Poettering
On Tue, 11.07.17 21:26, Florian Weimer (f...@deneb.enyo.de) wrote: > * Lennart Poettering: > > > Apparently, this regressed between this version and > > glibc-2.24-9.fc25.x86_64 hence. > > Yes, I backported the fork cache removal to Fedora 25. There is no > longer a good way to main such a

Re: [systemd-devel] systemd-networkd not sending DHCP v6 requests

2017-07-12 Thread Mantas Mikulėnas
On Wed, Jul 12, 2017 at 9:32 AM, Andrei Borzenkov wrote: > On Wed, Jul 12, 2017 at 8:06 AM, Mantas Mikulėnas > wrote: > > On Tue, Jul 11, 2017, 22:24 Ian Pilcher wrote: > >> > >> On 07/11/2017 02:58 AM, Lennart Poettering wrote: >

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Mantas Mikulėnas
On Tue, Jul 11, 2017 at 7:06 PM, Tomasz Torcz wrote: > On Tue, Jul 11, 2017 at 05:20:10PM +0200, Lennart Poettering wrote: > > On Tue, 11.07.17 16:55, Tomasz Torcz (to...@pipebreaker.pl) wrote: > > > > Forgot to mention: > > > > > > > > $ rpm -qa glibc > > > >

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Lennart Poettering
On Wed, 12.07.17 09:53, Florian Weimer (f...@deneb.enyo.de) wrote: > * Lennart Poettering: > > > On Tue, 11.07.17 21:24, Florian Weimer (f...@deneb.enyo.de) wrote: > > > >> * Lennart Poettering: > >> > >> > This all stems from my experiences with PulseAudio back in the day: > >> > People do not

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Lennart Poettering
On Wed, 12.07.17 09:51, Florian Weimer (f...@deneb.enyo.de) wrote: > * Lennart Poettering: > > > On Tue, 11.07.17 21:26, Florian Weimer (f...@deneb.enyo.de) wrote: > > > >> * Lennart Poettering: > >> > >> > Apparently, this regressed between this version and > >> > glibc-2.24-9.fc25.x86_64

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Florian Weimer
* Lennart Poettering: > On Tue, 11.07.17 21:24, Florian Weimer (f...@deneb.enyo.de) wrote: > >> * Lennart Poettering: >> >> > This all stems from my experiences with PulseAudio back in the day: >> > People do not grok the effect of fork(): it only duplicates the >> > invoking thread, not any

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Florian Weimer
* Lennart Poettering: > On Tue, 11.07.17 21:26, Florian Weimer (f...@deneb.enyo.de) wrote: > >> * Lennart Poettering: >> >> > Apparently, this regressed between this version and >> > glibc-2.24-9.fc25.x86_64 hence. >> >> Yes, I backported the fork cache removal to Fedora 25. There is no >>

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Lennart Poettering
On Tue, 11.07.17 21:26, Florian Weimer (f...@deneb.enyo.de) wrote: > * Lennart Poettering: > > > Apparently, this regressed between this version and > > glibc-2.24-9.fc25.x86_64 hence. > > Yes, I backported the fork cache removal to Fedora 25. There is no > longer a good way to main such a

Re: [systemd-devel] Significant performance loss caused by commit a65f06b: journal: return -ECHILD after a fork

2017-07-12 Thread Lennart Poettering
On Tue, 11.07.17 21:24, Florian Weimer (f...@deneb.enyo.de) wrote: > * Lennart Poettering: > > > This all stems from my experiences with PulseAudio back in the day: > > People do not grok the effect of fork(): it only duplicates the > > invoking thread, not any other threads of the process,

Re: [systemd-devel] systemd-networkd not sending DHCP v6 requests

2017-07-12 Thread Andrei Borzenkov
On Wed, Jul 12, 2017 at 8:06 AM, Mantas Mikulėnas wrote: > On Tue, Jul 11, 2017, 22:24 Ian Pilcher wrote: >> >> On 07/11/2017 02:58 AM, Lennart Poettering wrote: >> > Note that DHCPv6 is not done unless IPv6 RA packets tell networkd to >> > do so. Hence,