From owner-svn-src-head@freebsd.org Mon Nov 11 22:11:44 2019 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EF40F1BFB7B; Mon, 11 Nov 2019 22:11:44 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47BlTW5bm3z3Ffx; Mon, 11 Nov 2019 22:11:43 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wr1-x429.google.com with SMTP id i10so16345260wrs.7; Mon, 11 Nov 2019 14:11:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=24FeQbWcuBdtlD+2Iyx4H3BZhnDz5RsqcRTGR+Lt7JI=; b=PW38d6fjADky0UJY7NJ5cE41kKCkfyHP5a/mOxuMYTeiWJ+OeANO8nvw4qwESciwHb 3cOfuItZI7xXUY1hBKSPz7z2j7gclRwfuFtcX6xNp6DEdeiGJ+SwUYB1abyyBzdrUfTd YdxOYjWKOzNXC0Vs4xD0lKbtcqJXgQmDIARlkQmxkMEjT9qDdpgPbSq/kbGwkt+3+tBB DsVOrkbOAkIGHPE3HTyagGMKl/GfxdilxyLVpPTuYLRZ4mWyDe8qrcxCsXY7cPeLpxAJ FD427KA5RJF5wP58Ny37duAObLw+IDn1ZTehxEiTHNjwKnlKGKtnU8SVYzF5ZHVrNtpc dxmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=24FeQbWcuBdtlD+2Iyx4H3BZhnDz5RsqcRTGR+Lt7JI=; b=P9qYANUWZv0u5AXUXNzWI/sn62GQxAe5sA24o8fQhJR4sZDpFd7wWea+Vu6Wml1gNE EYrVEcPKwSk5CFvW/oxdZr5k4AUljpktwbC8Z1jP+jUc0OBUvnB3Jm6+HfACrC3Pzr9V 1O5G+FdrfKbk4Vr8qK4/vhVoExLQwd0sHiGnLyH96b1BvHROKq/j5vrjTVWC625ac+80 HY3kfFDpuAi2Ip/b6l7eSx6PDYbjEI6/fsmqTyvwgX24DRfFQ1v/VfvJB8b7PNKo0afM O/Fgl8Dy0vN1CsLPqkM2pWwbUBCOPabz2unuv/BqRgiTKg+3HT8vSAJ4lGHbp4qd/IP7 0CQg== X-Gm-Message-State: APjAAAUlMoNSwhkM9qTN9tJJ5PaMIkxhC8F050fFmv5DUFkTWUZQmPkO tSDmHeNcGt09X1hMuVS9BRQ= X-Google-Smtp-Source: APXvYqw3prWK40rqiAWYb//oefjcDlZGB3bUjdi59Gi/06XC3lugdu0UQYtJvd/zph6sT8UmXjFgXQ== X-Received: by 2002:adf:e881:: with SMTP id d1mr7927273wrm.296.1573510301577; Mon, 11 Nov 2019 14:11:41 -0800 (PST) Received: from brick (cpc92302-cmbg19-2-0-cust461.5-4.cable.virginm.net. [82.1.209.206]) by smtp.gmail.com with ESMTPSA id a5sm17939557wrv.56.2019.11.11.14.11.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2019 14:11:40 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Mon, 11 Nov 2019 22:11:38 +0000 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Alexander Leidinger Cc: Conrad Meyer , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r354458 - head/libexec/rc/rc.d Message-ID: <20191111221138.GA1111@brick> Mail-Followup-To: Alexander Leidinger , Conrad Meyer , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org References: <201911071815.xA7IFOhI070066@repo.freebsd.org> <20191109204958.Horde.B0ynnS_aur1OZimnDNObsAt@webmail.leidinger.net> <20191110160819.GA1095@brick> <20191110202504.GA1070@brick> <20191111211559.Horde.WORqkr_xMQfIqIWKvR_jExq@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191111211559.Horde.WORqkr_xMQfIqIWKvR_jExq@webmail.leidinger.net> User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47BlTW5bm3z3Ffx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=PW38d6fj; dmarc=none; spf=pass (mx1.freebsd.org: domain of etnapierala@gmail.com designates 2a00:1450:4864:20::429 as permitted sender) smtp.mailfrom=etnapierala@gmail.com X-Spamd-Result: default: False [-4.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_IN_DNSWL_NONE(0.00)[9.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.82)[ip: (-9.31), ipnet: 2a00:1450::/32(-2.75), asn: 15169(-2.00), country: US(-0.05)]; FORGED_SENDER(0.30)[trasz@freebsd.org,etnapierala@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[206.209.1.82.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[trasz@freebsd.org,etnapierala@gmail.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2019 22:11:45 -0000 On 1111T2115, Alexander Leidinger wrote: > Quoting Edward Tomasz Napierała (from Sun, 10 Nov > 2019 20:25:04 +0000): > > > On 1110T1147, Conrad Meyer wrote: > > >> I am on board with making this stuff more “batteries included” and usable > >> by default, but just echoing the request for configurable knobs (I don’t > >> care about the defaults). > > > > My point is... well, there are two. First is, it's configurable already: > > you can comment out parts of the rc script you don't want, or you can not > > We want to have the system rc scripts "no touch" scripts, don't we? I don't quite agree, but I'm not going to fight for it. > > set linux_enable in the first place and do things it would otherwise do > > for you by in the usual manner - add the modules to loader.conf, add a > > line to sysctl.conf etc. The script simply provides a shortcut to match > > what 90% of users want. > > I agree. > > > Second, in order to implement something properly, I need to understand > > how it's going to be used. I guess I worded it quite badly in the > > previous mail; it's wasn't supposed to sound like "Can you give me some > > use case because I think you're wrong", but rather a "Can you give me > > some use case, because without it I have no idea how to design it to > > fit it". > > What about a config variable which enables or disables the mounts? > That way we don't have to modify the rc script to get back to the old > behavior in cases were we need it. Okay, this is easy to do; see https://reviews.freebsd.org/D22320.