lxc template sshd won't start

Bug #1199146 reported by yitzhakbg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Pursuant to #1017862:
lxc package version: Version: 0.9.0.0~staging~20130708-1551-0ubuntu1~ppa1~raring1
Two comments:
1. Couldn't figure out how to attach 2 files, so sending the second one in a moment
2. Doesn't ask for passphrase
Here's what happens:

ybg@bgxtr:~/Media/Mininetry$ sudo lxc-create -n sshd -t sshd -l DEBUG -o sshd.log
Generating public/private rsa key pair.
Your identification has been saved in /usr/lib/x86_64-linux-gnu/lxc/etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /usr/lib/x86_64-linux-gnu/lxc/etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
5f:91:18:95:2b:05:f9:2f:ff:99:d9:ab:51:e9:a3:0f root@bgxtr
The key's randomart image is:
+--[ RSA 2048]----+
| o+.. |
| .oo. |
| .oo. |
| . o. .|
| S ... o |
| . .. + |
| . E o |
| = *|
| ooB+|
+-----------------+
Generating public/private dsa key pair.
Your identification has been saved in /usr/lib/x86_64-linux-gnu/lxc/etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /usr/lib/x86_64-linux-gnu/lxc/etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
65:ec:e2:ce:bd:47:37:9a:98:51:e0:2a:86:1b:97:48 root@bgxtr
The key's randomart image is:
+--[ DSA 1024]----+
| |
| .. |
| .+. |
| E +. . |
| . o .S... |
| + =.... . o |
| = .. = + . |
| . o .o + |
| o oo |
+-----------------+

ybg@bgxtr:~/Media/Mininetry$ sudo lxc-start -n sshd -l DEBUG -o sshd1.log
/bin/bash: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
lxc-start: No such file or directory - stat(/proc/18911/root/dev//console)

lxc-start: No such file or directory - stat(/proc/18680/root/dev//console)

Tags: lxc
Revision history for this message
yitzhakbg (yitzhakbg) wrote :
Revision history for this message
yitzhakbg (yitzhakbg) wrote :

Added the additional log file from lxc-start

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

This should be fixed by commit 18efb001a4498f8fc62ab37f1db552fdf001e798 upstream. That will be merged into saucy soon-ish.

Changed in lxc (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc - 1.0.0~alpha1-0ubuntu2

---------------
lxc (1.0.0~alpha1-0ubuntu2) saucy; urgency=low

  * Add allow-stderr to autopkgtst restrictions as the Ubuntu template
    uses policy-rc.d to disable some daemons and that causes a message to
    be printed on stderr when the service tries to start.
 -- Stephane Graber <email address hidden> Thu, 12 Sep 2013 13:57:17 -0400

Changed in lxc (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.