commit:     bbfc31dfa14baf5547ef2576193ae8c912b609b7
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 13:42:42 2019 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 13:43:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbfc31df

sys-apps/systemd: add warning about failing tests with pid-sandbox

Bug: https://bugs.gentoo.org/674458
Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-apps/systemd/systemd-241-r1.ebuild | 5 +++++
 sys-apps/systemd/systemd-242.ebuild    | 5 +++++
 sys-apps/systemd/systemd-9999.ebuild   | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/sys-apps/systemd/systemd-241-r1.ebuild 
b/sys-apps/systemd/systemd-241-r1.ebuild
index 371117a954a..c782cd8c385 100644
--- a/sys-apps/systemd/systemd-241-r1.ebuild
+++ b/sys-apps/systemd/systemd-241-r1.ebuild
@@ -110,6 +110,11 @@ BDEPEND="
 
 pkg_pretend() {
        if [[ ${MERGE_TYPE} != buildonly ]]; then
+               if use test && has pid-sandbox ${FEATURES}; then
+                       ewarn "Tests are known to fail with PID sandboxing 
enabled."
+                       ewarn "See https://bugs.gentoo.org/674458.";
+               fi
+
                local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS
                        ~CHECKPOINT_RESTORE ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE
                        ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD 
~SYSFS

diff --git a/sys-apps/systemd/systemd-242.ebuild 
b/sys-apps/systemd/systemd-242.ebuild
index 9c4d9d338b2..73fc227ea9e 100644
--- a/sys-apps/systemd/systemd-242.ebuild
+++ b/sys-apps/systemd/systemd-242.ebuild
@@ -114,6 +114,11 @@ BDEPEND="
 
 pkg_pretend() {
        if [[ ${MERGE_TYPE} != buildonly ]]; then
+               if use test && has pid-sandbox ${FEATURES}; then
+                       ewarn "Tests are known to fail with PID sandboxing 
enabled."
+                       ewarn "See https://bugs.gentoo.org/674458.";
+               fi
+
                local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS
                        ~CHECKPOINT_RESTORE ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE
                        ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD 
~SYSFS

diff --git a/sys-apps/systemd/systemd-9999.ebuild 
b/sys-apps/systemd/systemd-9999.ebuild
index 9c4d9d338b2..73fc227ea9e 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -114,6 +114,11 @@ BDEPEND="
 
 pkg_pretend() {
        if [[ ${MERGE_TYPE} != buildonly ]]; then
+               if use test && has pid-sandbox ${FEATURES}; then
+                       ewarn "Tests are known to fail with PID sandboxing 
enabled."
+                       ewarn "See https://bugs.gentoo.org/674458.";
+               fi
+
                local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS
                        ~CHECKPOINT_RESTORE ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE
                        ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD 
~SYSFS

Reply via email to