You are not logged in.

#1 2015-08-31 16:37:44

S3NTYN3L
Member
From: Blito-P3
Registered: 2015-07-29
Posts: 43

Agetty/Login prompt timeout?

I'm hoping someone can point me to where/how to disable a timeout/feature if possible.

If I boot into Arch and let the machine sit at the login prompt, systemd (shows on screen) will restart the prompt after some time has passed without user interaction.
I'd like to disable this behaviour if at all possible.

journalctl -r seems to shows something about no hold-off time.
Could this bee the issue at hand?

FWIW, my  /etc/systemd/system/getty@tty1.service.d/override.conf  is set as follows

[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --login-options -H --skip-login %I $TERM

Thanks in advance!

Offline

#2 2015-08-31 16:55:49

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Agetty/Login prompt timeout?

S3NTYN3L wrote:

journalctl -r seems to shows something about no hold-off time.

https://bbs.archlinux.org/viewtopic.php?id=57855


Jin, Jîyan, Azadî

Offline

#3 2015-08-31 17:49:37

S3NTYN3L
Member
From: Blito-P3
Registered: 2015-07-29
Posts: 43

Re: Agetty/Login prompt timeout?

My bad, missed posting that bit...

OK, so after a reboot, systemd isn't spamming the screen any longer. Instead, the login prompt blinks for an instant as getty restarts every thirty seconds.

journalctl -r:

Aug 31 13:28:22 GLaDOS systemd[1]: Started Cleanup of Temporary Directories.
Aug 31 13:28:22 GLaDOS systemd[1]: Starting Cleanup of Temporary Directories...
Aug 31 13:17:57 GLaDOS systemd[1]: Mounted FUSE Control File System.
Aug 31 13:17:57 GLaDOS systemd[1]: Mounting FUSE Control File System...
Aug 31 13:17:57 GLaDOS kernel: fuse init (API version 7.23)
Aug 31 13:17:57 GLaDOS org.a11y.atspi.Registry[5326]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Aug 31 13:17:57 GLaDOS org.a11y.Bus[5296]: Successfully activated service 'org.a11y.atspi.Registry'
Aug 31 13:17:56 GLaDOS org.a11y.Bus[5296]: Activating service name='org.a11y.atspi.Registry'
Aug 31 13:17:37 GLaDOS systemd[1]: Started User Manager for UID 1000.
Aug 31 13:17:37 GLaDOS systemd[4916]: Starting Default.
Aug 31 13:17:37 GLaDOS systemd[4916]: Startup finished in 117ms.
Aug 31 13:17:37 GLaDOS systemd[4916]: Reached target Default.
Aug 31 13:17:37 GLaDOS systemd[4916]: Starting Basic System.
Aug 31 13:17:37 GLaDOS systemd[4916]: Reached target Basic System.
Aug 31 13:17:37 GLaDOS systemd[4916]: Starting Paths.
Aug 31 13:17:37 GLaDOS systemd[4916]: Reached target Paths.
Aug 31 13:17:37 GLaDOS systemd[4916]: Starting Timers.
Aug 31 13:17:37 GLaDOS systemd[4916]: Reached target Timers.
Aug 31 13:17:37 GLaDOS systemd[4916]: Starting Sockets.
Aug 31 13:17:37 GLaDOS login[4574]: LOGIN ON tty1 BY REDACTED
Aug 31 13:17:37 GLaDOS systemd[4916]: Reached target Sockets.
Aug 31 13:17:37 GLaDOS systemd[4916]: pam_unix(systemd-user:session): session opened for user REDACTED by (uid=0)
Aug 31 13:17:37 GLaDOS systemd[1]: Starting Session c1 of user REDACTED.
Aug 31 13:17:37 GLaDOS systemd[1]: Started Session c1 of user REDACTED.
Aug 31 13:17:37 GLaDOS systemd-logind[313]: New session c1 of user REDACTED.
Aug 31 13:17:37 GLaDOS systemd[1]: Starting User Manager for UID 1000...
Aug 31 13:17:37 GLaDOS systemd[1]: Starting user-1000.slice.
Aug 31 13:17:37 GLaDOS systemd[1]: Created slice user-1000.slice.
Aug 31 13:17:37 GLaDOS login[4574]: pam_unix(login:session): session opened for user REDACTED by LOGIN(uid=0)
Aug 31 13:17:26 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:17:26 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:17:26 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:16:56 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:16:56 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:16:56 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:16:26 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:16:26 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:16:26 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:15:56 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:15:56 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:15:56 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:15:26 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:15:26 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:15:26 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:14:56 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:14:56 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:14:56 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:14:26 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:14:26 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:14:26 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:13:56 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:13:56 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:13:56 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:13:29 GLaDOS dhcpcd[377]: forked to background, child pid 765
Aug 31 13:13:28 GLaDOS dhcpcd[377]: wlp3s0: adding default route via 192.168.1.1
Aug 31 13:13:28 GLaDOS dhcpcd[377]: wlp3s0: adding route to 192.168.1.0/24
Aug 31 13:13:27 GLaDOS dhcpcd[377]: wlp3s0: leased 192.168.1.105 for 86400 seconds
Aug 31 13:13:27 GLaDOS dhcpcd[377]: wlp3s0: rebinding lease of 192.168.1.105
Aug 31 13:13:27 GLaDOS dhcpcd[377]: wlp3s0: IAID 7c:e0:67:bb
Aug 31 13:13:27 GLaDOS dhcpcd[377]: DUID 00:01:00:01:1d:4d:61:f5:ac:b5:7c:e0:67:bb
Aug 31 13:13:26 GLaDOS wpa_actiond[344]: Interface 'wlp3s0' connected to network 'REDACTED'
Aug 31 13:13:26 GLaDOS kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: associated
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: RX AssocResp from 66:7f:74:e8:eb:aa (capab=0x431 status=0 aid=1)
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: associate with 66:7f:74:e8:eb:aa (try 1/3)
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: authenticated
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: send auth to 66:7f:74:e8:eb:aa (try 1/3)
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: authenticate with 66:7f:74:e8:eb:aa
Aug 31 13:13:25 GLaDOS systemd[1]: Starting Network.
Aug 31 13:13:25 GLaDOS systemd[1]: Startup finished in 7.654s (kernel) + 8.497s (userspace) = 16.152s.
Aug 31 13:13:25 GLaDOS systemd[1]: Reached target Network.
Aug 31 13:13:25 GLaDOS systemd[1]: Starting Graphical Interface.
Aug 31 13:13:25 GLaDOS systemd[1]: Reached targeAug 31 13:28:22 REDACTED systemd[1]: Started Cleanup of Temporary Directories.
Aug 31 13:28:22 GLaDOS systemd[1]: Starting Cleanup of Temporary Directories...
Aug 31 13:17:57 GLaDOS systemd[1]: Mounted FUSE Control File System.
Aug 31 13:17:57 GLaDOS systemd[1]: Mounting FUSE Control File System...
Aug 31 13:17:57 GLaDOS kernel: fuse init (API version 7.23)
Aug 31 13:17:57 GLaDOS org.a11y.atspi.Registry[5326]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Aug 31 13:17:57 GLaDOS org.a11y.Bus[5296]: Successfully activated service 'org.a11y.atspi.Registry'
Aug 31 13:17:56 GLaDOS org.a11y.Bus[5296]: Activating service name='org.a11y.atspi.Registry'
Aug 31 13:17:37 GLaDOS systemd[1]: Started User Manager for UID 1000.
Aug 31 13:17:37 GLaDOS systemd[4916]: Starting Default.
Aug 31 13:17:37 GLaDOS systemd[4916]: Startup finished in 117ms.
Aug 31 13:17:37 GLaDOS systemd[4916]: Reached target Default.
Aug 31 13:17:37 GLaDOS systemd[4916]: Starting Basic System.
Aug 31 13:17:37 GLaDOS systemd[4916]: Reached target Basic System.
Aug 31 13:17:37 GLaDOS systemd[4916]: Starting Paths.
Aug 31 13:17:37 GLaDOS systemd[4916]: Reached target Paths.
Aug 31 13:17:37 GLaDOS systemd[4916]: Starting Timers.
Aug 31 13:17:37 GLaDOS systemd[4916]: Reached target Timers.
Aug 31 13:17:37 GLaDOS systemd[4916]: Starting Sockets.
Aug 31 13:17:37 GLaDOS login[4574]: LOGIN ON tty1 BY REDACTED
Aug 31 13:17:37 GLaDOS systemd[4916]: Reached target Sockets.
Aug 31 13:17:37 GLaDOS systemd[4916]: pam_unix(systemd-user:session): session opened for user REDACTED by (uid=0)
Aug 31 13:17:37 GLaDOS systemd[1]: Starting Session c1 of user REDACTED.
Aug 31 13:17:37 GLaDOS systemd[1]: Started Session c1 of user REDACTED.
Aug 31 13:17:37 GLaDOS systemd-logind[313]: New session c1 of user REDACTED.
Aug 31 13:17:37 GLaDOS systemd[1]: Starting User Manager for UID 1000...
Aug 31 13:17:37 GLaDOS systemd[1]: Starting user-1000.slice.
Aug 31 13:17:37 GLaDOS systemd[1]: Created slice user-1000.slice.
Aug 31 13:17:37 GLaDOS login[4574]: pam_unix(login:session): session opened for user REDACTED by LOGIN(uid=0)
Aug 31 13:17:26 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:17:26 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:17:26 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:16:56 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:16:56 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:16:56 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:16:26 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:16:26 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:16:26 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:15:56 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:15:56 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:15:56 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:15:26 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:15:26 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:15:26 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:14:56 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:14:56 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:14:56 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:14:26 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:14:26 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:14:26 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:13:56 GLaDOS systemd[1]: Starting Getty on tty1...
Aug 31 13:13:56 GLaDOS systemd[1]: Started Getty on tty1.
Aug 31 13:13:56 GLaDOS systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Aug 31 13:13:29 GLaDOS dhcpcd[377]: forked to background, child pid 765
Aug 31 13:13:28 GLaDOS dhcpcd[377]: wlp3s0: adding default route via 192.168.1.1
Aug 31 13:13:28 GLaDOS dhcpcd[377]: wlp3s0: adding route to 192.168.1.0/24
Aug 31 13:13:27 GLaDOS dhcpcd[377]: wlp3s0: leased 192.168.1.105 for 86400 seconds
Aug 31 13:13:27 GLaDOS dhcpcd[377]: wlp3s0: rebinding lease of 192.168.1.105
Aug 31 13:13:27 GLaDOS dhcpcd[377]: wlp3s0: IAID 7c:e0:67:bb
Aug 31 13:13:27 GLaDOS dhcpcd[377]: DUID 00:01:00:01:1d:4d:61:f5:ac:b5:7c:e0:67:bb
Aug 31 13:13:26 GLaDOS wpa_actiond[344]: Interface 'wlp3s0' connected to network 'REDACTED'
Aug 31 13:13:26 GLaDOS kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: associated
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: RX AssocResp from 66:7f:74:e8:eb:aa (capab=0x431 status=0 aid=1)
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: associate with 66:7f:74:e8:eb:aa (try 1/3)
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: authenticated
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: send auth to 66:7f:74:e8:eb:aa (try 1/3)
Aug 31 13:13:26 GLaDOS kernel: wlp3s0: authenticate with 66:7f:74:e8:eb:aa
Aug 31 13:13:25 GLaDOS systemd[1]: Starting Network.
Aug 31 13:13:25 GLaDOS systemd[1]: Startup finished in 7.654s (kernel) + 8.497s (userspace) = 16.152s.
Aug 31 13:13:25 GLaDOS systemd[1]: Reached target Network.
Aug 31 13:13:25 GLaDOS systemd[1]: Starting Graphical Interface.
Aug 31 13:13:25 GLaDOS systemd[1]: Reached target Graphical Interface.
Aug 31 13:13:25 GLaDOS systemd[1]: Starting Multi-User System.
Aug 31 13:13:25 GLaDOS systemd[1]: Reached target Multi-User System.
Aug 31 13:13:25 GLaDOS systemd[1]: Started Automatic wireless network connection using netctl profiles.
Aug 31 13:13:25 GLaDOS wpa_actiond[344]: Starting wpa_actiond session for interface 'wlp3s0'
Aug 31 13:13:25 GLaDOS kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Aug 31 13:13:25 GLaDOS systemd-logind[313]: Watching system buttons on /dev/input/event2 (Lid Switch)
Aug 31 13:13:25 GLaDOS systemd-logind[313]: Watching system buttons on /dev/input/event1 (Power Button)
Aug 31 13:13:25 GLaDOS systemd-logind[313]: Watching system buttons on /dev/input/event4 (Video Bus)
Aug 31 13:13:25 GLaDOS systemd-logind[313]: Watching system buttons on /dev/input/event3 (Power Button)
Aug 31 13:13:25 GLaDOS systemd[1]: Started Login Service.
Aug 31 13:13:25 GLaDOS systemd[1]: Starting Login Prompts.
Aug 31 13:13:25 GLaDOS systemd[1]: Reached target Login Prompts.
Aug 31 13:13:25 GLaDOS systemd[1]: Starting Getty on tty1...t Graphical Interface.
Aug 31 13:13:25 GLaDOS systemd[1]: Starting Multi-User System.
Aug 31 13:13:25 GLaDOS systemd[1]: Reached target Multi-User System.
Aug 31 13:13:25 GLaDOS systemd[1]: Started Automatic wireless network connection using netctl profiles.
Aug 31 13:13:25 GLaDOS wpa_actiond[344]: Starting wpa_actiond session for interface 'wlp3s0'
Aug 31 13:13:25 GLaDOS kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Aug 31 13:13:25 GLaDOS systemd-logind[313]: Watching system buttons on /dev/input/event2 (Lid Switch)
Aug 31 13:13:25 GLaDOS systemd-logind[313]: Watching system buttons on /dev/input/event1 (Power Button)
Aug 31 13:13:25 GLaDOS systemd-logind[313]: Watching system buttons on /dev/input/event4 (Video Bus)
Aug 31 13:13:25 GLaDOS systemd-logind[313]: Watching system buttons on /dev/input/event3 (Power Button)
Aug 31 13:13:25 GLaDOS systemd[1]: Started Login Service.
Aug 31 13:13:25 GLaDOS systemd[1]: Starting Login Prompts.
Aug 31 13:13:25 GLaDOS systemd[1]: Reached target Login Prompts.
Aug 31 13:13:25 GLaDOS systemd[1]: Starting Getty on tty1...

Offline

#4 2015-08-31 17:51:48

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Agetty/Login prompt timeout?

If you (re)move the override.conf file, does your system behave normally?

You appear to have it set up to not prompt for a login name ("--skip-login").


Jin, Jîyan, Azadî

Offline

#5 2015-08-31 18:06:19

S3NTYN3L
Member
From: Blito-P3
Registered: 2015-07-29
Posts: 43

Re: Agetty/Login prompt timeout?

Head_on_a_Stick wrote:

If you (re)move the override.conf file, does your system behave normally?

You appear to have it set up to not prompt for a login name ("--skip-login").


If I remove the override file, the hostname and/or issue stuff is shown at the prompt.
I don't want this. I want nothing but the " login: " to appear on screen.

To answer the question directly; there seems to be no change in behaviour.

Removing the " --skip-login " portion results in the username prompt requesting a username twice before requesting a password.
https://bbs.archlinux.org/viewtopic.php?id=200393

Last edited by S3NTYN3L (2015-08-31 18:07:27)

Offline

Board footer

Powered by FluxBB