<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/etc, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-03-12T21:46:07Z</updated>
<entry>
<title>rc.d: Generate machine-id from hostid_save</title>
<updated>2023-03-12T21:46:07Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2023-02-15T20:09:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=71d88613d12984f6a9058f4ef7044e00853727ed'/>
<id>urn:sha1:71d88613d12984f6a9058f4ef7044e00853727ed</id>
<content type='text'>
rc.d/hostid_save saves a UUID generated by rc.d/hostid in /etc/hostid.
Store the same UUID, without hyphens, in /etc/machine-id.  The hyphens
are removed with a shell function because hostid_save runs before file
systems are mounted so other tools may not be available yet.

This eliminates some duplication between hostid and machine-id and for
virtual machines machine-id now contains the UUID configured in the
hypervisor like it does on Linux.

Reviewed by:	delphij
Discussed with:	bapt
Approved by:	re (cperciva)
Differential Revision:	https://reviews.freebsd.org/D38811

(cherry picked from commit ecad3f5c4d922f93ceba455f8bff1c54e1ed4174)
(cherry picked from commit d6852eed98ed32ad51120a22aa1ebdf0601917b3)
</content>
</entry>
<entry>
<title>timeout: Move from /usr/bin to /bin</title>
<updated>2023-02-07T17:37:53Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2023-02-01T15:24:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0a4f7dbd9e9450cea25af944d47dce578960a1b8'/>
<id>urn:sha1:0a4f7dbd9e9450cea25af944d47dce578960a1b8</id>
<content type='text'>
timeout(1) is used by /etc/rc.d/zfskeys. Unfortunately, having
timeout(1) installed in /usr/bin causes problems when /usr is an
encrypted ZFS partition.

Implementing timeout(1) in sh(1) is not trivial. A more elegant solution
is to move timeout(1) to /bin so that it is available to early services
in the boot process.

PR:		265221
Reviewed by:	allanjude, des, imp
Approved by:	allanjude, des, imp
Reported by:	Ivan &lt;r4@sovserv.ru&gt;
Fixes:	33ff39796ffe Add zfskeys rc.d script for auto-loading encryption keys
Relnotes:	yes
Sponsored by:	Modirum MDPay
Sponsored by:	Klara Inc.
Differential Revision:	https://reviews.freebsd.org/D38344

(cherry picked from commit e7ab133648a168c4bf7c11da840663c5581771d8)
</content>
</entry>
<entry>
<title>pkgbase: mtree: Correctly tag /var/db entries</title>
<updated>2023-02-02T09:32:54Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2022-07-22T09:21:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=218d04c702e85e34f33ee472e0817ce15be9baee'/>
<id>urn:sha1:218d04c702e85e34f33ee472e0817ce15be9baee</id>
<content type='text'>
(cherry picked from commit 1a104a3bf3d23bfe8a1d899f3b668dec7d2f0a27)
</content>
</entry>
<entry>
<title>pkgbase: mtree: Correctly tag /var/run entries</title>
<updated>2023-02-02T09:32:54Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2022-07-22T09:14:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a04e97cc2591ce77394e35539e2f1d8ac686f725'/>
<id>urn:sha1:a04e97cc2591ce77394e35539e2f1d8ac686f725</id>
<content type='text'>
(cherry picked from commit d2888f5ccf7dc61a31ceb981d488f648795aa878)
</content>
</entry>
<entry>
<title>MFC: Minor changes to force commit these files so new freebsd*.cf files are</title>
<updated>2023-02-01T02:33:29Z</updated>
<author>
<name>Gregory Neil Shapiro</name>
<email>gshapiro@FreeBSD.org</email>
</author>
<published>2023-01-17T06:49:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ba2ae2cca63a56197b93fa99c8b0025b2f1891b7'/>
<id>urn:sha1:ba2ae2cca63a56197b93fa99c8b0025b2f1891b7</id>
<content type='text'>
built to use the new sendmail-8.17.1/cf tree.

(cherry picked from commit 431d2a81d421d4db7a07833b4fd12015cbae5ee7)
</content>
</entry>
<entry>
<title>MFC: Sync with vendor sendmail 8.17.1 cf/cf/submit.mc</title>
<updated>2023-02-01T02:32:59Z</updated>
<author>
<name>Gregory Neil Shapiro</name>
<email>gshapiro@FreeBSD.org</email>
</author>
<published>2023-01-17T06:49:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4c4a4fd4a649a061b847f8af531777b6caa91ed1'/>
<id>urn:sha1:4c4a4fd4a649a061b847f8af531777b6caa91ed1</id>
<content type='text'>
(cherry picked from commit 021562c5020dd63d6b812369a9020b3b8147bfbd)
</content>
</entry>
<entry>
<title>bhyve/snapshot: drop mkdir when creating the unix domain socket</title>
<updated>2023-01-26T18:40:37Z</updated>
<author>
<name>Robert Wing</name>
<email>rew@FreeBSD.org</email>
</author>
<published>2021-02-19T02:48:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=89c376406b5b993b85d76bc2f061c679129077d2'/>
<id>urn:sha1:89c376406b5b993b85d76bc2f061c679129077d2</id>
<content type='text'>
Add /var/run/bhyve/ to BSD.var.dist so we don't have to call mkdir when
creating the unix domain socket for a given bhyve vm.

The path to the unix domain socket for a bhyve vm will now be
/var/run/bhyve/vmname instead of /var/run/bhyve/checkpoint/vmname

Move BHYVE_RUN_DIR from snapshot.c to snapshot.h so it can be shared
to bhyvectl(8).

Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D28783

(cherry picked from commit 5ce2d4a1c2922821b9940473213c0d75469755fc)
</content>
</entry>
<entry>
<title>testing: add python test examples</title>
<updated>2023-01-23T22:09:04Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-01-01T14:35:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=176e0427b208a326ef8256c53c79edeea43e13dc'/>
<id>urn:sha1:176e0427b208a326ef8256c53c79edeea43e13dc</id>
<content type='text'>
Simplify the adoption of python tests by proving some examples,
 utilising commonly-used patterns.

Differential Revision: https://reviews.freebsd.org/D37902
Reviewed by:	asomers
MFC after:	2 weeks

(cherry picked from commit 8161b823d77f9d89ffabd47444a83d693f74c515)
</content>
</entry>
<entry>
<title>netlink: improve interface handling</title>
<updated>2023-01-23T22:04:03Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-12-14T19:45:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=db476bbc226a11e6948a53e3fb8e8ca6b192f409'/>
<id>urn:sha1:db476bbc226a11e6948a53e3fb8e8ca6b192f409</id>
<content type='text'>
* Separate interface creation from interface modification code
* Support setting some interface attributes (ifdescr, mtu, up/down, promisc)
* Improve interaction with the cloners requiring to parse/write custom
 interface attributes
* Add bitmask-based way of checking if the attribute is present in the
message
* Don't use multipart RTM_GETLINK replies when searching for the
specific interface names
* Use ENODEV instead of ENOENT in case of failed RTM_GETLINK search
* Add python netlink test helpers
* Add some netlink interface tests

Differential Revision: https://reviews.freebsd.org/D37668

(cherry picked from commit 80f03e63d67ede8fedbed4bd6bf6b12ec2ab2cfb)
</content>
</entry>
<entry>
<title>netlink: add netlink support</title>
<updated>2023-01-23T19:18:08Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-01-20T21:39:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6bbfbaa6ae46f732603c2a23c7ece6dfe39c1e03'/>
<id>urn:sha1:6bbfbaa6ae46f732603c2a23c7ece6dfe39c1e03</id>
<content type='text'>
Netlinks is a communication protocol currently used in Linux kernel to modify,
 read and subscribe for nearly all networking state. Interfaces, addresses, routes,
 firewall, fibs, vnets, etc are controlled via netlink.
It is async, TLV-based protocol, providing 1-1 and 1-many communications.

The current implementation supports the subset of NETLINK_ROUTE
family. To be more specific, the following is supported:
* Dumps:
 - routes
 - nexthops / nexthop groups
 - interfaces
 - interface addresses
 - neighbors (arp/ndp)
* Notifications:
 - interface arrival/departure
 - interface address arrival/departure
 - route addition/deletion
* Modifications:
 - adding/deleting routes
 - adding/deleting nexthops/nexthops groups
 - adding/deleting neghbors
 - adding/deleting interfaces (basic support only)
* Rtsock interaction
 - route events are bridged both ways

The implementation also supports the NETLINK_GENERIC family framework.

Implementation notes:
Netlink is implemented via loadable/unloadable kernel module,
 not touching many kernel parts.
Each netlink socket uses dedicated taskqueue to support async operations
 that can sleep, such as interface creation. All message processing is
 performed within these taskqueues.

Compatibility:
Most of the Netlink data models specified above maps to FreeBSD concepts
 nicely. Unmodified ip(8) binary correctly works with
interfaces, addresses, routes, nexthops and nexthop groups. Some
software such as net/bird require header-only modifications to compile
and work with FreeBSD netlink.

Reviewed by:	imp
Differential Revision: https://reviews.freebsd.org/D36002
MFC after:	2 months

(cherry picked from commit 7e5bf68495cc0a8c9793a338a8a02009a7f6dbb6)
</content>
</entry>
</feed>
