Bug 283696 - rc-scripts: Request: rtadvd_flags=""
Summary: rc-scripts: Request: rtadvd_flags=""
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: Mark Johnston
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-28 18:45 UTC by O. Hartmann
Modified: 2025-01-14 14:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2024-12-28 18:45:20 UTC
Sometimes it is necessary to allow some flags for rtadvd. A flags option - as provided for many other deamons/services like service_flags="" is missing.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2024-12-29 05:43:55 UTC
disk-WCC6Y0TZTA2A% whereis rc-scripts
rc-scripts:

Please be specific on what you want to see changed.  Thanks.
Comment 2 Mark Johnston freebsd_committer freebsd_triage 2025-01-06 23:19:17 UTC
Setting rtadvd_flags in /etc/rc.conf works for me as expected.  The rc framework sets rc_flags=$rtadvd_flags automatically.  We are missing an entry for it in /etc/defaults/rc.conf, but that's mostly cosmetic.  What exactly are you asking for?
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-01-06 23:23:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=872686b17e70636f031436b458262eb7dacc5832

commit 872686b17e70636f031436b458262eb7dacc5832
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-06 23:20:00 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-06 23:20:00 +0000

    rc: Document rtadvd_flags

    PR:             283696
    MFC after:      1 week

 libexec/rc/rc.conf       |  1 +
 share/man/man5/rc.conf.5 | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-01-14 14:44:25 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=1c7f325e76e02f5dd8592574d2b4b2a3adb5065b

commit 1c7f325e76e02f5dd8592574d2b4b2a3adb5065b
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-06 23:20:00 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-14 14:14:24 +0000

    rc: Document rtadvd_flags

    PR:             283696
    MFC after:      1 week

    (cherry picked from commit 872686b17e70636f031436b458262eb7dacc5832)

 libexec/rc/rc.conf       |  1 +
 share/man/man5/rc.conf.5 | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)
Comment 5 Mark Johnston freebsd_committer freebsd_triage 2025-01-14 14:45:40 UTC
Closing this since the asked-for feature exists and is now documented.  Please reopen if I missed something.