[lxc-users] lxc-fedora template

Michael H. Warfield mhw at WittsEnd.com
Thu Jun 5 00:22:40 UTC 2014


On Thu, 2014-06-05 at 01:49 +0200, István Király wrote:
> The template displays the password at creation, and its not root:root.
> Username is root, but password is something like
> Root-Containername-randompass ... 

That's still not going to work due to the kernel configuration bug I
posted before.

https://bugzilla.redhat.com/show_bug.cgi?id=1002914

To work around you'll have to comment out all the the lines in all the
pam.d files in the contain that refer to "pam_loginuid.so" or NO
password is going to work.  This is a known problem with containers
built from LXC 0.9.0 in Fedora 18, 19, and 20 with some kernel versions,
though the bug report indicates up-to-date versions of the kernel will
work.  No amount of password changes or guesses will work around this
problem.

Regards,
Mike
> 
> On Wed, Jun 4, 2014 at 11:44 PM, Dmitry Kolesov <apolenary at gmail.com>
> wrote:
>         Hi,
>         
>         
>         Yes, The first I tried to use root:root and then I changed the
>         root's password.
>         But always I have message "Login incorrect" on login.
>         
>         
>         Regards,
>         Dmitry
>         
>         
>         2014-06-05 2:43 GMT
>         +11:00 <lxc-users-request at lists.linuxcontainers.org>:
>                 Hi, ..
>                 
>                 
>                 Do you try to login as root? With the password
>                 generated by the template?
>                 
>                 
>                 On Wed, Jun 4, 2014 at 5:10 PM, Dmitry
>                 Kolesov <apolenary at gmail.com> wrote:
>                         Hello,
>                         
>                         
>                         I created container from lxc-fedora template.
>                         My operation system is Fedora 20.
>                         The kernel is 3.14.0 x86_64. 
>                         When I start conteiner there is one fail
>                         message: 
>                          [FAILED] Failed to set up automount Arbitrary
>                         Executable File...utomount Point.
>                         All another messages are "OK".
>                         But when I try to login into I have message:
>                         "Login incorrect".
>                         I tryed to chroot into rootfs directory and I
>                         have changed root's password.
>                         But I always have this message: "Login
>                         incorrect".
>                         SELinux is disabled in my main OS.
>                         Could somebody help me to login into?
>                         
>                         
>                         Regards,
>                         Dmitry
>                 
>         
>         _______________________________________________
>         lxc-users mailing list
>         lxc-users at lists.linuxcontainers.org
>         http://lists.linuxcontainers.org/listinfo/lxc-users
> 
> 
> 
> 
> -- 
> Király István
> +36 209 753 758
> LaKing at D250.hu
> 
> 
> 
> -- 
> This message has been scanned for viruses and 
> dangerous content by MailScanner, and is 
> believed to be clean. 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140604/3dccb530/attachment.sig>


More information about the lxc-users mailing list