History log of /systemd/units/console-getty.service.m4.in
Revision Date Author Comments Expand
1b41981d9a62443d566df6bcabc1b5024e9f5e4a 17-Mar-2015 Jan Pazdziora <jpazdziora@redhat.com>

console-getty.service: don't start when /dev/console is missing Create minimal image which runs systemd FROM rhel7.1 RUN yum install -y /usr/bin/ps ENV container docker CMD [ "/usr/sbin/init" ] When you run the container without -t, the process /sbin/agetty --noclear --keep-baud console 115200 38400 9600 is not happy and checking the journal in the container, there is a stream of Mar 13 04:50:15 11bf07f59fff agetty[66]: /dev/console: No such file or directory Mar 13 04:50:25 11bf07f59fff systemd[1]: console-getty.service holdoff time over, scheduling restart. Mar 13 04:50:25 11bf07f59fff systemd[1]: Stopping Console Getty... Mar 13 04:50:25 11bf07f59fff systemd[1]: Starting Console Getty... Mar 13 04:50:25 11bf07f59fff systemd[1]: Started Console Getty. Mar 13 04:50:25 11bf07f59fff agetty[67]: /dev/console: No such file or directory Mar 13 04:50:35 11bf07f59fff systemd[1]: console-getty.service holdoff time over, scheduling restart. Mar 13 04:50:35 11bf07f59fff systemd[1]: Stopping Console Getty... Mar 13 04:50:35 11bf07f59fff systemd[1]: Starting Console Getty... Mar 13 04:50:35 11bf07f59fff systemd[1]: Started Console Getty. Mar 13 04:50:35 11bf07f59fff agetty[74]: /dev/console: No such file or directory Mar 13 04:50:45 11bf07f59fff systemd[1]: console-getty.service holdoff time over, scheduling restart. Mar 13 04:50:45 11bf07f59fff systemd[1]: Stopping Console Getty... Mar 13 04:50:45 11bf07f59fff systemd[1]: Starting Console Getty...

ccf22d4a104e6ed2666d6c5b4031981a84787790 18-Dec-2013 Lennart Poettering <lennart@poettering.net>

units: when spawning a getty configure TERM explicitly This way we can make use of our logic to automatically determine an appropriate TERM for a specific tty.

04d39279245834494baccfdb9349db8bf80abd13 31-Oct-2013 Lennart Poettering <lennart@poettering.net>

machinectl: add new command to spawn a getty inside a container

82659fd7571bda0f3dce9755b89a23c411d53dda 30-Jul-2013 Lennart Poettering <lennart@poettering.net>

core: optionally send SIGHUP in addition to the configured kill signal This is useful to fake session ends for processes like shells.

83514a2fa0c9377e76dcc323ab7e7756b7f86cc4 04-Jan-2013 Lennart Poettering <lennart@poettering.net>

units: drop distro specific stuff from units Since rc-local is now enabled via the SysV compatibility we should only refer to it based on that too.

88f8ffbd63d09b0f2899a8d45fc82e22839aeb81 31-May-2012 Lennart Poettering <lennart@poettering.net>

units: add Documentation= field to console-getty.service

f2b6878955b1f77ea1fa87b502b13d5dbefc57f6 24-Apr-2012 Lennart Poettering <lennart@poettering.net>

service: introduce Type=idle and use it for gettys Type=idle is much like Type=simple, however between the fork() and the exec() in the child we wait until PID 1 informs us that no jobs are left. This is mostly a cosmetic fix to make gettys appear only after all boot output is finished and complete. Note that this does not impact the normal job logic as we do not delay the completion of any jobs. We just delay the invocation of the actual binary, and only for services that otherwise would be of Type=simple.

337eebb936be1da1215535e866965ce54c82d755 22-Apr-2012 Lennart Poettering <lennart@poettering.net>

container: spawn a getty instead of a sulogin in a container