<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-selinux.git, branch warrior</title>
<subtitle>Mirror of git.yoctoproject.org/meta-selinux.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-selinux.git/atom?h=warrior</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-selinux.git/atom?h=warrior'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/'/>
<updated>2019-10-18T16:01:57+00:00</updated>
<entry>
<title>Update MAINTAINERS with new email addr</title>
<updated>2019-10-18T16:01:57+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@kernel.crashing.org</email>
</author>
<published>2019-10-17T14:45:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=ebea59190bd0b26d82afe5b42707a5cf83d830b0'/>
<id>urn:sha1:ebea59190bd0b26d82afe5b42707a5cf83d830b0</id>
<content type='text'>
Signed-off-by: Mark Hatle &lt;mark.hatle@kernel.crashing.org&gt;
Signed-off-by: Joe MacDonald &lt;joe_macdonald@mentor.com&gt;
</content>
</entry>
<entry>
<title>Revert glib-2.0: fix configure error for meson build</title>
<updated>2019-10-18T14:57:07+00:00</updated>
<author>
<name>Vincent Prince</name>
<email>vincent.prince.fr@gmail.com</email>
</author>
<published>2019-10-17T11:09:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=988f58701697876cde0f640023390cc65a7a59a5'/>
<id>urn:sha1:988f58701697876cde0f640023390cc65a7a59a5</id>
<content type='text'>
On Warrior branch, glib-2.0 is in version 2.58.3 so we need to revert commit [bb0c9c3abcb] until then.

Signed-off-by: Vincent Prince &lt;vincent.prince.fr@gmail.com&gt;
Signed-off-by: Joe MacDonald &lt;joe_macdonald@mentor.com&gt;
</content>
</entry>
<entry>
<title>compat: remove thud from warrior layer compatibility list</title>
<updated>2019-09-18T09:02:51+00:00</updated>
<author>
<name>Joe MacDonald</name>
<email>joe_macdonald@mentor.com</email>
</author>
<published>2019-09-18T09:02:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=f5170305dcff65926dc83ade1396fd025c340938'/>
<id>urn:sha1:f5170305dcff65926dc83ade1396fd025c340938</id>
<content type='text'>
Based on this discussion:
https://www.mail-archive.com/yocto@yoctoproject.org/msg45785.html the
warrior branch does not build against oe-core thud any longer.  Since
that's not really intended to be a supported use caes anyway, remove the
layer compatibility statement for thud.

Signed-off-by: Joe MacDonald &lt;joe_macdonald@mentor.com&gt;
</content>
</entry>
<entry>
<title>selinux-python: Fix dependency for ntpath</title>
<updated>2019-08-28T14:35:12+00:00</updated>
<author>
<name>Lorenz Kofler</name>
<email>lorenz@sigma-star.at</email>
</author>
<published>2019-08-28T14:03:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=154654a6fe12206a6b9ad6d8c36a4dbe672bcc46'/>
<id>urn:sha1:154654a6fe12206a6b9ad6d8c36a4dbe672bcc46</id>
<content type='text'>
On yocto warrior the semanage tool didn't work correctly, because it
couldn't find ntpath module. It turned out that this module is now part
of the package python-misc, therefore add dependency to python-misc.

Signed-off-by: Lorenz Kofler &lt;lorenz@sigma-star.at&gt;
Signed-off-by: Joe MacDonald &lt;joe_macdonald@mentor.com&gt;
</content>
</entry>
<entry>
<title>selinux-init: use systemd (re)labelling</title>
<updated>2019-08-28T14:28:06+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2019-08-23T18:19:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=b0d31db104d9a4e94bc1409c2ffcc1d82f4a780f'/>
<id>urn:sha1:b0d31db104d9a4e94bc1409c2ffcc1d82f4a780f</id>
<content type='text'>
Boot loops were being seen when booting with selinux enabled, when the
init system in use is systemd. Once logs were retrieved from the
failing system the error was found to be

selinux-init.sh[284]: /sbin/restorecon: Could not set context for /sys/fs/cgroup/cpuacct:  Read-only file system
selinux-init.sh[284]: /sbin/restorecon: Could not set context for /sys/fs/cgroup/cpu:  Read-only file system

Systemd mounts /sys/fs/cgroup read-only and the (re)labelling code
used by selinux-init.sh is unable to handle this. On top of this the
system is basically presenting two methods of (re)labelling; using the
built in systemd approach via selinux-autorelabel.service *and* the
code we have in selinux-init.sh. This can get confusing especially
given that most online resources will speak to the systemd approach
using selinux-autorelabel.service and /.autorelabel.

These changes leave the current approach in place when sysvinit is the
init system used, but if systemd is being used we make use of it's
internal (re)labelling functionality. Overall the workflow remains the
same but we now avoid boot loops (systemd remounts /sys/fs/cgroup rw
during the (re)labelling procedure).

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Joe MacDonald &lt;joe_macdonald@mentor.com&gt;
</content>
</entry>
<entry>
<title>selinux-sandbox: add runtime dependency on python-core</title>
<updated>2019-08-28T14:28:06+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2019-08-23T01:59:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=a41f48260654e0e444603c6a595444c450e6c3f5'/>
<id>urn:sha1:a41f48260654e0e444603c6a595444c450e6c3f5</id>
<content type='text'>
Fixes:
ERROR: QA Issue: /usr/share/sandbox/start contained in package selinux-sandbox requires /usr/bin/python,
    but no providers found in RDEPENDS_selinux-sandbox?  [file-rdeps]

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
Signed-off-by: Joe MacDonald &lt;joe_macdonald@mentor.com&gt;
</content>
</entry>
<entry>
<title>selinux-python: add python-core as runtime dependency</title>
<updated>2019-08-28T14:28:06+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2019-08-22T08:05:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=c1309380d7ea55b5f3f84b70156e4f6ed25818ab'/>
<id>urn:sha1:c1309380d7ea55b5f3f84b70156e4f6ed25818ab</id>
<content type='text'>
Fix QA issues:
QA Issue: /usr/lib64/python2.7/site-packages/seobject.py contained in package selinux-python requires /usr/bin/python,
   but no providers found in RDEPENDS_selinux-python? [file-rdeps]
QA Issue: /usr/bin/audit2allow contained in package selinux-python-audit2allow requires /usr/bin/python,
   but no providers found in RDEPENDS_selinux-python-audit2allow? [file-rdeps]
QA Issue: /usr/bin/chcat contained in package selinux-python-chcat requires /usr/bin/python,
   but no providers found in RDEPENDS_selinux-python-chcat? [file-rdeps]

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
Signed-off-by: Joe MacDonald &lt;joe_macdonald@mentor.com&gt;
</content>
</entry>
<entry>
<title>mcstrans: specify SBINDIR</title>
<updated>2019-08-28T14:26:52+00:00</updated>
<author>
<name>Joe Slater</name>
<email>joe.slater@windriver.com</email>
</author>
<published>2019-08-20T17:38:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=8c6eabaf8c012cdf007c834aae39daf8a8d45b41'/>
<id>urn:sha1:8c6eabaf8c012cdf007c834aae39daf8a8d45b41</id>
<content type='text'>
We need SBINDIR to be compatible with the usrmerge distro feature.
The update to version 2.8 (commit c55c0aca...) removed the definition,
perhaps because the "${D}/" prefix broke the build.

Signed-off-by: Joe Slater &lt;joe.slater@windriver.com&gt;
Signed-off-by: Joe MacDonald &lt;joe_macdonald@mentor.com&gt;
</content>
</entry>
<entry>
<title>libselinux: fix build with glibc 2.30</title>
<updated>2019-08-28T14:26:52+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2019-08-09T09:48:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=087fe5c8144c246c6361bd8bcbd1ffd9e9b675bb'/>
<id>urn:sha1:087fe5c8144c246c6361bd8bcbd1ffd9e9b675bb</id>
<content type='text'>
Fix build error:
procattr.c:27:14: error: static declaration of 'gettid' follows
non-static declaration
   27 | static pid_t gettid(void)
      |              ^~~~~~
In file included from /buildarea/build/tmp/work/core2-64-poky-linux/libselinux/2.8-r0/recipe-sysroot/usr/include/unistd.h:1170,
                 from procattr.c:2:
/buildarea/build/tmp/work/core2-64-poky-linux/libselinux/2.8-r0/recipe-sysroot/usr/include/bits/unistd_ext.h:34:16:
note: previous declaration of 'gettid' was here
   34 | extern __pid_t gettid (void) __THROW;
      |                ^~~~~~

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
Signed-off-by: Joe MacDonald &lt;joe_macdonald@mentor.com&gt;
</content>
</entry>
<entry>
<title>audit: use git fetcher instead of the tarball source</title>
<updated>2019-07-09T02:24:25+00:00</updated>
<author>
<name>Mingli Yu</name>
<email>Mingli.Yu@windriver.com</email>
</author>
<published>2019-07-05T07:51:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=8551ae099452a1e896f021d3a43a774fa3b30190'/>
<id>urn:sha1:8551ae099452a1e896f021d3a43a774fa3b30190</id>
<content type='text'>
Per http://people.redhat.com/sgrubb/audit/, the
tarball source moves to https://github.com/linux-audit/audit-userspace,
and since commit [21f84fc insane: add sanity checks to SRC_URI]
applied in oe-core, do not use unstable github archive
tarballs, so use git instead.

Signed-off-by: Mingli Yu &lt;Mingli.Yu@windriver.com&gt;
Signed-off-by: Joe MacDonald &lt;joe_macdonald@mentor.com&gt;
</content>
</entry>
</feed>
