The following commit, merged upstream:

----

commit ba7caf4
Author: Valentin Vidic <vvi...@debian.org>
Date:   Sat Nov 23 12:44:23 2019

    debian/tests: make the corosync test skippable

diff --git a/debian/tests/control b/debian/tests/control
index 4257fe9..3a1ef7f 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,7 +1,7 @@
 Tests: help

 Depends: @, corosync
-Restrictions: needs-root, isolation-machine
+Restrictions: needs-root, isolation-container, skippable
 Tests: corosync

 Depends: @, pacemaker-remote
diff --git a/debian/tests/corosync b/debian/tests/corosync
index dacb3b1..e0726b0 100755
--- a/debian/tests/corosync
+++ b/debian/tests/corosync
@@ -2,6 +2,12 @@

 set -e

+# https://bugs.launchpad.net/bugs/1828228
+ulimit -H -l unlimited 2>/dev/null || {
+        echo "test disabled for unprivileged namespaces"
+        exit 77
+}
+
 sed -i 's/\/dev\/watchdog/\/dev\/null/' /etc/default/sbd
 service corosync restart
 sleep 5

----

Allows this package to be a sync again (as demonstrated in the merge
proposal just for review purposes).

** Merge proposal linked:
   
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/sbd/+git/sbd/+merge/379606

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864142

Title:
  Package: sbd (debian: 1.4.1-3, ubuntu: 1.4.0-18-g5e3283c-1ubuntu1)
  needs merge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sbd/+bug/1864142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to