Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-16 | T5195: fix remaining references to decommissioned vyos.util | Christian Breunig | |
2023-07-14 | T5195: vyos.util -> vyos.utils package refactoring (#2093) | Christian Breunig | |
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process * T5195: use read_file and write_file implementation from vyos.utils.file Changed code automatically using: find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} + find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} + * T5195: move chmod* helpers to vyos.utils.permission * T5195: use colon_separated_to_dict from vyos.utils.dict * T5195: move is_systemd_service_* to vyos.utils.process * T5195: fix boot issues with missing imports * T5195: move dict_search_* helpers to vyos.utils.dict * T5195: move network helpers to vyos.utils.network * T5195: move commit_* helpers to vyos.utils.commit * T5195: move user I/O helpers to vyos.utils.io | |||
2022-04-16 | vyos.base: use Warning() helper where applicable | Christian Poessinger | |
2021-10-22 | hosts: T2683: Allow multiple entries for static-host-mapping | Viacheslav | |
2021-09-05 | name-server: T3804: merge "system name-servers-dhcp" into "system name-server" | Christian Poessinger | |
We have "set system name-server <ipv4|ipv6>" to specify a name-server IP address we wan't to use. We also have "set system name-servers-dhcp <interface>" which does the same, but the name-server in question is retrieved via DHCP. Both CLI nodes are combined under "set system name-server <ipv4|ipv6|interface>" to keep things as they are in real life - we need a name-server. (cherry picked from commit 2ecf7a9f9cbe9359457bd23b4a0c45f3763123c7) | |||
2020-08-31 | configd: T2582: add scripts to include list for daemon | John Estabrook | |
2020-08-10 | host_name: T2784: remove unused imports | John Estabrook | |
2020-08-10 | host_name: T2784: remove unused arg in verify, unneeded arg in get_config | John Estabrook | |
2020-06-26 | T2654: Remove overzealous error checking | kroy | |
2020-06-11 | host_name: T2486: remove pdns-recursor restart | Jernej Jakob | |
It shouldn't be required, if necessary it should be added to vyos-hostsd apply command. | |||
2020-06-11 | host_name: T2486: configure vyos-hostsd | Jernej Jakob | |
Removes and adds all required settings. | |||
2020-06-11 | host_name: T2486: remove conf.exists calls | Jernej Jakob | |
The getter methods will return empty values if config nodes don't exist, so there's no point in checking if they exist before. | |||
2020-06-11 | host_name: T2486: move Config() call into main | Jernej Jakob | |
Init Config once in main() and pass it to both get_config() and verify(). | |||
2020-06-11 | host_name: T2486: replace disable-dhcp-nameservers with name-servers-dhcp | Jernej Jakob | |
The previous implementation only supported disabling DHCP nameservers for all interfaces, and was implemented improperly so it didn't work anyway. It's safe to remove it completely. This adds support for a new config node name-servers-dhcp <interface>, which allows us to enable just the interfaces we want to use for system DNS, identical in syntax to 'service dns forwarding dhcp <interface>'. The new option works by adding tags to vyos-hostsd that we want to use to add nameservers to resolv.conf, same as adding tags for dns forwarding but for a different destination file. A config migrator will be added in a separate commit. | |||
2020-06-11 | host_name: T2486: remove domain-search length limitations | Jernej Jakob | |
Debian Buster doesn't have the length and character limitations of /etc/resolv.conf 'search' any more, it is unlimited. https://sourceware.org/bugzilla/show_bug.cgi?id=19569 (glibc >2.26) | |||
2020-06-11 | host_name: T2486: change internal 'static-host-mapping' representation | Jernej Jakob | |
Change internal representation to the one required by vyos-hostsd. | |||
2020-05-29 | airbag: T2088: explicit enabling of the feature | Thomas Mangin | |
airbag must now be explicitly installed. the patch also allow to fully disables the installation of the logging code at setup (and not just installing and doing nothing) | |||
2020-04-21 | dns-forwarding: T2298: verify pdns path is exists | Christian Poessinger | |
2020-04-15 | dns-forwarding: T2298: remove wrongly added number | Christian Poessinger | |
Commit 16b2fc8 ("dns-forwarding: T2298: fix path to control file") added a wrong prefix to the line before executing 'systemctl restart snmpd.service'. | |||
2020-04-15 | dns-forwarding: T2298: fix path to control file | Christian Poessinger | |
After migrating PowerDNS to systemd and also its configuration files to a volatile directory in commit 77d725f ("dns-forwarding: T2185: move configuration files to volatile /run directory") the path for the control file has not been altered and pushed to the client rec_control binary" | |||
2020-04-13 | dns-forwarding: T2185: migrate from SysVinit to systemd | Christian Poessinger | |
2020-04-09 | util: T2226: os.system was wrongly converted to run | Thomas Mangin | |
os.system does print the ouput of the command, run() does not. A new function called call() does the printing and return the error code. | |||
2020-04-06 | util: T2226: rewrite system host-name to use cmd | Thomas Mangin | |
Previously any failure to set the hostname would have been ignored. Part of the convertion, if the change fail, the commit will fail too. | |||
2019-11-17 | dns: T1786: add proper processing of 'system disable-dhcp-nameservers' | zdc | |
2019-08-21 | T1598: redo host_name.py to use vyos-hostsd. | Daniil Baturin | |
2019-08-13 | [hostname] T1531: Added hostname alias to 127.0.1.1 (Debian way) | zsdc | |
This change makes "dnsdomainname" and "hostname -f" operable | |||
2019-07-16 | T1531: do not include the domain name in system hostname. | Daniil Baturin | |
2019-07-12 | Do not try to verify the hostname config if the script is run by cloud-init. | Daniil Baturin | |
2019-07-09 | T1497: remove duplicate name servers and search domains obtained from DHCP. | Daniil Baturin | |
2019-07-03 | T1497: make host_name.py wait for commit lock too. | Daniil Baturin | |
2019-07-03 | T1497: remove the no longer necessary workaround for bad ↵ | Daniil Baturin | |
return_effective_values output. | |||
2019-07-02 | T1497: "set system name-server" generates invalid/incorrect resolv.conf | UnicronNL | |
2019-06-20 | T1458: Regression in 1.2.1-S2 hostname & logging | Kim Hagen | |
2019-06-18 | [ config ] T1447: Python subprocess called without import in host_name.py | Kim Hagen | |
2019-06-17 | [syslog/hostname.py] T1394 - syslog systemd and host_name.py race condition | hagbard | |
- checking if the hostname has changed, otherwise the script and systemd try to restart rsyslogd at the same time, at the end it's not started at all. | |||
2019-06-04 | T1379: Deprecated functions in /sbin/dhclient-script | Kim Hagen | |
2019-04-20 | [hostname] T1336: sanitize FQDN before passing to hostnamectl | Christian Poessinger | |
Remove possible trialing (.) when invoking hostnamectl. A hostname with a trailing (.) is not supported in hostnamectl. | |||
2019-04-05 | T1264 - host_name.py improvements | hagbard | |
- checks if a variable exists to avoid setting None on defined defaults | |||
2019-02-22 | feature: static-host-mapping - made IP address (param inet) mandatory | hagbard | |
2019-02-22 | removed a debugger print I forgut during merge | hagbard | |
2019-02-22 | Fixes: T1262 - dhcp requested WAN ip address doesn't get search parameter in ↵ | hagbard | |
/etc/resolv.conf | |||
2019-02-22 | pdns_recursor check improved, spits out a message for /var/run if it's not ↵ | hagbard | |
running. | |||
2019-02-22 | bugfix: static-mapping-host alias not mandatory, verification adjusted | hagbard | |
2019-02-21 | Fixes: T1257: implement 'set system static-host-mapping' in host_name.py and ↵ | hagbard | |
remove old function calls | |||
2019-02-20 | T1255: read in modifications from third party scripts before altering /etc/hosts | Christian Poessinger | |
E.g. DHCP server can update /etc/hosts with somw mappings - those mappings were lost on any subsequent invocation of host_name.py | |||
2019-02-20 | T1255: add newlines for 3rd party script amendments | Christian Poessinger | |
2019-02-17 | hostname: bugfix for overwriting search domains | Christian Poessinger | |
2019-02-16 | Add header to resolver configuration file | Christian Poessinger | |
2019-02-16 | hostname: additional test case fixes | Christian Poessinger | |
2019-02-14 | T1174: migrate local hostname/DNS handling to vyos-1x | Christian Poessinger | |