summaryrefslogtreecommitdiffstats
path: root/units/console-getty.service.m4.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add SPDX license headers to unit filesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* units: order container and console getty units after getty-pre.targetMichal Sekletar2017-09-051-1/+1
|
* units: console-getty.service: use the default RestartSecAlan Jenkins2017-08-091-1/+0
| | | | | | | | | > Note that console-getty.service as more uses than just containers. The > idea is that it may be used as alternative to the whole VC/logind stuff, > if all you need is a console on /dev/console, even on physical devices. This means we want to remove RestartSec=0, for serial systems. See 4bf0432 "units/serial-getty@.service: use the default RestartSec".
* units/console-getty.service: comment reason for ConditionPathExistsAlan Jenkins2017-08-091-1/+3
| | | | | | | | | | | Currently we have 4 getty services. 1 has a BindsTo dependency on a device unit. 3 have ConditionPathExists, but the reason is different in every single one. * Add comment to console-getty@.service (see commit 1b41981d) * getty@.service is already commented * container-getty.service is not strictly correct, as I realized while trying to compose a comment. Reported as #6584.
* man/systemd-getty-generator fix/updateAlan Jenkins2017-08-091-1/+1
| | | | | | | | | | | * Containers don't use serial-getty@console.service, they use console-getty.service instead, and suppress scanning for kernel or virtualizer consoles. * Nowadays gettys are started on *all* configured kernel consoles. * except for the line printer console, because that's not a tty. (Seriously. Search CONFIG_LP_CONSOLE).
* units: Tell login to preserve environment (#6023)Nikolai Kondrashov2017-07-091-1/+4
| | | | | | | | | | | Make agetty started by *getty* units pass '-p' option to "login", so it doesn't clear the environment and passes whatever was setup by systemd to shells. This is needed especially for programs which are specified as user shells, but won't read locale settings from anywhere but environment. [zj: cherry-pick just the second patch from the series, see discussion on the pull request.]
* console-getty.service: don't start when /dev/console is missingJan Pazdziora2015-03-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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...
* units: when spawning a getty configure TERM explicitlyLennart Poettering2013-12-181-1/+1
| | | | | This way we can make use of our logic to automatically determine an appropriate TERM for a specific tty.
* machinectl: add new command to spawn a getty inside a containerLennart Poettering2013-10-311-1/+1
|
* core: optionally send SIGHUP in addition to the configured kill signalLennart Poettering2013-07-301-4/+1
| | | | This is useful to fake session ends for processes like shells.
* units: drop distro specific stuff from unitsLennart Poettering2013-01-041-16/+1
| | | | | Since rc-local is now enabled via the SysV compatibility we should only refer to it based on that too.
* units: add Documentation= field to console-getty.serviceLennart Poettering2012-05-311-0/+1
|
* service: introduce Type=idle and use it for gettysLennart Poettering2012-04-241-0/+1
| | | | | | | | | | | | | 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.
* container: spawn a getty instead of a sulogin in a containerLennart Poettering2012-04-221-0/+47