<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/recipes-support/daemontools, branch hardknott-next</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=hardknott-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=hardknott-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2020-04-25T15:32:42+00:00</updated>
<entry>
<title>daemontools: use u-a for /usr/bin/svc and /usr/bin/svok</title>
<updated>2020-04-25T15:32:42+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2020-04-24T09:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=b3013a0bc9e4c9c0ee5a1cb6fce6a458fbcf1478'/>
<id>urn:sha1:b3013a0bc9e4c9c0ee5a1cb6fce6a458fbcf1478</id>
<content type='text'>
* busybox provides the same, causing busybox postinst to fail when both packages
  are installed in the same image:
  update-alternatives: Error: not linking rootfs/usr/bin/svc to /usr/bin/busybox.nosuid since rootfs/usr/bin/svc exists and is not a link
  update-alternatives: Error: not linking rootfs/usr/bin/svok to /usr/bin/busybox.nosuid since rootfs/usr/bin/svok exists and is not a link

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>daemontools: remove native BBCLASSEXTEND</title>
<updated>2020-03-07T01:23:54+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2020-03-06T17:36:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=088ca6035626ad6f38515bad963a84cf266bb169'/>
<id>urn:sha1:088ca6035626ad6f38515bad963a84cf266bb169</id>
<content type='text'>
* it was used only to provide chkshsgr which is now replaced with no-op call
  since
  commit 50d526d06a742fa69ff698d7c2eefffb56e13afa
  Author: Khem Raj &lt;raj.khem@gmail.com&gt;
  Date:   Tue Jan 28 11:28:52 2020 -0800

    daemontools: Disable the chkshsgr tests

    Running the chkhsgr test during cross compile fails

    ./chkshsgr || ( cat warn-shsgr; exit 1 )
    Oops. Your getgroups() returned 0, and setgroups() failed; this means
    that I can't reliably do my shsgr test. Please either ``make'' as root
    or ``make'' while you're in one or more supplementary groups.

    All OE based targets have working getgroups()/setgroups()
    implementation, so its a safe assumption and therefore make the test
    to be a dummy

* the native chkshsgr from daemontools-native was actually being
  called only because of this chunk of cross-compile.patch:
  -       ./chkshsgr || ( cat warn-shsgr; exit 1 )
  +       chkshsgr || ( cat warn-shsgr; exit 1 )
  but all chkshsgr does is:
    short x[4];
    x[0] = x[1] = 0;
    if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
    _exit(0);
  which running on host system, doesn't say anything useful about the
  cross compile target, so it's easier to just remove the call in
  cross-compile.patch and simplify all this nonsense

* I came across this because daemontools-native was failing for me
  in "bitbake world" with zeus, which might be the same case as what
  Khem was seeing - just the final commit message doesn't reflect that

* daemontools-native fails to build without the above commit in
  zeus as well, when building inside docker container where my
  build user is in fewer groups (just 1) so the
  getgroups(1,x) call doesn't fail, but on more average OS the
  user will be in more than 4 groups and
  getgroups(1,x) would fail with errno 22 EINVAL
    - so setgroups isn't even called to return 1 error when chkshsgr is called
  http://man7.org/linux/man-pages/man2/setgroups.2.html
    If the calling process is a member of more than size
    supplementary groups, then an error results.
  if I increase the size of x enough for x to hold all groups, then setgroups
  will fail with errno 1 EPERM, which is the same error as shown
  under docker container where getgroups doesn't fail, because
  in both cases I'm using unprivileged user for builds

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>daemontools: Disable the chkshsgr tests</title>
<updated>2020-01-28T19:31:04+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-01-28T19:28:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=50d526d06a742fa69ff698d7c2eefffb56e13afa'/>
<id>urn:sha1:50d526d06a742fa69ff698d7c2eefffb56e13afa</id>
<content type='text'>
Running the chkhsgr test during cross compile fails

./chkshsgr || ( cat warn-shsgr; exit 1 )
Oops. Your getgroups() returned 0, and setgroups() failed; this means
that I can't reliably do my shsgr test. Please either ``make'' as root
or ``make'' while you're in one or more supplementary groups.

All OE based targets have working getgroups()/setgroups()
implementation, so its a safe assumption and therefore make the test
to be a dummy

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove bogus COMMON_LICENSE_DIR usage in LIC_FILES_CHKSUM</title>
<updated>2019-08-30T16:27:57+00:00</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2019-08-30T15:50:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=31a55b947d077c9ad9b61f30bf616ca32c425192'/>
<id>urn:sha1:31a55b947d077c9ad9b61f30bf616ca32c425192</id>
<content type='text'>
Using COMMON_LICENSE_DIR in LIC_FILES_CHKSUM of downloaded
code is never the right thing to do, there must be some
license information and that has to be checked instead.

In several cases the claimed LICENSE was also incorrect.

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>daemontools: Add HOMEPAGE info into recipe file.</title>
<updated>2017-09-18T08:18:11+00:00</updated>
<author>
<name>Bian Yaqin</name>
<email>bianyq@cn.fujitsu.com</email>
</author>
<published>2017-09-14T02:03:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=1c4e608b1159584b61a492bc8aadae28706fd6a2'/>
<id>urn:sha1:1c4e608b1159584b61a492bc8aadae28706fd6a2</id>
<content type='text'>
Signed-off-by: Bian Yaqin &lt;bianyq@cn.fujitsu.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>daemontools: fix QA Issues for daemontools and fix a warning for daemontools-native</title>
<updated>2016-08-08T11:54:05+00:00</updated>
<author>
<name>leimaohui</name>
<email>leimaohui@cn.fujitsu.com</email>
</author>
<published>2016-08-05T17:40:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=fdb1bbe2e6f8fabafa326d7e0d63e601c09a8915'/>
<id>urn:sha1:fdb1bbe2e6f8fabafa326d7e0d63e601c09a8915</id>
<content type='text'>
Signed-off-by: Lei Maohui &lt;leimaohui@cn.fujitsu.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>recipes: use class-native instead of deprecated virtclass-native.</title>
<updated>2015-08-24T11:58:19+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2015-08-13T10:51:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=c2cea10597ed1b843e00aa5ecedfd6005c7d7799'/>
<id>urn:sha1:c2cea10597ed1b843e00aa5ecedfd6005c7d7799</id>
<content type='text'>
virtclass overrides are deprecated, so use class overrides instead.

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
</entry>
<entry>
<title>daemontools: add recipe</title>
<updated>2014-12-09T10:34:43+00:00</updated>
<author>
<name>Bian Naimeng</name>
<email>biannm@cn.fujitsu.com</email>
</author>
<published>2014-11-28T08:49:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=33a4ac85a6f611204a46b5c6bdd5fe9c157b75ab'/>
<id>urn:sha1:33a4ac85a6f611204a46b5c6bdd5fe9c157b75ab</id>
<content type='text'>
daemontools is a collection of tools for managing UNIX services.

Though daemontools is a very old tool, but it still supported by some
distro such as ubuntu(trusty 14.04LTS).

Signed-off-by: Bian Naimeng &lt;biannm@cn.fujitsu.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
</feed>
