<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec, branch release/14.2.0-p4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.2.0-p4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.2.0-p4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-11-07T08:09:54Z</updated>
<entry>
<title>nuageinit: add support for OpenStack network config</title>
<updated>2024-11-07T08:09:54Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2024-10-29T13:17:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea310d18b222047caf6cb07f6bdc37020dc672b6'/>
<id>urn:sha1:ea310d18b222047caf6cb07f6bdc37020dc672b6</id>
<content type='text'>
Add naive support for openstack network config.
if no config driver have been found, try to detect that we are running a
VM on openstack via the smbios information, use the first iface
available and temporary activate dhcp on it, to be able to fetch the
necessary informations for cloudinit.

While here make the rc script execute after devmatch, some ethernet
device might be attached via devmatch and may be needed for cloudinit.

Tested on OVHCloud Public Cloud.

Approved by: 	re (cperviva)
MFC after:	3 weeks
Sponsored by:	OVHCloud

(cherry picked from commit 2775b9b0bcc278dd4183b57784953c26a3fcdc89)
(cherry picked from commit 6c682f5c3860a49cd0440599fffe1106c00ff830)
</content>
</entry>
<entry>
<title>libexec/rc/rc.d/netif: Typo fix</title>
<updated>2024-10-31T00:49:57Z</updated>
<author>
<name>Robert William Vesterman</name>
<email>bob@vesterman.com</email>
</author>
<published>2024-10-18T02:54:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6fb03ddbce076a24808f95846ddfcf0f2b7508bb'/>
<id>urn:sha1:6fb03ddbce076a24808f95846ddfcf0f2b7508bb</id>
<content type='text'>
Just fixing a typo ("configuriing" =&gt; "configuring").

Pull Request:	https://github.com/freebsd/freebsd-src/pull/1484

(cherry picked from commit 65691b2dafda23691c3989749def755a98e731ec)
</content>
</entry>
<entry>
<title>rc/tests: Skip oomprotect tests in a jail</title>
<updated>2024-10-21T09:59:16Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2024-10-14T10:28:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=025535f94525c78202d829eb45d8f1ba7253ba46'/>
<id>urn:sha1:025535f94525c78202d829eb45d8f1ba7253ba46</id>
<content type='text'>
oomprotect cannot be used in a jail.

Reviewed by:	bnovkov, christos, markj
Approved by:	bnovkov (mentor), christos (mentor), markj (mentor)
MFC after:	1 week

(cherry picked from commit 6fa42b91ca3f481912af98c4d49c44507eb1b8e1)
</content>
</entry>
<entry>
<title>rc.d/sendmail: Fix stopping service during shutdown</title>
<updated>2024-10-14T10:23:46Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2024-10-04T12:26:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f94127e3ee9181f60576c823ecee6c85625b96e1'/>
<id>urn:sha1:f94127e3ee9181f60576c823ecee6c85625b96e1</id>
<content type='text'>
The sendmail service script needs to be stopped during shutdown
to ensure a clean shutdown of active SMTP connections (and writing
any in memory queue files).

rcorder(8) requires the rcorder block to be an uninterrupted sequence of
REQUIRE, PROVIDE, BEFORE, and KEYWORD lines. Having a comment in between
REQUIRE and KEYWORD makes rcorder stop parsing the block when it reaches
the comment.

Fix that by moving the comment out from the rcorder block.

Reviewed by:	bnovkov, christos, gshapiro, markj
Approved by:	bnovkov (mentor), christos (mentor), markj (mentor)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D46924

(cherry picked from commit 8751fbe36ff02ed695f02132ee6eac723d2bbe3f)
</content>
</entry>
<entry>
<title>flua: Add wrappers for sys/utsname.h</title>
<updated>2024-10-10T20:28:20Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-09-05T15:16:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cde4ab289dfc3c802907fa19df166d18b85f59b8'/>
<id>urn:sha1:cde4ab289dfc3c802907fa19df166d18b85f59b8</id>
<content type='text'>
This allows one to invoke uname from lua scripts.

Reviewed by:	bapt, kevans, emaste
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D42017

(cherry picked from commit 1726db7af6b3738eb04d962b351d7f4017e1fc77)
</content>
</entry>
<entry>
<title>nuageinit: tests: Cleanup</title>
<updated>2024-10-08T07:04:02Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2024-07-30T03:26:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e573007af24ac41dbd3f8f959949f30b6047587e'/>
<id>urn:sha1:e573007af24ac41dbd3f8f959949f30b6047587e</id>
<content type='text'>
- Export NUAGE_FAKE_ROOTDIR only once
- Use the header section of the test to require the root user
- Use the PWD environment variable
- Set the root/sys shell as /bin/sh
- Use RFC 5737 reserved IP addresses

Signed-off-by: Jose Luis Duran &lt;jlduran@gmail.com&gt;
(cherry picked from commit e72457c4f5166eef2a27249e02f3c1e9a1cf852d)
</content>
</entry>
<entry>
<title>nuageinit: Fix passwords</title>
<updated>2024-10-08T07:04:01Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2024-07-30T01:28:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9881d68b1ea763efd6db7c7aecbe47176851582b'/>
<id>urn:sha1:9881d68b1ea763efd6db7c7aecbe47176851582b</id>
<content type='text'>
The hashed password usually contains a "$" sign, which, when used on a
shell, must be escaped.  Also, the plain text password may contain
special characters that require escaping.

Add a quick fix by enclosing it in single quotes.  Note that if the
plain text password contains a "'", it will still fail.  This will be
properly fixed in later commits.

Some here documents require the document to be a string literal,
especially when passing invalid characters.  Enclose it in single
quotes.

Signed-off-by: Jose Luis Duran &lt;jlduran@gmail.com&gt;
(cherry picked from commit b9ce743c5447e90c2c97f4d49e048c301f708527)
</content>
</entry>
<entry>
<title>nuageinit: Standardize user-facing error messages</title>
<updated>2024-10-08T07:04:01Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2024-07-30T01:59:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=03abe3ac4077101f30561fe8ca0b4007012bd63b'/>
<id>urn:sha1:03abe3ac4077101f30561fe8ca0b4007012bd63b</id>
<content type='text'>
Signed-off-by: Jose Luis Duran &lt;jlduran@gmail.com&gt;
(cherry picked from commit 38bb6f79e39a14ea99f559f59129a4cadf92b569)
</content>
</entry>
<entry>
<title>nuageinit: Standardize warning/error messages</title>
<updated>2024-10-08T07:04:01Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2024-07-30T01:18:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=182ff41e84849f0c4fc2c07755604a26d8f8cd64'/>
<id>urn:sha1:182ff41e84849f0c4fc2c07755604a26d8f8cd64</id>
<content type='text'>
Standardize the utilities from nuage.lua, to return nil on failure, plus
an error message as a second result, and some value different from nil
on success.

Make warnmsg() and errmsg() append "nuageinit: " by default.  Pass an
optional second parameter as false to avoid printing this tag.

Signed-off-by: Jose Luis Duran &lt;jlduran@gmail.com&gt;
(cherry picked from commit 945632ca76117029e7bd1f46d17ccb378973daf7)
</content>
</entry>
<entry>
<title>nuageinit: Replace os.execute with Lua libraries</title>
<updated>2024-10-08T07:04:01Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2024-07-30T00:37:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1eaf3331eaee56f012191195dc3e688f5284f69d'/>
<id>urn:sha1:1eaf3331eaee56f012191195dc3e688f5284f69d</id>
<content type='text'>
Prefer posix.sys.stat's chmod() to os.execute().  While here, change the
name of the locals to be more descriptive.

Signed-off-by: Jose Luis Duran &lt;jlduran@gmail.com&gt;
(cherry picked from commit 9b2d92addc31ba6f5696c85d184a45d43e9073dc)
</content>
</entry>
</feed>
