diff options
author | 2017-02-17 16:42:41 +0000 | |
---|---|---|
committer | 2017-02-17 16:42:41 +0000 | |
commit | 8f825d99084252815677ef9ab1971c6e2f4a3063 (patch) | |
tree | ba851696e472d6b1d2bb72d1c9deb5501869f1e0 | |
parent | Using ipcomp(4) with IPv6 transport mode failed with protocol family (diff) | |
download | wireguard-openbsd-8f825d99084252815677ef9ab1971c6e2f4a3063.tar.xz wireguard-openbsd-8f825d99084252815677ef9ab1971c6e2f4a3063.zip |
Stop supporting the historical way of starting ypbind(8); that is setting
'ypbind_flags=""' when domainname is set and /var/yp/binding exists.
This can lead to inconsistent behavior at startup since /var may not be
mounted yet and /etc/rc's start_daemon() will not start ypbind.
A.K.A. make ypbind startup consistent with all other OpenBSD daemons.
ok deraadt@
-rw-r--r-- | etc/rc.d/rc.subr | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr index 33ca068790c..12544734efa 100644 --- a/etc/rc.d/rc.subr +++ b/etc/rc.d/rc.subr @@ -1,4 +1,4 @@ -# $OpenBSD: rc.subr,v 1.117 2017/01/24 01:11:11 ajacoutot Exp $ +# $OpenBSD: rc.subr,v 1.118 2017/02/17 16:42:41 ajacoutot Exp $ # # Copyright (c) 2010, 2011, 2014-2016 Antoine Jacoutot <ajacoutot@openbsd.org> # Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -115,11 +115,6 @@ _rc_quirks() { [ X"${nfsd_flags}" = X"NO" ] && nfsd_flags="-tun 4" [ X"${mountd_flags}" = X"NO" ] && mountd_flags= fi - - # in case domainname is set and /var/yp/binding exists enable ypbind - if [ X"`domainname`" != X"" -a -d /var/yp/binding ]; then - ypbind_flags= - fi } _rc_parse_conf() { |