From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 042CC1382C5 for ; Sun, 6 Dec 2020 15:14:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 900FCE098A; Sun, 6 Dec 2020 15:14:05 +0000 (UTC) Received: from mail-oo1-f52.google.com (mail-oo1-f52.google.com [209.85.161.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4AF39E0976 for ; Sun, 6 Dec 2020 15:14:05 +0000 (UTC) Received: by mail-oo1-f52.google.com with SMTP id w9so2603158ooh.13 for ; Sun, 06 Dec 2020 07:14:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=EorPl8KNejBw5m1ss8GxBCjtXm1ynsYJS8+sKj+7quM=; b=g5IiFSzlHDjsXRGw1QauHI6EU9IdH17rmITH9X80PYn09XcWcj5jh2ERISbcTrJQx1 M/n1IjC7/yOjv00XAHTWpve4rzMEOmmMODFqdRJIQn0vXBVEUNjxf9LcaZ7aUsdForGk Y2F7mwCroFGUuJgkl5ddEn2R5Jx+2JxHJAHd3bPlo3sexPrADT2RYcGommim5xBfw3eu qBzJatC6o5dgabFE1VActN31qkjy3MoeT+eOdPbM6AlvUKXiBXGIVkYRh1FeUF38mNq4 VRHiYLUgKuj0cXOSQKcOlPNj0Qw0IF1hpvLTTnrWvrHL3CAwxWNNMByBTIAqD1HvuwGV KSMQ== X-Gm-Message-State: AOAM530n5fWE4+RK5rzkHUZpbT02TEBk7kBTs7dmNc5FG40zjIQhAu08 lFP2b3SIEYSs5ODlum9hsRrAyhCpxU6zROQ9B6A/2yibi/A= X-Google-Smtp-Source: ABdhPJwjRTb+69dtTmeTgeQu1WHypAMaBmU28yKhIvvx2oZmC46QOTzP9qLYGLU6hBuMDy12U0HABK036mHrQpnkU/Y= X-Received: by 2002:a4a:6152:: with SMTP id u18mr9705491ooe.7.1607267644089; Sun, 06 Dec 2020 07:14:04 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <82ee800e-811f-32a5-6e9e-fd973761cd42@youngman.org.uk> <9805085.nUPlyArG6x@lenovo.localdomain> In-Reply-To: <9805085.nUPlyArG6x@lenovo.localdomain> From: Rich Freeman Date: Sun, 6 Dec 2020 10:13:54 -0500 Message-ID: Subject: Re: [gentoo-user] Re: Switching default tmpfiles and faster internet coming my way. To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 6ec2a884-f2b7-4c1f-974e-6a4bf920aa9b X-Archives-Hash: 2831d45a0a68523d28e359a81228926c On Sun, Dec 6, 2020 at 8:45 AM Michael wrote: > > The objectives of RHL and Poettering are not necessarily aligned > with mine. For example, as I was installing sys-apps/systemd-tmpfiles I > noticed systemd selecting as default DNS and NTP servers belonging to Google. > Not something I would consciously use on my non cloud-hosted/server-farm > administered laptop. I think their intent is for distros to tailor such things to their intended uses. Having a default to fall back to Google DNS/NTP is probably a good choice for a distro oriented to home-use/etc. I think resolved still gets configured to use the DHCP-provided DNS server by default and uses Google as a backup to this. In any case, the behavior is configurable at build-time so distros would be expected to adjust it. A google backup probably doesn't make sense in an environment where you run a central DNS, especially if you host internal DNS/etc. The behavior is also runtime-configurable, assuming you know that you need to adjust it. First you can always just set your own resolv.conf and glibc does its thing. If you still want to use resolved then you can also configure its runtime config. Getting back to you thinking RHL's needs aren't aligned to your own, you might consider that RHL doesn't actually ship systemd with the upstream defaults. Assuming CentOS follows them the latest systemd source rpm I could find from them contains: -Dntp-servers='0.%{ntpvendor}.pool.ntp.org 1.%{ntpvendor}.pool.ntp.org 2.%{ntpvendor}.pool.ntp.org 3.%{ntpvendor}.pool.ntp.org' -Ddns-servers='' So, they're tailoring RHEL for the corporate environment, and they're not making the systemd upstream follow their own internal needs, even though they're the ones paying for much of it. They made the upstream default one that probably would appeal to most community distros. -- Rich