Package: schroot
Version: 1.6.10-2
Severity: minor
Tags: upstream patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

the location of the “machine ID” apparently changed from
/var/lib/dbus/machine-id to /etc/machine-id. The former is bind mounted
into the chroot whereas the latter is newly generated (somewhat related:
#745876) inside the chroot. This causes dbus to not find its socket (or
so, I don’t fully understand that FDO magic either), in turn breaking
PulseAudio (related: #675788).

I have attached a patch that includes /etc/machine-id in the copyfiles
template for all desktop architectures (since /var/lib/dbus is bind
mounted by default there and it’s a regression).

Sebastian

- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages schroot depends on:
ii  libboost-filesystem1.58.0       1.58.0+dfsg-3.1
ii  libboost-iostreams1.58.0        1.58.0+dfsg-3.1
ii  libboost-program-options1.58.0  1.58.0+dfsg-3.1
ii  libboost-system1.58.0           1.58.0+dfsg-3.1
ii  libc6                           2.19-22
ii  libgcc1                         1:5.2.1-22
ii  libpam0g                        1.1.8-3.1
ii  libstdc++6                      5.2.1-22
ii  libuuid1                        2.27-3
ii  schroot-common                  1.6.10-2

schroot recommends no packages.

Versions of packages schroot suggests:
ii  aufs-tools        1:3.2+20130722-1.1
pn  btrfs-tools       <none>
ii  debootstrap       1.0.72
ii  lvm2              2.02.127-1
pn  qemu-user-static  <none>

- -- Configuration Files:
/etc/schroot/schroot.conf changed [not included]

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVkhjHfhx3EthBlqjAQgm/Q/+M0NDGAnTXTefbYhy+oRqZgKjqtkvQ3n/
OTv1oUSzk4Frf/vXGgRIaQqlLMwMepGbxWHWRE1VTXx+FLfil9j1e3TogO56xSry
yHoizHPqWrvY62dYd6lX6HyFsnoaxf8cLSW0zWNvjhAF9xdepsAdUqZCq8JohBx6
PtpRe/SCx183tdcQexUQYkAG578Iq49N6X69LdHqFCW8jChtjvawlRI87EipaGnW
yYw5b4PCKFPW8ZjXolMoo5Zcu+iadvV5yosFInurvyMKkLY7jza89MH6eKtzT5yj
Tl8tl9VXB3/sKaETfV5/gS6FLDJ7GVD3W79tYT8osios4Twt56cNmbDp6NvdED+s
YDyeNQJL8N1zDSn/QHPig+EeGp1dUmTJi6LU/5rumh6qi6Tixy+QWKsoiUxQqMh/
Dm6wAAmGKCKZE9W/IZl7qZBwhFhHY9rfTgqM1OeSKOcY4Rg29bBELWYGNBJMtULV
MXu3Oc3euP3NfLTgPp96Odfbithl84ge0n//P2+6ei46mLXWTzEetjEPGqbJQNiu
SDuL9ykCsOPIVkXdzoqqsBi7tEWKTiapIGrSOC8vBIMntdkdLETRE2bQ+6eWVCQ6
cxhsDQIeJli2EKWZnZQhD1AwtFWYEoPMfZ7VFKGlWOcHHOF6NPw1hMNtadz1KiAj
qVeoRBUeeoQ=
=Y3Gs
-----END PGP SIGNATURE-----
>From b152198854930f4d634cf96a98cfc389a533580a Mon Sep 17 00:00:00 2001
From: Sebastian Schmidt <y...@yath.de>
Date: Sun, 15 Nov 2015 11:32:29 +0100
Subject: [PATCH] Copy /etc/machine-id in desktop profile

/etc/machine-id used to be called /var/lib/dbus/machine-id[1] which is
bind-mounted on desktop systems. This commit adds /etc/machine-id to the
desktop/all copyfiles template to make things work again.

1: <http://www.freedesktop.org/software/systemd/man/machine-id.html#History>
---
 etc/profile-templates/desktop/all/copyfiles | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 etc/profile-templates/desktop/all/copyfiles

diff --git a/etc/profile-templates/desktop/all/copyfiles b/etc/profile-templates/desktop/all/copyfiles
new file mode 100644
index 0000000..dab65ce
--- /dev/null
+++ b/etc/profile-templates/desktop/all/copyfiles
@@ -0,0 +1,5 @@
+# Files to copy into the chroot from the host system.
+#
+# <source and destination>
+/etc/resolv.conf
+/etc/machine-id
-- 
2.6.1

Reply via email to