gentoo console login times out for 25 seconds after password entered.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
gentoo console login times out for 25 seconds after password entered.
Quote:
Mar 26 09:36:39 Wil login[3660]: pam_unix(login:session): session opened for user root(uid=0) by LOGIN(uid=0)
Mar 26 09:36:39 Wil dbus-daemon[3486]: [system] Activating service name='org.freedesktop.login1' requested by ':1.0' (uid=0 pid=3660 comm="/bin/login -- ") (using servicehelper)
Mar 26 09:36:39 Wil elogind-daemon[3670]: Cannot determine cgroup we are running in: No medium found
Mar 26 09:36:39 Wil elogind-daemon[3670]: Failed to allocate manager object: No medium found
Mar 26 09:37:04 Wil dbus-daemon[3486]: [system] Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms)
Mar 26 09:37:04 Wil login[3660]: pam_elogind(login:session): Failed to create session: Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms)
Mar 26 09:37:04 Wil login[3675]: ROOT LOGIN on '/dev/tty1'
Failed to activate service 'org.freedesktop.login1'
The service name is "systemd.logind.service"
Boot back to the install CD, chroot into it and check status and enable if disabled as such:
Code:
systemctl status systemd.logind
systemctl enable systemd.logind
I'm assuming you set a root password during installation. Are you still in the installation phase or was everything cool and this just happened out of the blue?
EDIT: If you installed a DE like Gnome or Plasma, enabling gdm.service or sddm.service will enable systemd.logind
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Original Poster
Rep:
this is a gentoo install over 20 years old, and upgraded hundreds of times, moved to each new computer i've gotten over the years. i don't think there is any systemd on here. it lets me login, but it waits 25 seconds after the password, before letting me do anything. no graphical login. i've got over 30 operating systems on this computer, so it's not important. if i get too frustrated with it after a while, I'll restore a backup from before the problems.
Gentoo works great if you keep it consistent. And you keep it up to date. In Gentoo forums I have seen problems created by too old GCC, for instance. User upgraded gcc, but forgot to enable it and was still running old incompatible gcc version, creating weird problems all across the board. This is why any Gentoo support request should start with posting 'emerge --info'. Such timeouts are often caused by some DNS issue, but of course it is only a guess.
Edit: it may be your kernel is missing a feature which is required by upgraded system. These are easy to miss if you do not pay attention to portage messages.
ended the timeout. i had never searched for org.freedesktop.login1.service anywhere except in /etc.
now i get the folling in /var/log/messages, but no timeout, and a successful login.
Oct 18 13:43:23 Wil dbus-daemon[3732]: [system] Activating service name='org.freedesktop.login1' requested by ':1.22' (uid=0 pid=6824 comm="/bin/login -- ") (using servicehelper)
Oct 18 13:43:23 Wil dbus-daemon[3732]: [system] Activated service 'org.freedesktop.login1' failed: Bus name not found in system service directory
Oct 18 13:43:23 Wil login[6824]: pam_elogind(login:session): Failed to create session: Bus name not found in system service directory
Maybe the system needs both org.freedesktop.login1.service and .org.freedesktop.login1.service. If that is the case then having one as the actual file and one as a link should suffice.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.