[lxc-devel] [lxc/lxc] 8c9c2c: lxclock: fall back to /tmp if xdg_rundir is not wr...

GitHub noreply at github.com
Tue Jan 7 14:22:57 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 8c9c2c6d74febddc8c36bca3b1c57235bb26d228
      https://github.com/lxc/lxc/commit/8c9c2c6d74febddc8c36bca3b1c57235bb26d228
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-07 (Tue, 07 Jan 2014)

  Changed paths:
    M src/lxc/lxclock.c

  Log Message:
  -----------
  lxclock: fall back to /tmp if xdg_rundir is not writeable

This happens for instance if you run a test under sudo which
then runs lxc commands under 'su - <someuser>'

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list