Your message dated Tue, 04 Dec 2018 20:59:56 +0000
with message-id <[email protected]>
and subject line Bug#908092: fixed in dbus 1.12.12-1
has caused the Debian Bug report #908092,
regarding dbus: skip autopkgtest ulimit test when in a container
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
908092: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908092
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dbus
Version: 1.12.10-1
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu cosmic ubuntu-patch
Dear maintainers,
After merging dbus 1.12.10-1 from Debian into Ubuntu, the autopkgtests were
failing on armhf:
[...]
# our RLIMIT_NOFILE: rlim_cur: 1024, rlim_max: 1024
# dbus-daemon's RLIMIT_NOFILE: rlim_cur: 1024, rlim_max: 1024
Bail out! ERROR:../../../test/dbus-daemon.c:2085:test_fd_limit: assertion fa
iled (lim.rlim_cur >= DESIRED_RLIMIT): (1024 >= 65536)
/tmp/autopkgtest.GG6gs6/build.iea/src/debian/tests/root: line 28: 638 Aborted
$timeout $t --tap
[...]
autopkgtest [20:05:11]: test root: -----------------------]
autopkgtest [20:05:14]: test root: - - - - - - - - - - results - - - - - - - -
- -
root FAIL non-zero exit status 1
(https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-cosmic/cosmic/armhf/d/dbus/20180905_201152_67b80@/log.gz)
This is because armhf is the single architecture on which Ubuntu runs its
autopkgtests in containers rather than in VMs, and these are unprivileged
containers, which means "root" processes don't actually have the
capabilities necessary to re-raise limits after they've been lowered.
I've uploaded the attached patch to Ubuntu in order to have passing tests
again on armhf. I'm not sure if you would consider it sufficiently correct
for Debian, since this means we're also skipping this test on privileged
containers, but I guess it should be a starting point for discussion.
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
[email protected] [email protected]
diff -Nru dbus-1.12.10/debian/tests/root dbus-1.12.10/debian/tests/root
--- dbus-1.12.10/debian/tests/root 2018-08-03 03:18:18.000000000 -0700
+++ dbus-1.12.10/debian/tests/root 2018-09-05 20:56:03.000000000 -0700
@@ -35,9 +35,14 @@
echo "x" > "$AUTOPKGTEST_TMP/result"
(
set +e
- # One test needs us to have a small fd limit
- ulimit -S -n 1024
- ulimit -H -n 1024
+ # Don't change limits in containers, as we're not guaranteed to be
+ # able to re-raise them due to unprivileged containers. This test
+ # will be auto-skipped instead.
+ if ! grep -q container= /proc/1/environ; then
+ # One test needs us to have a small fd limit
+ ulimit -S -n 1024
+ ulimit -H -n 1024
+ fi
$timeout $t --tap
echo "$?" > "$AUTOPKGTEST_TMP/result"
) | sed 's/^/ /'
--- End Message ---
--- Begin Message ---
Source: dbus
Source-Version: 1.12.12-1
We believe that the bug you reported is fixed in the latest version of
dbus, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <[email protected]> (supplier of updated dbus package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 04 Dec 2018 15:58:18 +0000
Source: dbus
Binary: dbus dbus-1-doc dbus-tests dbus-udeb dbus-user-session dbus-x11
libdbus-1-3 libdbus-1-3-udeb libdbus-1-dev
Architecture: source
Version: 1.12.12-1
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Description:
dbus - simple interprocess messaging system (daemon and utilities)
dbus-1-doc - simple interprocess messaging system (documentation)
dbus-tests - simple interprocess messaging system (test infrastructure)
dbus-udeb - simple interprocess messaging system (minimal runtime) (udeb)
dbus-user-session - simple interprocess messaging system (systemd --user
integration)
dbus-x11 - simple interprocess messaging system (X11 deps)
libdbus-1-3 - simple interprocess messaging system (library)
libdbus-1-3-udeb - simple interprocess messaging system (minimal library)
(udeb)
libdbus-1-dev - simple interprocess messaging system (development headers)
Closes: 908092
Changes:
dbus (1.12.12-1) unstable; urgency=medium
.
[ Ritesh Raj Sarraf ]
* Explicitly set session and test socket directory to /tmp, instead
of using a (possibly non-standard) TMPDIR
.
[ Simon McVittie ]
* New upstream stable release
* d/tests/build: Mark as superficial (see #904979)
* d/tests/build: Comment why we don't test or support static linking
here (it's because libsystemd doesn't)
* Standards-Version: 4.2.1 (no changes required)
* d/p/dbus-daemon-test-Don-t-test-fd-limits-if-in-an-unprivileg.patch:
Add proposed patch to skip fd limit tests if we are uid 0 but do not
have CAP_SYS_RESOURCE (Closes: #908092)
* dbus: Drop dependency on lsb-base. It is only needed when booting
with sysvinit and initscripts, but initscripts already Depends on
lsb-base (see #864999).
* dbus: Add Provides: dbus-system-bus and Provides: dbus-bin.
This provides a way to split the package in a later Debian version
or in derivatives. dbus-system-bus represents the well-known system
bus facility (/lib/systemd/system/dbus.service and /etc/init.d/dbus),
while dbus-bin represents the availability of executables like
dbus-daemon and dbus-send.
* d/tests/system-bus: Add a smoke-test for the system bus
Checksums-Sha1:
6e02f6f186dd631f36927ed5cb717ba235378c5c 3752 dbus_1.12.12-1.dsc
ff61dc5bb7e3b4dd86444f4a72fb54378edc54fa 2077301 dbus_1.12.12.orig.tar.gz
1d9369329003c250128e61ea747cc426c533ee92 833 dbus_1.12.12.orig.tar.gz.asc
5c910612cc50f8566fff0b824cd1135c523f39ea 63408 dbus_1.12.12-1.debian.tar.xz
9b714c6206e2ddd7f86d7566fe63d2638d8b6d40 6970 dbus_1.12.12-1_source.buildinfo
Checksums-Sha256:
46b028cd317ba9eb19f602c602a6c0cb0c2d7af630bd5bf202c1d22a7114c636 3752
dbus_1.12.12-1.dsc
9546f226011a1e5d9d77245fe5549ef25af4694053189d624d0d6ac127ecf5f8 2077301
dbus_1.12.12.orig.tar.gz
aae64ece92ef2bcf17178d10131bea250a034c74606716f40d107e84cfe2c971 833
dbus_1.12.12.orig.tar.gz.asc
0e76a5e89db264b49f5ce83fb2b3c4de5e634c556452aa4b9d92a9552f246a97 63408
dbus_1.12.12-1.debian.tar.xz
a166cae22b257db827f09d5d235682878d1d153c7852a5b1e48a9f2972b158d9 6970
dbus_1.12.12-1_source.buildinfo
Files:
7df71c3c17f5ab2a3437e4c60042fdea 3752 admin optional dbus_1.12.12-1.dsc
ea11069521beeee4e47f0086596a43c8 2077301 admin optional
dbus_1.12.12.orig.tar.gz
de3b8ec923f1afa6a04bd623cb6c622e 833 admin optional
dbus_1.12.12.orig.tar.gz.asc
ad9ade7574f7d5cc4fbe9b30e6376a4a 63408 admin optional
dbus_1.12.12-1.debian.tar.xz
9d25edd40d63248c8383f54e056c445c 6970 admin optional
dbus_1.12.12-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAlwG5eEACgkQ4FrhR4+B
TE+fSA/+MVg70yylDix7r0sbV/kNlBKczyS12nmI1aFNsjjGdG9r7o4+c9l/yKTM
kyyu5jOUPBZIE83aIVlyHx10gKc/Xx0PhAONJ2LUwVbbDQTrJEGjhmWShMtEz5p9
QK+0HULnwCybVasjmN1KbKl6YyMtrQsrWA97XyHIKa21dNR0F7XSL8vrHxMtulFy
YOorl5epu3XnLCHBFa2RG+FK/qPZ5c9l7FplnvPTc0TjybCyy3GS7k1PxSEGTIA7
yOZdZoc7VYf1yTHLV0doXm37cHUTw86wP0t1bRmgQM67uE9PCy4DFO/2cR9qVQoZ
RNCFBU3KCgLsWLyoAnG+5pM6QJOklJ47rSfdr3EPjlmP50M/vzu9l0yRHqvp6Ues
a4dJwINdE+SiuFx+p4QtzWd9KJ1FHXIEX0p45wt6FzLcR32djBUYIqmBxWISqvxW
Xj2iQ2nrag3lMuwe4pOFHbOv1bjWL2vIFmtlHQ5akQvGToZNLXQsndjScHo9YXM5
N/rQt6BGGV5HahZQMqpsRxOSr+Qx6H3aobFD9UIM88dhO2V+ttLyBL+FQ3X20HU5
0gIffLX1gHMF6zZS3Tqp5ClBiltf7Czli6YzZqYL8GSSeqcpO6BKycK0au1o+GFy
0Fk9QWH7S2N6mRZsEFXEpuAYvsvyHIf1B9vxV77iJ59cWe3QKEs=
=8lTH
-----END PGP SIGNATURE-----
--- End Message ---