Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 2024 15:55:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278169] Rethink /etc/rc.conf.d/ Function.
Message-ID:  <bug-278169-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278169

            Bug ID: 278169
           Summary: Rethink /etc/rc.conf.d/ Function.
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: vermaden@interia.pl

Hi.

>From what I understand the files under /etc/rc.conf.d/ are read only to set
some additional options for a service. For example *caddy_enable=3DYES* nee=
ds to
be in /etc/rc.conf file anyway and if you want to set additional options for
*caddy* service you can use /etc/rc.conf.d/caddy file for that.

After reading this Reddit [1] thread I think it would be better to treat
/etc/rc.conf.d/ the same as other /etc/*.d firs - like /etc/cron.d or like
/etc/jail.conf.d - so you can both enable and configure services at
/etc/rc.conf.d/config level ... and also without limiting the name of the
config file under /etc/rc.conf.d/ dir.

It may be also discouraging/misleading for FreeBSD newcomers I believe.

What You think about that?

[1] https://reddit.com/r/freebsd/comments/1btt3ml/rcconfd_is_ignored_in_jai=
l/

Regards,
vermaden

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278169-227>