Age | Commit message (Collapse) | Author |
|
|
|
Don't reserve^Wignore them for unwind(8); there are non-unwind use-cases
and so far resolvd(8) always seems to do the right thing when proposing
localhost while unwind is running.
OK benno
|
|
|
|
|
|
|
|
resolvd(8), slaacd(8) and dhcpleased(8) are different from other daemons
in that there must only be a single instance.
resolvd already does this, adjust slaacd and dhcpleased accordingly while
moving the lockfile paths under /dev/ such that they work early on boot and
don't run into races should /var be (un)mounted between daemon starts.
Locking is especially required in the installer where all three daemons are
started every time the "(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? "
prompt is entered, i.e. restarting installation or dropping into a shell
and back into the prompt again would start multiple instances.
To avoid expected lockfile error messages in between installer prompts,
discard standard error when starting the autoconf daemons; none of them
has other potential failure cases in installer mode before daemon(3)izing.
Input sthen deraadt
OK deraadt
|
|
is required because of TLS servername for contacting ftp.openbsd.org, and
there is no point doing that in resolv.conf.tail because it is no longer used.
ok florian kn
|
|
All other unwind related bits are under #ifndef SMALL already,
so complete that.
OK florian
|
|
from /tmp/i. Work around this in resolvd so that it can correctly
update the file until this is fixed in install.sub.
probably grudgingly OK deraadt
|
|
|
|
a rewritten resolv.conf, and without being too precise, the order they will
be in the file
discussed with florian and jmc
|
|
|
|
Unveiling the entire directory stems from earlier development cycles
and is by no means required now, only the two files are created,
read from and written to.
OK deraadt florian semarie
|
|
|
|
|
|
|
|
Remove unused STARTUP_WAIT_TIMO (since import),
add missing space to error message.
|
|
|
|
|
|
that it's not appropriate to claim that I wrote it.
|
|
It should always run and there is no reload semantic.
OK deraadt
|
|
|
|
OK deraadt
|
|
with jmc
|
|
replace poll+kevent with kevent only.
lockfile to block starting of 2nd instance.
remove state file, and recognize '# resolvd: ' lines as state
handle DNS proposal withdraws better
Still a work in progress.
tested and looked at by semarie, benno, florian, dlg
|
|
prodding deraadt
|