Hide Forgot
upstart-0.6.5-10.el6.x86_64 I've edited /etc/init/tty.conf to add other argument to mingetty. Then I killed mingetty on TTY1. According to initctl(8), upstart should notice configuration change using automatically, but subsequent list of running processes with arguments (ps w) shows the mingetty has been started with old configuration. I called `initctl realod-configuration' and tried again. Without success. Only reboot helped to take effect the new configuration.
Job classes are not reloaded if there are running its instances. tty job class has 6 instances by default: tty (/dev/tty1) start/running, process 1386 tty (/dev/tty2) start/running, process 1388 tty (/dev/tty3) start/running, process 1390 tty (/dev/tty4) start/running, process 1392 tty (/dev/tty5) start/running, process 1394 tty (/dev/tty6) start/running, process 1396 In this case, you need first stop all instaces of tty: # eval `grep ACTIVE_CONSOLES /etc/sysconfig/init` # for tty in $ACTIVE_CONSOLES; do stop tty TTY=$tty; done edit /etc/init/tty.conf # start start-ttys or # for tty in $ACTIVE_CONSOLES; do start tty TTY=$tty; done
That works. Thanks for help. I think a notice at reload-configuration in initctl(8) manual page would be great.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative.