svn commit: r354458 - head/libexec/rc/rc.d

Alexander Leidinger Alexander at leidinger.net
Mon Nov 11 20:16:11 UTC 2019


Quoting Edward Tomasz Napierała <trasz at freebsd.org> (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?

> 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.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander at Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild at FreeBSD.org  : PGP 0x8F31830F9F2772BF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20191111/ccac38b3/attachment.sig>


More information about the svn-src-head mailing list