[Bug 1430557] Re: sbuild / schroot unmounted encrypted home directory
Launchpad Bug Tracker
1430557 at bugs.launchpad.net
Mon Feb 1 19:02:53 UTC 2016
This bug was fixed in the package schroot - 1.6.10-1ubuntu3
---------------
schroot (1.6.10-1ubuntu3) xenial; urgency=medium
* Add mount-make-bind-mounts-private.patch: Make bind mounts use private
mount propagation, to avoid recursive bind mounts in the schroot spilling
over into the host and unmounting them on the host when tearing down the
schroot. Patch by Tyler Hicks, thank you! (LP: #1430557, Closes: #786566)
-- Martin Pitt <martin.pitt at ubuntu.com> Mon, 01 Feb 2016 16:11:09
+0100
** Changed in: schroot (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to schroot in Ubuntu.
https://bugs.launchpad.net/bugs/1430557
Title:
sbuild / schroot unmounted encrypted home directory
Status in schroot package in Ubuntu:
Fix Released
Status in schroot package in Debian:
Confirmed
Bug description:
After the switch to systemd, sbuild has begun unmounting my encrypted
home directory during any build process.
Here is some of my syslog from around when it happened:
Mar 10 15:07:17 impulse schroot[6083]: [vivid-amd64-26be0faa-a54b-4d51-b128-8598be2736fa chroot] (bdmurray->root) Running command: "chown bdmurray:sbuild /build/tvtime-36lAxv/resolver-knYuU0/apt_archive"
Mar 10 15:07:17 impulse schroot[6123]: [vivid-amd64-26be0faa-a54b-4d51-b128-8598be2736fa chroot] (bdmurray->root) Running command: "chmod 0644 /tmp/hf70DNg1s0"
Mar 10 15:07:17 impulse schroot[6125]: [vivid-amd64-26be0faa-a54b-4d51-b128-8598be2736fa chroot] (bdmurray->root) Running command: "mv /tmp/hf70DNg1s0 /etc/apt/sources.list.d/sbuild-build-depends-archive.list"
Mar 10 15:07:17 impulse schroot[6127]: [vivid-amd64-26be0faa-a54b-4d51-b128-8598be2736fa chroot] (bdmurray->root) Running command: "apt-key add /build/tvtime-36lAxv/resolver-knYuU0/apt_archive/sbuild-key.pub"
Mar 10 15:07:17 impulse schroot[6154]: [vivid-amd64-26be0faa-a54b-4d51-b128-8598be2736fa chroot] (bdmurray->root) Running command: "apt-get update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/sbuild-build-depends-archive.list -o Dir::Etc::sourceparts=/build/tvtime-36lAxv/resolver-knYuU0/sources.list.d --no-list-cleanup"
Mar 10 15:07:17 impulse schroot[6166]: [vivid-amd64-26be0faa-a54b-4d51-b128-8598be2736fa chroot] (bdmurray->root) Running command: "apt-cache gencaches"
Mar 10 15:07:18 impulse schroot[6173]: [vivid-amd64-26be0faa-a54b-4d51-b128-8598be2736fa chroot] (bdmurray->root) Running command: "apt-get --purge -o DPkg::Options::=--force-confold -o DPkg::Options::=--refuse-remove-essential -o APT::Install-Recommends=false -q -yf install sbuild-build-depends-tvtime-dummy"
Mar 10 15:07:26 impulse gnome-session[3166]: (update-notifier:3896): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
Mar 10 15:07:26 impulse gnome-session[3166]: (update-notifier:3896): GLib-GObject-WARNING **: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
Mar 10 15:07:26 impulse gnome-session[3166]: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Mar 10 15:07:26 impulse com.ubuntu.OneConf[3010]: WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/bdmurray/.cache/oneconf/4266e6fa9940e26744fc563b50f6c63b/other_hosts'
Mar 10 15:07:38 impulse gnome-session[3166]: ConfigBase::load: Unable to open /home/bdmurray/.config/terminator/config ([Errno 2] No such file or directory: '/home/bdmurray/.config/terminator/config')
Mar 10 15:07:38 impulse gnome-session[3166]: (x-terminal-emulator:7566): GnomeUI-WARNING **: While connecting to session manager:
Mar 10 15:07:38 impulse gnome-session[3166]: None of the authentication protocols specified are supported.
Mar 10 15:07:38 impulse gnome-session[3166]: (x-terminal-emulator:7566): GnomeUI-WARNING **: While connecting to session manager:
Mar 10 15:07:38 impulse gnome-session[3166]: None of the authentication protocols specified are supported.
Mar 10 15:07:38 impulse gnome-session[3166]: /usr/share/terminator/terminatorlib/window.py:63: Warning: The property GtkWindow:allow-shrink is deprecated and shouldn't be used anymore. It will be removed in a future version.
Mar 10 15:07:38 impulse gnome-session[3166]: self.set_property('allow-shrink', True)
Mar 10 15:07:38 impulse gnome-session[3166]: ** (x-terminal-emulator:7566): WARNING **: Binding '<Shift><Control><Alt>a' failed!
Mar 10 15:07:38 impulse gnome-session[3166]: Unable to bind hide_window key, another instance/window has it.
Mar 10 15:07:39 impulse schroot[7881]: [vivid-amd64-26be0faa-a54b-4d51-b128-8598be2736fa chroot] (bdmurray->root) Running command: "rm -f /etc/apt/sources.list.d/sbuild-build-depends-archive.list"
Mar 10 15:07:40 impulse org.gnome.zeitgeist.SimpleIndexer[3010]: ** (zeitgeist-fts:3613): WARNING **: Unable to get info on application:///home/bdmurray/.config/gnome-session/saved-session/compiz.desktop
Mar 10 15:07:40 impulse org.gnome.zeitgeist.SimpleIndexer[3010]: ** (zeitgeist-fts:3613): WARNING **: Failed to commit changes: Modifications failed (DatabaseOpeningError: Couldn't open base /home/bdmurray/.local/share/zeitgeist/fts.index/postlist.tmp to write: No such file or directory), and cannot set consistent table revision numbers: Couldn't reread base B
Notice the failure of applications to access /home/bdmurray anymore.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/schroot/+bug/1430557/+subscriptions
More information about the foundations-bugs
mailing list