summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2022-12-16Prioritize lladdr over name/unit in hostname.if processingAndrew Fresh
When needed, lladdr is more precise and enduring. Suggested by deraadt@ Many improvments and OK kn@
2022-12-05Add support configuring hostname.if(5) by lladdrAndrew Fresh
Original implementation by martijn@ Feedback and suggestions from kn@, sthen@, claudio@, florian@, and deraadt@. ok deraadt
2022-11-30add configtest; OK martijnKlemens Nanni
2022-11-28rc(8): reorder_libs: print names of relinked librariesScott Soule Cheloha
When booting from slow media, the boot can appear to stall at the "reordering libs" line for quite some time. For my example, my G4 PowerMac booting from USB 1.1 takes a full minute to reorder the libraries. Let's print the name of each library before it is relinked. This gives the operator a better sense of what the machine is doing. In particular, it signals to the operator that the machine did not hang. With input from kn@, deraadt@. Positive feedback from sthen@. Link: https://marc.info/?l=openbsd-tech&m=165914104421476&w=2 ok kn@
2022-11-10RegenKenneth R Westerback
2022-11-10Nuke Vax (ra,rx) and HP-300 (hd) devices.Kenneth R Westerback
Noticed by kn@ ok millert@
2022-11-09RegenKenneth R Westerback
2022-11-09Remove xy/xd. SMD left with sparc.Kenneth R Westerback
ok kn@ deraadt@
2022-11-09Remove xy/xd. SMD left with sparc.Kenneth R Westerback
ok kn@ deraadt@
2022-11-07Import regenerated moduli.Darren Tucker
2022-11-06regen after /dev/pf? cleanup (only /dev/pf exists)Klemens Nanni
2022-11-06There is only one pf(4); OK sashanKlemens Nanni
2022-11-05"need root privileges" is an error, print it on stderr"Klemens Nanni
2022-11-05Print full path in usage; OK jmcKlemens Nanni
2022-11-01Only load the SOII key if IPv6 is availableKlemens Nanni
Possible now that IP6KERNERL is hoisted. This also improves readability and zaps double negation logic.
2022-11-01Do not wait for DAD completion in dry-run modeKlemens Nanni
1. only do so when running without -n 2. move code to own wait_dad() helper like wait_autoconf_default() has it 3. use local _count as usual in both functions rather than the global count Feedback OK claudio
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.