<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/etc/dhcp, branch 1.4.0</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/marekm72/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-1x.git/atom?h=1.4.0</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=1.4.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2024-04-12T18:31:03+00:00</updated>
<entry>
<title>T5872: fix ipsec dhclient hook uses "exit" instead of "return"</title>
<updated>2024-04-12T18:31:03+00:00</updated>
<author>
<name>Lucas Christian</name>
<email>lucas@lucasec.com</email>
</author>
<published>2024-04-12T16:34:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=8ac67c2fc03065b257e7f53e28a6153d6dfd371b'/>
<id>urn:sha1:8ac67c2fc03065b257e7f53e28a6153d6dfd371b</id>
<content type='text'>
(cherry picked from commit 840ab82e8821624aae589dec1ea86cefbcf866b7)
</content>
</entry>
<entry>
<title>dhcpv6-client: T2590: fix vyos-hostsd update for nameserver and search domains</title>
<updated>2024-04-01T14:33:35+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-01T12:04:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=4e37494b9cb15f3c85b876de700babbaf1b38215'/>
<id>urn:sha1:4e37494b9cb15f3c85b876de700babbaf1b38215</id>
<content type='text'>
After migrating from ISC DHCLIENT for IPv6 to wide-dhcp-client the logic which
was present to update /etc/resolv.conf with the DHCP specified nameservers and
also the search domain list was no longer present.

This commit adds a per interface rendered script to inform vyos-hostsd about
the received IPv6 nameservers and search domains.

(cherry picked from commit ece425f0191762638b7c967097accd8739e9103d)
</content>
</entry>
<entry>
<title>T5872: re-write exit hook to always regenerate config</title>
<updated>2024-03-28T16:09:40+00:00</updated>
<author>
<name>Lucas Christian</name>
<email>lucas@lucasec.com</email>
</author>
<published>2024-03-10T18:39:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=71fe258f6a4dfc0ead8f8ee46821f9dd965d141a'/>
<id>urn:sha1:71fe258f6a4dfc0ead8f8ee46821f9dd965d141a</id>
<content type='text'>
(cherry picked from commit 679b78356cbda4de15f96a7f22d4a98037dbeea4)
</content>
</entry>
<entry>
<title>T5872: further fixes to ipsec dhcp exit hook</title>
<updated>2024-03-28T16:09:39+00:00</updated>
<author>
<name>Lucas Christian</name>
<email>lucas@lucasec.com</email>
</author>
<published>2024-02-10T19:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=40b0986d66c3a0891dedbedc273b5485e5a8ca3a'/>
<id>urn:sha1:40b0986d66c3a0891dedbedc273b5485e5a8ca3a</id>
<content type='text'>
(cherry picked from commit 92012a0b3db8e93b10db4137414073f0371ed8cc)
</content>
</entry>
<entry>
<title>T5872: fix ipsec dhclient exit hook</title>
<updated>2024-03-28T16:09:39+00:00</updated>
<author>
<name>Lucas Christian</name>
<email>lucas@lucasec.com</email>
</author>
<published>2024-02-09T06:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=781807e732da80b967019649cd79d4721e19f26d'/>
<id>urn:sha1:781807e732da80b967019649cd79d4721e19f26d</id>
<content type='text'>
(cherry picked from commit cd8ef21f280f726955f537132e3fab2bcb3c286f)
</content>
</entry>
<entry>
<title>Merge pull request #2827 from vyos/mergify/bp/sagitta/pr-2823</title>
<updated>2024-01-15T10:27:00+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-01-15T10:27:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=24c6248a25f2d5edaf7dad762e222b139f3b529b'/>
<id>urn:sha1:24c6248a25f2d5edaf7dad762e222b139f3b529b</id>
<content type='text'>
T4856: Fix IPsec DHCP-client exit hook (backport #2823)</content>
</entry>
<entry>
<title>T5901: Add DHCP base_path dir during first boot</title>
<updated>2024-01-15T08:54:24+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-01-15T00:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=b4e0c1b6a35b18d47a8324addbbb99b473f6511a'/>
<id>urn:sha1:b4e0c1b6a35b18d47a8324addbbb99b473f6511a</id>
<content type='text'>
We should create dhclient base_path dir `/run/dhclient` during the
first boot.

It fixes cloud-init boot issues
```
/etc/dhcp/dhclient-exit-hooks.d/03-vyos-dhclient-hook: line 33: /run/dhclient/dhclient_eth0.lease: No such file or directory
```

(cherry picked from commit e613983721c48c13c2e6e73e7c4dbdbaa8e9eacf)
</content>
</entry>
<entry>
<title>T4856: Fix IPsec DHCP-client exit hook</title>
<updated>2024-01-15T08:50:24+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-01-14T22:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=c044a999b487d9e6fae1ac171d4bf20d60d2f33f'/>
<id>urn:sha1:c044a999b487d9e6fae1ac171d4bf20d60d2f33f</id>
<content type='text'>
The script acually does not have the variable `secrets_lines` and
secret lines itself does not have the  marker `# dhcp:{interface}`
in `to_find`

Needs to rewrite this script in the future if it is required

This commit fixes DHCP-client exit hook:
```
dhclient[6800]: NameError: name 'secrets_lines' is not defined
root[6801]: /etc/dhcp/dhclient-exit-hooks.d/99-ipsec-dhclient-hook returned non-zero exit status 1
```

(cherry picked from commit a9cf7246d4450c8b3e1b749b36c3393b0963404b)
</content>
</entry>
<entry>
<title>dhclient: T5724: run user hooks using run_hookdir</title>
<updated>2023-11-11T11:21:30+00:00</updated>
<author>
<name>gavol</name>
<email>34028214+gavol@users.noreply.github.com</email>
</author>
<published>2023-11-11T10:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=0054e17282c7317182d2d710f9f129a179e99364'/>
<id>urn:sha1:0054e17282c7317182d2d710f9f129a179e99364</id>
<content type='text'>
User hooks are executed using run_hookdir (defined in the /sbin/dhclient-script script) instead of run-parts. That allows user hooks to modify variables set by the dhcp client (e.g., the new_routers variable to avoid the installation of the default routes).

(cherry picked from commit 645a0e768e27912a3f46d00de31d0fc79b6fd463)
</content>
</entry>
<entry>
<title>T5428: remove hardcoded dhcp lease file path from dhclient hook</title>
<updated>2023-08-05T09:01:28+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-05T08:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=2c8135270dafee602cd86cb19dc73366fa0a8b98'/>
<id>urn:sha1:2c8135270dafee602cd86cb19dc73366fa0a8b98</id>
<content type='text'>
</content>
</entry>
</feed>
