OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 17 03:17:37 2022 UTC (22 months, 3 weeks ago) by deraadt
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.9: +1 -5 lines
Diff to previous 1.9 (colored)

/var/run/ypbind.lock doesn't need to be forcefully removed
ok aja

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 11 21:09:26 2018 UTC (6 years, 4 months ago) by rpe
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, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

- change [] tests to [[]]
- change -a, -o to &&, || inside [[]]
- remove unecessary quoting inside [[]]
- remove X"" constructs inside [[]]
- remove \ (line continuation) in case of &&, || and pipes
- replace backticks with $()

discussed with and OK aja@
OK tb

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jan 11 19:52:12 2018 UTC (6 years, 4 months ago) by rpe
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Sat May 27 19:55:48 2017 UTC (7 years ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Ok turns out we still want to keep the rc_bg variable around but we need
to know which daemon cannot background themselves (actually we want to
know the opposite, but there are much more). However, it's only needed in
_rc_wait and rc.subr still does its magic without the need to add `&'.

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 27 13:51:52 2017 UTC (7 years ago) by ajacoutot
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

Add an ALRM timer to cope with 2 annoying issues in rc.d(8):
- prevent a daemon from hanging the boot
(typo in your flagsm e.g. httpd_flags=-d)
- make sure we can get the status of a backgrounded daemon instead of always
returning success

Side effect of this is that we can kill a knob! rip rc_bg :-)
Ports will need love, and a second commit is coming for that.

The diff is small yet not trivial so I am committing early in the release
process in one shot so it can easily be reverted if needed. I started working on
this during g2k16 in Cambridge then finished it in Brisbane for a2k17 where
robert@, beck@ and sthen@ agreed it was the correct way to go and I should move
ahead with it post 6.1.

If you see any regression, please talk to me!

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 18 03:51:11 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored)

Forcibly delete /var/run/ypbind.lock to prepare for the worst cases.
ok aja

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 7 05:54:48 2011 UTC (12 years, 8 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Fix a small regression reported by nicm@: when domainname is set but
/var/yp/binding does not exist, do _not_ try to start ypbind.

Make it possible to start ypbind the same way as the other daemons
(using ypbind_flags) while preserving the historical startup behavior.

tested by deraadt@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 8 02:15:34 2011 UTC (12 years, 11 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored)

Switch amd and spamlogd to rc scripts and make sure that the
rc_pre() functions are returning correctly. This change
also simplyfies the changes because false || return 1 can be replaced
with false if that's the last call. thanks halex@!

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 7 18:23:17 2011 UTC (12 years, 11 months ago) by robert
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

make the check more readable

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 7 01:52:58 2011 UTC (12 years, 11 months ago) by robert
Branch: MAIN

add scripts for portmap and the yp daemons

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.