summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2022-10-31Hoist only the feature checkKlemens Nanni
Keep adding IPv6 routes after lo0 got an addres like before, meant to be committed together with r1.223.
2022-10-31Fix comment: IPv6 link local addresses do not use SOII anymoreKlemens Nanni
sys/netinet6/in6_ifattach.c r1.114 limited it to SLAAC addresses in 2019.
2022-10-31Improve shell style wrt. variable naming/boolean conventionKlemens Nanni
The mixed use of upper and lower case variables is neither obvious nor consistent. PRINT_ONLY is local to netstart. ip6kernel is local to netstart. multicast gets sourced from rc.subr(8). 1. uppercase ip6kernel as is common for global variables in base scripts 2. use the simpler true/false idiom and default with the rest of netstart-only variables, making it clearer that only `multicast=YES/NO' comes from the rc environment 3. hoist kernel feature detection such that a later diff can load the SOII key conditionally 4. zap obvious comment OK aja
2022-10-24do not wait for autoconf in dry-runKlemens Nanni
If there is no default route but some interface has AUTOCONF, printing what would be done still waits for... nothing to happen. OK tb
2022-10-24Add required sh(1) to synopsisKlemens Nanni
Contrary to other scripts in base like rc.d(8) or MAKEDEV(8), netstart(8) itself is not executable and must be passed as file to sh(1): $ man -h netstart /etc/netstart [-n] [interface ...] $ /etc/netstart ksh: /etc/netstart: cannot execute - Permission denied Fix usage and synopsis to provide required usage: $ man -h netsart sh /etc/netstart [-n] [interface ...] OK jmc
2022-10-23powerpc64 and riscv64: sync pbuild class with amd64 and arm64Jeremie Courreges-Anglas
From Brad
2022-10-22lto is a memory hog. Bump pbuild's datasize-cur on arm64 to 8G as on amd64.Theo Buehler
ok phessler
2022-10-21Fix synopsis, -n does not require an interface; OK jmcKlemens Nanni
2022-10-19Exclude /tmp/*.shm files from /tmp cleaning in daily(8); removing themStuart Henderson
interferes with programs using shm_open(3) which uses them as backing files. Problem pointed out by jeremy@ in relation to PostgreSQL. Suggestion/ok tb@.
2022-10-19Drop support for $rcexec; people should now use the rc_exec function.Antoine Jacoutot
prodded by jsg@
2022-10-14add configtestKlemens Nanni
OK florian
2022-10-14add configtestKlemens Nanni
OK florian
2022-10-10Enable configtestKlemens Nanni
OK solene
2022-10-06regen after vdsp(4) crankKlemens Nanni
2022-10-06crank vdsp(4) to 24Klemens Nanni
With eight domains and two or more disks per domain it is easy to exceed the current number of 16 virtual disks. I pass at least one miniroot and one root/data disk to every guest, one domain has additional disk for softraid testing, making >16 disks already. OK kettenis
2022-09-26Drop incomplete archs lists from wsmoused(8) commentKlemens Nanni
OK deraadt
2022-09-22remove dup line; from j@bitminerTheo de Raadt
2022-09-14closer to potential release dateTheo de Raadt
2022-09-08_rc_quirks is only called by _rc_parse_conf, so just merge the two.Antoine Jacoutot
ok robert@ sthen@ kn@
2022-09-04Fix regression in previous commit.Antoine Jacoutot
Moving the configuration check to its own configtest function means rc_pre exit code will now be that of the && list (sasyncd_flags). Just do what isakmpd does and return 0. from lucas at sexy dot is, thanks!
2022-09-02Make rc_configtest behave like rc_pre and rc_post; i.e. don't define a defaultAntoine Jacoutot
function (each rc.d script is supposed to define its own if wanted). This way, we can filter out the "configtest" action depending on whether the function exists or not. Adapt documentation. tweak/ok kn@
2022-09-01Hook up snmpd_metricsMartijn van Duren
OK tb@, sthen@
2022-09-01Add a new action: "configtest", to check configuration syntax of the daemon.Antoine Jacoutot
A few adjustments will be done in the next days (like disabling this action if there's no specific rc_configtest function defined). e.g. /etc/rc.d/sshd configtest rcctl configtest sshd idea from naddy@
2022-08-29When using logger(1), also log the message to standard error so we don'tAntoine Jacoutot
have to check syslog when running in debug mode (`-d').
2022-08-29Use rc_configtest.Antoine Jacoutot
2022-08-29Introduce the rc_configtest() function.Antoine Jacoutot
By default it just returns "0" but can be overriden by rc.d scripts to check that the daemon configuration is valid when running "start", "reload" and "restart".
2022-08-29mount /usr earlier, to satisfy dynamically-linked daemons in /sbin betterTheo de Raadt
(there will be more soon)
2022-08-23(Re)add support for agentx in snmpdMartijn van Duren
Current omissions in protocol support are notifications, index (de)allocation, and agent capabilities. Help testing sthen@ Feedback/tweaks/OK jmatthew@
2022-08-10Remove alpha kernel code to process userland misaligned accesses, and theMiod Vallat
machdep.unaligned_* sysctl to control its behaviour. Such code made sense more than 20 years ago where a lot of code was not 64-bit clean, but this is no longer the case those days. ok jsg@ millert@ deraadt@
2022-08-10Remove games from the default $PATH in /etc/skelTheo Buehler
The games are a playground for developers. Their code is very old and full of bugs. ok deraadt kn
2022-08-04add 7.3 syspatch pubkeyRobert Nagy
2022-08-01Raise "staff" login class datasize-cur on arm64 to the value of amd64.Stefan Sperling
Values for other login classes defined in this file match amd64 already. ok millert, tb, deraadt
2022-07-28Only attempt to set the yp domainname if not yet set; gets rid of an errorMiod Vallat
message at shutdown. tweaks & ok deraadt@
2022-07-27Place ypldap with ypserv, inside the $domainname check, since it alsoTheo de Raadt
has the same requirement.
2022-07-21fix dowTheo de Raadt
2022-07-217.3 packages keyChristian Weisgerber
2022-07-21add 7.3 firmware keyStuart Henderson
2022-07-217.3 base keyTheo de Raadt
2022-07-20move to 7.2-beta. this gets done very early, to avoid finding outTheo de Raadt
version number issues close to release
2022-07-17/var/run/ypbind.lock doesn't need to be forcefully removedTheo de Raadt
ok aja
2022-07-11Generate P-256 ECDH keys for iked instead of reusing 2048 bit RSA keysTobias Heider
from isakmpd. ok bluhm@
2022-07-03Create virtual interfaces upfront if specified on the command lineKlemens Nanni
In cases like `sh /etc/netstart pair1 pair2', one of hostname.pair{1,2} will contain a "patch pair{2,1}" command which expects the other interface to exist. If none exist, this would fail and netstart had to be run separately or "patch"ed interface had to be manually created before. There are other use cases where interfaces depend on each other, so before (re)configuring an explicit list of interfaces, create all virtual ones upfront so that a single netstart invocation will configure everything correctly without having reflect dependencies in multiple ordered netstart invocations. Copy isin() from install.sub to help. Feedback OK halex
2022-07-02Add /etc/rpki/skiplistDaniel Jakots
ok tb
2022-06-28Add missing colon. Noticed by jmc@Claudio Jeker
2022-06-28Hook up bgplgd. Uses _bgplgd user with id 71:71 add a rc.d script andClaudio Jeker
all the other rc plumbing. OK deraadt@
2022-06-27Remove switch(4) leftovers.Visa Hankala
OK deraadt@ mpi@ claudio@ miod@
2022-06-26Wait for autoconf interfaces to come up in netstart(8) instead ofFlorian Obser
rc(8). This makes tunnel interfaces work that depend on working autoconf interfaces. OK deraadt
2022-06-26Start network auto configuration daemons earlier so that tunnelFlorian Obser
interfaces can depend on dhcp or slaac. dhcpleased needs /var mounted so pull that up, we do not support /var on nfs. With & OK deraadt, earlier version OK sthen
2022-06-06bump pbuild's datasize-cur from 2G to 3G on i386, this or close to itStuart Henderson
is needed to build some important ports. ok tb@
2022-05-26Introduce a new daemon_execdir variable for changing to a specified directoryAntoine Jacoutot
before running rc_rcexec. Based on an proposal from openbsd.tech at aisha.cc ok robert@ abieber@