The debug that I added which says:
Aug 26 17:44:51 tacto-ppp-01 console-kit-daemon[927]: WARNING: ck_get_a_console_fd, choose: /dev/tty0
Is earlier in the startup of console-kit-daemon then the previous versions.
The previous version had the first debug at: Aug 26 17:44:51 tacto-ppp-01 console-kit-daemon[927]: WARNING: console_fd: 11
What I had with the --debug option on was that it also started sending debug to syslog a lot earlier like my change now.
Any debug that early seems to prevent it failing at all the first time.
The 'did not ? after 1 attempts' is in the loop when it would try again which is after the first try.
Does that make it clear for you ?
The debug that I added which says:
Aug 26 17:44:51 tacto-ppp-01 console- kit-daemon[ 927]: WARNING: ck_get_ a_console_ fd, choose: /dev/tty0
Is earlier in the startup of console-kit-daemon then the previous versions.
The previous version had the first debug at: kit-daemon[ 927]: WARNING: console_fd: 11
Aug 26 17:44:51 tacto-ppp-01 console-
What I had with the --debug option on was that it also started sending debug to syslog a lot earlier like my change now.
Any debug that early seems to prevent it failing at all the first time.
The 'did not ? after 1 attempts' is in the loop when it would try again which is after the first try.
Does that make it clear for you ?