I don't think we can change this behavior since too many users might
rely on this.

** Changed in: lxc (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1459751

Title:
  lxc-attach runs in wrong container directory

Status in lxc package in Ubuntu:
  Won't Fix

Bug description:
  net8-rmt# lxc-attach -n test -- bash -c 'id && egrep ^root /etc/passwd && 
echo ~ && echo $HOME && pwd'
  uid=0(root) gid=0(root) groups=0(root)
  root:x:0:0:root:/root:/bin/bash
  /root
  /root
  /

  Notice pwd show / instead of /root which is incorrect + causes all
  manner of confusion when debugging path related problems.

  net8-rmt# uname -a
  Linux ns515383.ip-167-114-159.net 3.19.0-18-generic #18-Ubuntu SMP Tue May 19 
18:31:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

  net8-rmt# lsb_release -a
  No LSB modules are available.
  Distributor ID:       Ubuntu
  Description:  Ubuntu 15.04
  Release:      15.04
  Codename:     vivid

  Same behavior with containers created with precise through wily
  releases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1459751/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to