Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why is getty "inactive" (was: No login prompt in cloned container)

User12609245-OracleOct 19 2015 — edited Oct 28 2015

SOLVED: I used "yum update lxc" to update the LXC packages and now everything works.

Fred

----- Previously I said:

I was able to connect to my container using "lxc-attach" and I ran this:

# systemctl status console-getty.service

console-getty.service - Console Getty

   Loaded: loaded (/usr/lib/systemd/system/console-getty.service; enabled)

   Active: inactive (dead)

     Docs: man:agetty(8)

Oct 20 12:08:13 w5c-srvr01 systemd[1]: Stopped Console Getty.

Oct 20 12:15:01 w5c-srvr01 systemd[1]: Stopped Console Getty.

I tried restarting it but it times out saying this:

# systemctl start console-getty.service

Job for console-getty.service canceled.

When I check the status again, the result is the same.

Why is getty not working on my container?

Fred

----- Previously I said:

I cloned a working OL 7.1 container and the clone starts without complaint, but I can't get a login prompt on the console.

Using 'lxc-console' connects me to the container, and when I hit Enter the cursor goes down a line.  But I don't get a login prompt.

I used this command:

    lxc-start -d -n <cont name> --logfile /container/<cont name>/LOG --logpriority=TRACE

to start both containers and compared the LOGs.  They both have the same messages in them.

What is keeping my console login prompt from showing up?

Fred

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 16 2015
Added on Oct 19 2015
0 comments
1,066 views