[Bug 1459751] Re: lxc-attach runs in wrong container directory

Serge Hallyn 1459751 at bugs.launchpad.net
Fri Jun 26 14:11:48 UTC 2015


Interestingly, while the programmatic attach (in the API) supports a
initial_cwd argument, the lxc-attach program does not.

The current logic is - if inital_cwd is specified, it is used.  Otherwise,
you are placed in your current directory if it exists, else container root.

It probably would be best to have lxc-attach place you in the user's
homedir on login, although it may be hard to make such a change now
without upsetting existing scripts.


** Changed in: lxc (Ubuntu)
       Status: New => Confirmed

** Changed in: lxc (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  lxc-attach runs in wrong container directory

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



More information about the Ubuntu-server-bugs mailing list