Results 1 to 2 of 2
inittab has been eliminated in fc 15 (Beta) (basically an empty file now) being replaced by systemd. In fc 14 /etc/sysconfig/init was used to change the number of ACTIVE_CONSOLES=/dev/tty[1-6]. That ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-05-2011 #1
- Join Date
- Dec 2006
Beta fc 15 systemd tty configuration help needed
replaced by systemd. In fc 14 /etc/sysconfig/init was used to change the number
of ACTIVE_CONSOLES=/dev/tty[1-6]. That file exists in fc 15, but, has no effect
(probally some other file has replaced it). What file do I edit to reduce this
number? Is there any way to specify (custom) gettys and/or params for different
tty[1-6] devices. (Note: fc 14 had an event.d dir where one could put differnt
files for different devices for that).
Does anyone know what the new files are in Beta fc 15 for fine tunning the
getty console startup process.
Any help will be greatly appreciated.
- 05-07-2011 #2
- Join Date
- Dec 2006
After using find with grep I found the files needed with systemd for doing the customation I desired.
When systemd is installed (as in Beta fc 15) it creates 6 files:
These are all links to the single file:
# This file is part of systemd.
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
Description=Getty on %I
After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
# If additional gettys are spawned during boot then we should make
# sure that this is synchronized before getty.target, even though
# getty.target didn't actually pull it in.
ExecStart=-/sbin/agetty %I 38400
# Unset locale for the console getty since the console has problems
# displaying some internationalized messages.
Environment=LANG= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MES
SAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFIC
# Some login implementations ignore SIGTERM, so we send SIGHUP
# instead, to ensure that login terminates cleanly.
e email@example.com firstname.lastname@example.org ge
Thus, to use a custom getty or parameter passing, you need to edit this file. I do this with sed in my kickstart file.
You can also create more console terminals by simply:
ln -s ../../../lib/systemd/system/getty@.service email@example.com
Do not create any past 11 - you must leave at lease one free else "X" will not start with startX.