History log of /src/libexec/rc/rc.d/rtadvd (Results 1 – 25 of 27)
Revision Date Author Comments
# f99f0ee1 22-May-2024 Alexander Leidinger <netchild@FreeBSD.org>

rc.d: add a service jails config to all base system services

This gives more permissions to services (e.g. network access to
services which require this) when they are started as an automatic
servic

rc.d: add a service jails config to all base system services

This gives more permissions to services (e.g. network access to
services which require this) when they are started as an automatic
service jail.

The sshd patch is important for the sshd-related functionality as
described in the man-page in the service jails part.

The location of the added env vars is supposed to allow overriding them
in rc.conf, and to hard-disable the use of svcj for some parts where it
doesn't make sense or will not work.

Only a subset of all of the services are fully tested (I'm running this
since more than a year with various services started as service jails).
The untested parts should be most of the time ok, in some edge-cases
more permissions are needed inside the service jail.
Differential Revision: https://reviews.freebsd.org/D40371

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 0696600c 17-Oct-2018 Bjoern A. Zeeb <bz@FreeBSD.org>

Move the rc framework out of sbin/init into libexec/rc.

The reasons for this are forward looking to pkgbase:
* /sbin/init is a special binary; try not to replace it with
every package update bec

Move the rc framework out of sbin/init into libexec/rc.

The reasons for this are forward looking to pkgbase:
* /sbin/init is a special binary; try not to replace it with
every package update because an rc script was touched.
(a follow-up commit will make init its own package)
* having rc in its own place will allow more easy replacement
of the rc framework with alternatives, such as openrc.

Discussed with: brd (during BSDCam), kmoore
Requested by: cem, bz
PR: 231522
Approved by: re (gjb)

show more ...


# 1135e97b 28-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move rc startup scripts from etc/ to sbin/init/

This keeps most startup scripts as CONFS per discussion on src-committers from
back during BSDCan.

Approved by: will (mentor)
Differential Revision:

Move rc startup scripts from etc/ to sbin/init/

This keeps most startup scripts as CONFS per discussion on src-committers from
back during BSDCan.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16466

show more ...


# 2f0f2071 03-Jul-2017 Kristof Provost <kp@FreeBSD.org>

Allow rtadvd and bsnmpd to run in vnet jails

Both of these tools are usable in vnet jails, so allow them to run there.

PR: 220431, 220432
Submitted by: olivier@freebsd.org


# 6c1a5e83 23-Apr-2016 Lars Engels <lme@FreeBSD.org>

- Add descriptions to most of the rc scripts. Those are mostly taken from their
daemon's manpage and probably improved.
- Consistently use "filesystem" not "file system".

Approved by: bapt, brueff

- Add descriptions to most of the rc scripts. Those are mostly taken from their
daemon's manpage and probably improved.
- Consistently use "filesystem" not "file system".

Approved by: bapt, brueffer
Differential Revision: D452

show more ...


# c614125e 22-Oct-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a reload command.

Reviewed by: hrs
MFC after: 3 days


# 55de4cd6 25-Feb-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

If rtadvd_interfaces is set to "none", start rtadvd without listing
any interfaces on the command line.

MFC after: 1 week


# 274b8658 27-Oct-2012 Hiroki Sato <hrs@FreeBSD.org>

Fix an issue when ipv6_enable=YES && ipv6_gateway_enable=YES which could
prevent rtadvd(8) from working as intended.

Spotted by: brian
Discussed with: brian


# 7c881218 25-Oct-2012 Brian Somers <brian@FreeBSD.org>

Enable "accept_rtadvd" on interfaces running rtadvd.

Without this, rtadvd runs but never advertises a default (IPv6) route.

MFC after: 1 week


# 801c4383 14-Jan-2012 Doug Barton <dougb@FreeBSD.org>

Prepare for the removal of set_rcvar() by changing the rcvar=
assignments to the literal values it would have returned.

The concept of set_rcvar() was nice in theory, but the forks
it creates are a

Prepare for the removal of set_rcvar() by changing the rcvar=
assignments to the literal values it would have returned.

The concept of set_rcvar() was nice in theory, but the forks
it creates are a drag on the startup process, which is especially
noticeable on slower systems, such as embedded ones.

During the discussion on freebsd-rc@ a preference was expressed for
using ${name}_enable instead of the literal values. However the
code portability concept doesn't really apply since there are so
many other places where the literal name has to be searched for
and replaced. Also, using the literal value is also a tiny bit
faster than dereferencing the variables, and every little bit helps.

show more ...


# 1e1c0371 11-Jun-2011 Hiroki Sato <hrs@FreeBSD.org>

- Remove $ipv6_gateway_enable check.
- Use list_net_interfaces() instead of "ifconfig -l".


# 97c8942c 26-Sep-2009 Hiroki Sato <hrs@FreeBSD.org>

Use ipv6if() when $rtadvd_interfaces="AUTO".


# 084a9779 12-Sep-2009 Hiroki Sato <hrs@FreeBSD.org>

Use is_wired_interface() instead of hard-coded interface device
names.

Pointed out by: sam


# 70a873df 12-Sep-2009 Hiroki Sato <hrs@FreeBSD.org>

- Add "AUTO" keyword support in $rtadvd_interfaces.
- Wrap a long line.

MFC after: 3 days


# 04f0f225 16-Jul-2008 Doug Barton <dougb@FreeBSD.org>

Add the shutdown KEYWORD to those scripts that start persistent services
to allow them to do a "clean" shutdown.

I purposely avoided making changes to network-related stuff since the
system shutting

Add the shutdown KEYWORD to those scripts that start persistent services
to allow them to do a "clean" shutdown.

I purposely avoided making changes to network-related stuff since the
system shutting down is pretty conclusive, and there may be complicated
dependencies on the network that I would rather not try to unravel.

I also skipped kerberos-related stuff for the reasons above, and
because I have no way to test it.

show more ...


# e3c46a33 08-Dec-2007 Doug Barton <dougb@FreeBSD.org>

Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d files
with theirs, so this information doesn't need to be in the live file.
Having it in our CVS history is enough.


# 337338ee 07-Oct-2004 Mike Makonnen <mtm@FreeBSD.org>

Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days


# bd57d5b0 08-Mar-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Mark scripts as not usable inside a jail by adding keyword 'nojail'.

Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org>


# 62e02b0d 17-Jan-2004 Mike Makonnen <mtm@FreeBSD.org>

Remove variables whose sole purpose was to make easier to
work with the NetBSD specific stuff.


# 82387f41 17-Jan-2004 Mike Makonnen <mtm@FreeBSD.org>

Luke Mewburn has indicated that they (NetBSD) are not interested
in keeping the scripts under rc.d in sync with us. So, remove
NetBSD specific stuff (which made our scripts more complicated
than nece

Luke Mewburn has indicated that they (NetBSD) are not interested
in keeping the scripts under rc.d in sync with us. So, remove
NetBSD specific stuff (which made our scripts more complicated
than necessary).

The NetBSD ident string will be left intact, both for history and
also incase we wish to pull in future versions.

show more ...


# 1afce003 17-Jan-2004 Mike Makonnen <mtm@FreeBSD.org>

Luke Mewburn has indicated that they (NetBSD) are not interested
in keeping the scripts under rc.d in sync with us. So, begin removal
of NetBSD specific stuff (which made our scripts more complicated

Luke Mewburn has indicated that they (NetBSD) are not interested
in keeping the scripts under rc.d in sync with us. So, begin removal
of NetBSD specific stuff (which made our scripts more complicated
than necessary), starting with the NetBSD KEYWORD.

show more ...


# 9a03c49d 24-Jan-2003 Mike Makonnen <mtm@FreeBSD.org>

Cleanup as many instances of rc.conf variable use before
calling load_rc_config().

Approved by: markm (mentor) dougb


# 14308510 12-Oct-2002 Jens Schweikhardt <schweikh@FreeBSD.org>

Fix style bugs:
* Space -> tabs conversion.
* Removed blanks before semicolon in "if ... ; then".
* Proper indentation of misindented lines.
* Put a full stop after some comments.
* Removed whitespac

Fix style bugs:
* Space -> tabs conversion.
* Removed blanks before semicolon in "if ... ; then".
* Proper indentation of misindented lines.
* Put a full stop after some comments.
* Removed whitespace at end of line.

Approved by: silence from gordon

show more ...


# 77e55efb 06-Sep-2002 Gordon Tetlow <gordon@FreeBSD.org>

Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation on
OS-dependent case switches.


12