[Bug 1430557] Re: sbuild unmounted encrypted home directory

Brian Murray brian at ubuntu.com
Wed Mar 11 15:22:03 UTC 2015


This also happened when my cronjob to update my schroots ran e.g.:

for d in $(schroot -l | grep -- '^source:')
do
    echo $d
    schroot -q -c $d -u root --directory / -- sh -c 'apt-get -qq update && apt-get -y dist-upgrade && apt-get clean'
    #schroot -c $d -u root -- sh -c \
done

** Package changed: sbuild (Ubuntu) => schroot (Ubuntu)

** Summary changed:

- sbuild unmounted encrypted home directory
+ sbuild / schroot unmounted encrypted home directory

-- 
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:
  New

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