[pve-devel] [PATCH common v2 0/2] Handle multiple search domains in the API
Emmanuel Kasper
e.kasper at proxmox.com
Tue Apr 4 15:26:22 CEST 2017
Changes since V1:
* improve the regexp to match only the first 'domain' entry
* strip trailing white space in domain list
NB: http://pve.proxmox.com/pipermail/pve-devel/2017-March/025803.html
must be applied before as ssl key generation expects a single search entry
Emmanuel Kasper (2):
Document current handling of reading and updating resolv.conf
Fix #1234: allows multiple search domains to be set
src/PVE/INotify.pm | 14 +++-
test/inotify/resolv.conf_multiple_search | 5 ++
.../resolv.conf_multiple_search_and_domain_first | 6 ++
.../resolv.conf_multiple_search_and_domain_last | 6 ++
test/inotify/resolv.conf_single_domain | 5 ++
test/inotify/resolv.conf_single_search | 5 ++
test/inotify/run_inotify_tests.pl | 78 ++++++++++++++++++++++
7 files changed, 116 insertions(+), 3 deletions(-)
create mode 100644 test/inotify/resolv.conf_multiple_search
create mode 100644 test/inotify/resolv.conf_multiple_search_and_domain_first
create mode 100644 test/inotify/resolv.conf_multiple_search_and_domain_last
create mode 100644 test/inotify/resolv.conf_single_domain
create mode 100644 test/inotify/resolv.conf_single_search
create mode 100755 test/inotify/run_inotify_tests.pl
--
2.1.4
More information about the pve-devel
mailing list