[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2018-02-09 Thread Christian Brauner
** Changed in: lxc (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Title: lxc-attach crashed with SIGSEGV in get_pty_on_host() To manage

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-21 Thread Philipp
Did a fresh install, could it possibly be that the unity8-lxc package vanished from xenial? Because I don't know how to create the lxc container by hand. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-20 Thread Philipp
Yes. The ppa updated following packages: lxc1 amd64 2.0.0+master~20160415-1123-0ubuntu1~xenial python3-lxc amd64 2.0.0+master~20160415-1123-0ubuntu1~xenial liblxc1 amd64 2.0.0+master~20160415-1123-0ubuntu1~xenial lxc-common amd64 2.0.0+master~20160415-1123-0ubuntu1~xenial lxc-templates amd64 2.0.

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-20 Thread Serge Hallyn
Can you confirm that this still happens with ppa:ubuntu-lxc/daily? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Title: lxc-attach crashed with SIGSEGV in get_pty_on_host() To manage notifi

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-13 Thread Philipp
** Attachment added: "00-lxcfs.conf" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1567037/+attachment/4635931/+files/00-lxcfs.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Title

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-13 Thread Philipp
** Attachment added: "common.conf" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1567037/+attachment/4635932/+files/common.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Title:

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-13 Thread Philipp
There is no fstab. I did update my Ubuntu, reinstalled unity8-lxc and created a new lxc container. Now i get: # unity8-lxc-session lxc-attach: attach.c: lxc_attach: 730 failed to get the init pid /usr/bin/unity8-lxc-session: 30: /usr/bin/unity8-lxc-session: cannot create /proc//root/etc/passwd

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-13 Thread Philipp
** Attachment added: "ubuntu.common.conf" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1567037/+attachment/4635934/+files/ubuntu.common.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-13 Thread Philipp
** Attachment added: "unity8-lxc.conf" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1567037/+attachment/4635935/+files/unity8-lxc.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 T

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-13 Thread Philipp
** Attachment added: "config" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1567037/+attachment/4635933/+files/config -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Title: lxc-attach

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-11 Thread Serge Hallyn
No that should actually be ok, it's ../Zulu not ./Zulu. Could you show the contents of /var/lib/lxc/unity-lxc/config /var/lib/lxc/unity-lxc/fstab (I'll also be asking for contents of any files listed in lxc.include lines) ** No longer affects: tzdata (Ubuntu) -- You received this bug notifica

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-11 Thread Serge Hallyn
** Also affects: tzdata (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Title: lxc-attach crashed with SIGSEGV in get_pty_on_host() To man

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-11 Thread Philipp
# ls -l /etc/localtime -rw-r--r-- 1 root root 2335 Apr 10 23:13 /etc/localtime # ls -l /var/lib/lxc/unity8-lxc/rootfs/etc/localtime lrwxrwxrwx 1 root root 27 Apr 10 06:02 /var/lib/lxc/unity8-lxc/rootfs/etc/localtime -> /usr/share/zoneinfo/Etc/UTC # ls -l /usr/share/zoneinfo/Etc/UTC lrwxrwxrwx

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-11 Thread Serge Hallyn
Could you please show the results of: ls -l /etc/localtime ls -l /var/lib/lxc/unity8-lxc/rootfs/etc/localtime ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Title: lxc-attach crashed with

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-11 Thread Philipp
** Attachment added: "unity8-lxc.log" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1567037/+attachment/4633045/+files/unity8-lxc.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Tit

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-11 Thread Serge Hallyn
To be precise, the container name should be unity8-lxc. Please also show it's configuration file, and try lxc-ls -f lxc-start -n unity-lxc and if that fails, then lxc-start -n unity-lxc -F -l trace -o output and attach the file 'output' -- You received this bug notifica

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-10 Thread Christian Brauner
Hi, could you please attach the contents of the file /var/log/lxc/(container).log as Serge suggested. That would be great. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Title: lxc-attach cr

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-10 Thread Philipp
I did a fresh install of the latest daily build and still I am unable to log into the lxc session in from unity-greeter (same behaviour as before). But now there is no more popup if I want to report a bug. If I try 'sudo unity8-lxc-session' this happens: lxc-attach: attach.c: lxc_attach: 730 fa

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-07 Thread Christian Brauner
** Changed in: lxc (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Title: lxc-attach crashed with SIGSEGV in get_pty_on_host() To manage not

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-07 Thread Serge Hallyn
Hi, could you please attach the contents of the file /var/log/lxc/(container).log ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1567037 Title: lxc-attach crashed with SIGSEGV in get_pty_on_host()

[Bug 1567037] Re: lxc-attach crashed with SIGSEGV in get_pty_on_host()

2016-04-06 Thread Serge Hallyn
Thanks for reporting this bug. I haven't reproduced it, but marked it confirmed bc I see how it could happen. A simple fix would be to not dereference ts without checking for it to be NULL. The question is whether we should be doing more at console_create to not honor lxc.console during attach.