summaryrefslogtreecommitdiff
path: root/distrib
AgeCommit message (Collapse)Author
2018-02-21Delete the kernel link kit tgz after extraction to align with theRobert Peichaer
libexec/reorder_kernel script. OK tb
2018-02-21If there is one interface, and it is configured via dhcp, and the leaseRobert Peichaer
contains both domain-name and domain-search options make sure to use the first domain-name entry (there might be multiple). This issue was noticed by Raf Czlonka, thanks for reporting Discussed with, tested and OK krw
2018-02-20syncTheo Buehler
2018-02-20syncStuart Henderson
2018-02-19syncJonathan Gray
2018-02-18add include to silence compiler warning about a missing prototype forChristian Weisgerber
tolower() ok cheloha@ rob@ florian@
2018-02-18syncStuart Henderson
2018-02-18syncTheo Buehler
2018-02-18syncTheo Buehler
2018-02-18Simplify interface listing.kn
Discussed with tb, rpe, feedback from and OK halex.
2018-02-18Create interfaces before processing the hostname.if file in ifstart().Robert Peichaer
This ensures, that IPv6 is configured for dynamically created network interfaces like 'vlan' which would otherwise not yet exist at the time parse_hn_line() checks for IPv6 capability of an interface before applying the inet6 configuration from the hostname.if. Found out, tested and OK naddy
2018-02-17Since rev 1.543 of dhclient it sends the 'host-name' by default.Robert Peichaer
- remove the leftover _hn variable from dhcp_request() - remove the "$_name" parameter when using dhcp_request() in v4_config() - change comments of v{4,6}_config() to reflect the purpose of _name OK krw tb
2018-02-17syncTheo Buehler
2018-02-17syncJoel Sing
2018-02-15syncChristian Weisgerber
2018-02-14syncStuart Henderson
2018-02-14Sync.Joel Sing
2018-02-14Localize _f in do_upgrade().Theo Buehler
ok rpe
2018-02-10syncTheo de Raadt
2018-02-10installer bits for RFC 7217 supportFlorian Obser
OK rpe, tb, naddy, sthen
2018-02-08syncTheo Buehler
2018-02-06quote http_proxy going to rc.firsttime, avoiding problems if it contains aStuart Henderson
special character or space (possible with e.g. proxy username/password). noticed by, install.sub shell magic from, and ok halex@
2018-02-05If an http proxy was used when fetching sets in the ramdisk, write it toStuart Henderson
rc.firsttime for fw_update and syspatch. From trondd at kagu-tsuchi com, ok halex@
2018-02-05syncTheo de Raadt
2018-01-28syncJonathan Gray
2018-01-21fix error handling while fetching setsAlexander Hall
reported by naddy@ long ago ok rpe@
2018-01-20syncTheo de Raadt
2018-01-19syncMark Kettenis
2018-01-18Make URL redirection sticky in the installerjob
Ensures that when URL redirection takes place, the rest of the install/upgrade session will stick to that redirected location. This should help ensure that the fetched set of files is coherent when a load balancer emits 301/302. With feedback from rpe@ OK sthen@ rpe@
2018-01-18Make the installer use the multiprocessor kernel if there is moreVisa Hankala
than one core available. When bsd.mp is used, bsd.sp is not copied to the boot partition. Old installations might not have enough space for all bsd.mp, bsd.sp and bsd.rd. OK deraadt@, krw@, pirofti@
2018-01-17syncTheo de Raadt
2018-01-15syncJonathan Gray
2018-01-14Prefetched sets are stored by root, but are read by an unprivilegedRobert Peichaer
user during the actual install phase. Add a check to the selection of the prefetch area to ensure the unprivleged user can read files from there. Move the selection logic to its own function prefetcharea_fs_list() which returns a unique list of candidate filesystems, or with rc=1. While at it, remove /var/tmp from the potential list of candidates because it's a symbolic link to /tmp since 2014. Change install_files() to loop over the candidates and check if it can read a test file, otherwise clean up and skip this filesystem. Problem found by benno@ whose upgrade failed due to /usr/obj being owned by build:wobj and permissions that prevented the unprivileged user to read the prefetched set files from there. discussed with and OK benno@ halex@ tb@
2018-01-12syncTheo de Raadt
2018-01-09syncTheo de Raadt
2018-01-06syncTheo de Raadt
2018-01-03syncTheo de Raadt
2018-01-03Always present the same question at the end of installs or upgrades.Robert Peichaer
Offer to exit to shell, halt or reboot the system, where 'reboot' is the default answer. Change default answer to 'halt' for installs if MDHALT is set to 'y'. suggested by landry@ OK halex@
2017-12-27sync (if_bwfm_pci.h)Stuart Henderson
2017-12-26syncJeremie Courreges-Anglas
2017-12-26syncMark Kettenis
2017-12-25syncPatrick Wildt
2017-12-22Cope with the fact, that the DHCLIENT route label is gone whichRobert Peichaer
helped to find out if the default route was configured by dhclient. Check if the interface connected to the default route is in the dhcp interface group which accomplishes the same functionality. With feedback from and OK krw@
2017-12-21Adopt comments to previous changeRobert Peichaer
2017-12-21Stop creating a dhclient.conf in the install script, nowKenneth R Westerback
that 'send host-name' is the default behaviour for dhclient. ok rpe@
2017-12-18Change the question at the end of installs and upgrades to present a choiceRobert Peichaer
between exiting to the shell or to reboot the latter being the default. (On sparc64 the second choice is to halt the system which leaves it at the OpenBoot PROM prompt) While there add a newline after the CONGRATULATIONS message. OK tb@ positive feedback naddy@ deraadt@ giovanni@
2017-12-18Display $MODE (install/upgrade) in the prompt before we know the hostname.Theo Buehler
suggested by deraadt ok rpe
2017-12-17syncTheo de Raadt
2017-12-17Add a new question "Escape to shell before reboot? [no]" at the end ofRobert Peichaer
the install and upgrade process. "no" or [enter] reboots the system "yes" leaves the install or upgrade at the shell prompt On selected architectures, sparc64 being the only so far, the system is halted instead of rebooted. autoinstall(8) is NOT affected by this new question as it reboots the system automatically already. Suggested by and OK deraadt@, tb@ phessler@ Feedback on sparc64 by stsp@ Positive feedback pea@ landry@
2017-12-17allow '-' in usernamesRobert Peichaer
requested and OK aja OK halex@