<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/systemd/vyos-hostsd.service, branch circinus-merge-commit-handling</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=circinus-merge-commit-handling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=circinus-merge-commit-handling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2021-12-29T22:41:31+00:00</updated>
<entry>
<title>dhclient: T4121: Fixed resolv.conf generation at early boot stage</title>
<updated>2021-12-29T22:41:31+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-12-29T22:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ce77935eeeabcbb8d3510d09d12e0d79e74ad045'/>
<id>urn:sha1:ce77935eeeabcbb8d3510d09d12e0d79e74ad045</id>
<content type='text'>
In case if a CLI configuration is not available, dhclient cannot add
nameservers to a `resolv.conf` file, because `vyos-hostsd` requires that
an interface be listed in the `set system name-server` option.
This commit introduces two changes:

* `vyos-hostsd` service will not be started before Cloud-Init fetch all
remote data. This is required because all meta-data should be available
for Cloud-Init before any of VyOS-related services start since it is
used for configuration generation.

* the `vyos-hostsd-client` in the `dhclient-script` will be used only if
the `vyos-hostsd` is running. In other words - if VyOS services already
started, dhclient changes `resolv.conf` using `vyos-hostsd`; in other
cases - does this directly.

These changes should protect us from problems with DHCP during system
boot if DHCP is required by third-party utils.
</content>
</entry>
<entry>
<title>vyos-hostsd: T2583: add hostsd group</title>
<updated>2020-06-11T20:10:47+00:00</updated>
<author>
<name>Jernej Jakob</name>
<email>jernej.jakob@gmail.com</email>
</author>
<published>2020-06-11T06:06:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=96ed330e9691f9db79c837505802ae5055f86348'/>
<id>urn:sha1:96ed330e9691f9db79c837505802ae5055f86348</id>
<content type='text'>
To better control access from other daemons that may not be running as root,
create a new group 'hostsd' to which the other daemons running users can be
added.
Run vyos-hostsd as root:hostsd to create the socket file with correct user and
group.
</content>
</entry>
<entry>
<title>vyos-hostsd: T2583: update systemd service</title>
<updated>2020-06-11T20:10:47+00:00</updated>
<author>
<name>Jernej Jakob</name>
<email>jernej.jakob@gmail.com</email>
</author>
<published>2020-06-11T06:04:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=de8f039cf3a527c87ec595fc94a691b0159cd79a'/>
<id>urn:sha1:de8f039cf3a527c87ec595fc94a691b0159cd79a</id>
<content type='text'>
- set RuntimeDirectory to vyos-hostsd
- set RuntimeDirectoryPreserve in order to not delete the state file between
  service restarts (/run will be deleted across reboots as it's on a tmpfs but
  the state doesn't need to be saved across reboots anyway)
- set WorkingDirectory to /run/vyos-hostsd
</content>
</entry>
<entry>
<title>T1598: annotate the vyos-hostsd unit file.</title>
<updated>2019-09-11T21:14:23+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2019-09-11T21:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=59e5e64cfbb67a5eb1a9d4d21dd54d946897b8d7'/>
<id>urn:sha1:59e5e64cfbb67a5eb1a9d4d21dd54d946897b8d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T1598: fix vyos-hostsd unit dependencies.</title>
<updated>2019-08-30T16:58:02+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2019-08-30T16:40:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ff05e2a90edf8af5d7b8ad5c69cae2dd40af2c8d'/>
<id>urn:sha1:ff05e2a90edf8af5d7b8ad5c69cae2dd40af2c8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T1606: change vyos-hostsd systemd target to avoid boot problems</title>
<updated>2019-08-22T19:08:09+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@sentrium.io</email>
</author>
<published>2019-08-22T17:51:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=db67a7e9e6f448567203ceb5f6364e78c7bb3300'/>
<id>urn:sha1:db67a7e9e6f448567203ceb5f6364e78c7bb3300</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T1598: start vyos-hostsd before everything that may need it.</title>
<updated>2019-08-20T17:47:16+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2019-08-20T17:47:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=525438ac4ad1e4fba534c7d1c51283c4c2561d3e'/>
<id>urn:sha1:525438ac4ad1e4fba534c7d1c51283c4c2561d3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T1598: initial implementation of the hosts keeper daemon.</title>
<updated>2019-08-20T17:34:03+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2019-08-20T16:53:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e5df80a3f54da23858c382a8e491ff9901317e1e'/>
<id>urn:sha1:e5df80a3f54da23858c382a8e491ff9901317e1e</id>
<content type='text'>
</content>
</entry>
</feed>
