OpenBSD CVS

CVS log for src/etc/rc.d/nsd


[BACK] Up to [local] / src / etc / rc.d

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Sat May 21 12:42:21 2022 UTC (2 years ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

${rcexec} -> rc_exec

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 12 18:52:43 2019 UTC (5 years ago) by tim
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.10: +1 -10 lines
Diff to previous 1.10 (colored)

Stop generating keys for nsd-control(8). These are unused since nsd was
switched to using a local control socket by default.

OK florian@ sthen@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 11 19:52:12 2018 UTC (6 years, 4 months ago) by rpe
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Change the shebang line from /bin/sh to /bin/ksh in all base rc.d
daemon scripts.

discussed with and OK aja@
OK tb

Revision 1.9 / (download) - annotate - [select for diffs], Mon Dec 29 11:17:05 2014 UTC (9 years, 5 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

pexp is not needed; ok sthen@

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 25 12:33:33 2014 UTC (9 years, 11 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

ensure rc.d/nsd uses a correct exit code as per rc.subr(8); reported by
Ben Lovett, simpler diff from aja@

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 7 02:46:05 2014 UTC (10 years, 1 month ago) by sthen
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

pass daemon_flags to nsd-control when used to check/reload/stop nsd,
the only useful option here is to specify an alternative config path,
which must be used for these operations as well as for startup.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 10 17:41:39 2014 UTC (10 years, 4 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.5: +1 -6 lines
Diff to previous 1.5 (colored)

Remove unnecessary rc_post from rc.d/nsd.

It was there to try and ensure that failure was reported if nsd stopped
shortly after startup (as it used to do if the address was in use, etc),
but this is no longer the case with nsd 4 which returns a failure at
startup in these cases, and having it there breaks properly printing
"(ok)" when stopping.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 26 13:01:30 2013 UTC (10 years, 6 months ago) by sthen
Branch: MAIN
Changes since 1.4: +28 -7 lines
Diff to previous 1.4 (colored)

update for NSD 4.0.0; generate keys for nsd-control if non-existent, and
use nsd-control to signal NSD.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 4 15:28:39 2012 UTC (11 years, 10 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Set rc_usercheck to NO.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 16 17:51:42 2012 UTC (12 years, 4 months ago) by camield
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.2: +11 -1 lines
Diff to previous 1.2 (colored)

Use nsdc to reliably stop nsd.

ok ajacoutot sthen

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 13 13:45:38 2011 UTC (12 years, 5 months ago) by ajacoutot
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Set rc_reload to NO. In rc.d(8), `reload' means reloading the
configuration without service disruption which is not what -HUP does for
nsd(8).
Anyway, zone operations (...) should be done using nsdc(8) and not with
an rc script.

discussed with and ok sthen@

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jul 6 18:55:36 2011 UTC (12 years, 11 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0

Add rc.d(8) script for the system daemons that are restartable.
From now on rc(8) is going to call these scripts to start them up on boot
in the same order than before.
In addition the inetd and rwhod variables in rc.conf are deprecated so that
inetd_flags and rwhod_flags should be used. The old flags are still going
to be used for some time to allow users to switch.
There are more rc modifications to come later so let's put this in so
we can base more work on this.
It is important to mention that you can still keep using rc.local just
like the way you did before, and we have no intention to remove that either.

I'd also like to thank ajacoutot@, halex@, sthen@ and schwarze@ for working
on this with me.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.