Fix #6758
extensions.ini must be readable by any users otherwise any php scriptcalled by a non-root user will not be able to use PHP extensions
This is a direct fix for RELENG_2_3_2 since extensions.ini is not beingused anymore on RELENG_2_3 or master
Import a patch to fix Net_IPv6::compress("::")
Obtained from: https://github.com/phil-davis/Net_IPv6/commit/638b96a253164b65c63825c38e79812b6c5f448dSubmitted by: @phil-davis
Fix display advanced after input error for system_gateways_edit
Use case:1) Edit a gateway that has no advanced settings (i.e. the Advanced section does not need to open on page load) - that works fine.2) Modify the Gateway IP Address to something invalid like 1:2::z...
Better handle no dhcpv6 leases file
(cherry picked from commit 2355c154b7598f937ba2121429659f5676ce4d96)
Fix #6872 CP bandwidth 0 is no valid
The front-end validation prevents zero from being entered. "Leave empty" is the way to specify no limit.(cherry picked from commit b7f2ebb5448f7992cceec899504bdd0a29058fb9)
Make setup_serial_port() write config files safely
This function used to replace /boot.conf, /boot/loader.conf and/etc/ttys on every call. Depending of the moment a power failurehappens, any of these files can be blank and it'll break console setupon next boot....
Change safe_write_file $content parameter to accept an array
Make $force_binary parameter optional, default to false
Prevent /etc/ttys to miss essential lines
We do not create /etc/ttys from scratch but we change it on every boot.If original file is corrupted for some reason we can end up with a filemissing essential lines. Added a check to verify if these lines aremissing and add them back in this case
Merge pull request #3153 from NewEraCracker/RELENG_2_3_2+
View revisions
Also available in: Atom