<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-support/rng-tools, branch master-test</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master-test</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master-test'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2021-01-16T22:39:35+00:00</updated>
<entry>
<title>rng-tools: upgrade 6.10 -&gt; 6.11</title>
<updated>2021-01-16T22:39:35+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2021-01-14T05:49:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=da33f74b58402bbd57fe6515d92fb7d1aed538af'/>
<id>urn:sha1:da33f74b58402bbd57fe6515d92fb7d1aed538af</id>
<content type='text'>
Remove backported patches.

(From OE-Core rev: bcb0895c41ca97fdf1d53d8368ff46d5968cdc4a)

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rngd: fix --debug to also filter syslog() calls</title>
<updated>2020-10-10T12:37:56+00:00</updated>
<author>
<name>Yann Dirson</name>
<email>yann@blade-group.com</email>
</author>
<published>2020-10-09T16:20:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=68aa8a24b1af1e6eff36c44f9c2722869bcaa855'/>
<id>urn:sha1:68aa8a24b1af1e6eff36c44f9c2722869bcaa855</id>
<content type='text'>
Debug logs were only controlled by --debug flag while in --foreground mode.
In --daemon mode (the default for us) /var/log/message got stuffed with
details of entropy pool refilling, which is useless in production, and
hamful when log rotation then gets rid of the more useful logs.

This change makes the two modes consistently only produce debug logs when
--debug is specified.

(From OE-Core rev: 914526868656fd279b13ba8e4d721d27cb2a8792)

Signed-off-by: Yann Dirson &lt;yann@blade-group.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rng-tools: upgrade 6.9 -&gt; 6.10</title>
<updated>2020-06-04T12:27:30+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2020-05-31T15:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a3a6c10bd539868bf3de04f0848364e96fb5a313'/>
<id>urn:sha1:a3a6c10bd539868bf3de04f0848364e96fb5a313</id>
<content type='text'>
(From OE-Core rev: 368405e33a3db97a85cfd4cb06cb5a105b924d3e)

Signed-off-by: Alexander Kanavin &lt;alex.kanavin@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rng-tools: Restrict rngd.service</title>
<updated>2020-04-26T13:00:50+00:00</updated>
<author>
<name>Alex Kiernan</name>
<email>alex.kiernan@gmail.com</email>
</author>
<published>2020-04-23T14:12:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0d201feb8dbf96d8852a3e2303ed8727effcaf2c'/>
<id>urn:sha1:0d201feb8dbf96d8852a3e2303ed8727effcaf2c</id>
<content type='text'>
Whilst rngd has to run as root, we can significantly constrain its
permissions (network is only required if nistbeacon is enabled).

(From OE-Core rev: 3ed70b755d0b60e61e0871f8b0cca2e2ab5e13f9)

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rngd-tools: Install as part of sysinit.target</title>
<updated>2020-04-26T13:00:50+00:00</updated>
<author>
<name>Alex Kiernan</name>
<email>alex.kiernan@gmail.com</email>
</author>
<published>2020-04-23T14:12:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c21dfbd8eabfce84fcc3afd50bf54bc8c0f57650'/>
<id>urn:sha1:c21dfbd8eabfce84fcc3afd50bf54bc8c0f57650</id>
<content type='text'>
rngd.service has a constraint of Before=sysinit.target, installing as
part of multi-user.target is an odd choice as unless it's pulled in by a
different dependency, an other target would not start it.

(From OE-Core rev: eeb1e236dab087b7565dbbf6979e2b4c03e56e91)

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rng-tools: upgrade 6.8 -&gt; 6.9</title>
<updated>2020-01-03T22:35:48+00:00</updated>
<author>
<name>Wang Mingyu</name>
<email>wangmy@cn.fujitsu.com</email>
</author>
<published>2020-01-03T13:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cf8918a9597d0d253dd29dd45449595e31f7f63b'/>
<id>urn:sha1:cf8918a9597d0d253dd29dd45449595e31f7f63b</id>
<content type='text'>
(From OE-Core rev: ff5da959ad0816eaa6be8e6938b14b3d54cb80c4)

Signed-off-by: Wang Mingyu &lt;wangmy@cn.fujitsu.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rng-tools: upgrade 6.7 -&gt; 6.8</title>
<updated>2019-11-21T23:08:20+00:00</updated>
<author>
<name>Anuj Mittal</name>
<email>anuj.mittal@intel.com</email>
</author>
<published>2019-11-18T08:51:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=11e6ba7503f2f93a56d896eada5a3056fbf8a08c'/>
<id>urn:sha1:11e6ba7503f2f93a56d896eada5a3056fbf8a08c</id>
<content type='text'>
(From OE-Core rev: 1c6f29a7dc6172c4ddaca4a74bb5c178ead14182)

Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rng-tools: start rngd early in the boot process again</title>
<updated>2019-07-26T07:41:38+00:00</updated>
<author>
<name>Bedel, Alban</name>
<email>alban.bedel@aerq.com</email>
</author>
<published>2019-07-23T14:11:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3ac4332d2565c04e9be936d2397453f7041003b1'/>
<id>urn:sha1:3ac4332d2565c04e9be936d2397453f7041003b1</id>
<content type='text'>
It do make sense to start rngd early in the boot process because
otherwise we would need to track every service that might need entropy
and explicitly configure it to start after rngd.

When used with systemd rngd blocked the shutdown process because it
simply missed the proper unit configuration. As the systemd
documentation explains, when using DefaultDependencies=no one also
have to explicitly configure the unit to properly stop at some point.
This is normaly achieved by having Before=shutdown.target and
Conflicts=shutdown.target set for the unit.

To have rngd started early again we reverte the changes done to
rngd.service in commit edf7606822 (rng-tools: fix rngd blocks system
shutdown). To have it properly stopped on shutdown we also add
Before=shutdown.target and Conflicts=shutdown.target.

(From OE-Core rev: a74e7df33e2c8ab2152e3217c0a5df3f65971713)

Signed-off-by: Alban Bedel &lt;alban.bedel@aerq.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rng-tools: fix rngd blocks system shutdown</title>
<updated>2019-07-03T16:00:57+00:00</updated>
<author>
<name>Kai Kang</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2019-07-02T08:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6fcc6e5ab2ed8fc31ddb37f475c753b9090d2188'/>
<id>urn:sha1:6fcc6e5ab2ed8fc31ddb37f475c753b9090d2188</id>
<content type='text'>
fix-rngd-fail-to-stop.patch is added to fix rngd blocks system shutdown
issue. But it causes rngd doesn't release CPU and causes 100% CPU
usage, so drop it.

The block shutdown issue is caused by comit [7cb64b9fe1 rng-tools: start
earlier in the boot process] which updated rngd.service. Revert the
modification of rngd.service.

Update sed expressions in do_install as well which fails to replace
second match in one line.

(From OE-Core rev: edf760682270de36850407c860bea5aea29e30bc)

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rng-tools: 6.6 -&gt; 6.7</title>
<updated>2019-06-19T21:13:42+00:00</updated>
<author>
<name>Kai Kang</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2019-06-19T11:59:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=de7a2d26ec12facbef1d5a92922b4136ee803aaf'/>
<id>urn:sha1:de7a2d26ec12facbef1d5a92922b4136ee803aaf</id>
<content type='text'>
Upgrade rng-tools from 6.6 to latest commit 9fc873c which 26 commits
beyond release 6.7:

$ git describe 9fc873c5af0e39263
v6.7-26-g9fc873c

Because it includes some critical fixes such as configure fails and
'Import yocto fixes for 6.6'.

* remove local patches that all are merged by upstream
* backport patch to fix rngd fails to stop issue
* add PACKAGECONFIG libp11

(From OE-Core rev: 3e09c8b5b6517da97a9ec0ce5deb4ba1b066d19b)

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
