Hello,

Just installed Red Hat 7.2, running as a zVM 6.3 guest.   Followed Red Hat 
instructions to autolog Root on Console(ttyS0) initially works.

Our CA Operator is used for automation which  sets Observer and SECUSER  to 
issue commands.  Seems to perform those functions too quickly
resulting in Console service to fail.

Messages from /var/log/messages fllow:
systemd: getty@ttyS0.service has no holdoff time, scheduling restart.
systemd: start request repeated too quickly for getty@ttyS0.service
systemd: Failed to start Getty on ttyS0.
systemd: Unit getty@ttyS0.service entered failed state.
systemd: getty@ttyS0.service failed.


Console snippet which repeats:
Ýroot@r028n0z ~¨# HCPCFX6769I Your observation terminated by OPERATOR
HCPCFX6768I Your SECUSER set to OPERATOR by OPERATOR.
wapPassword: HCPCFX6769I Your SECUSER terminated by OPERATOR.
HCPCFX6768I Your observation by CAOPER set by OPERATOR


Steps to create ttyS0  Root auto login:
cp -p /lib/systemd/system/getty@.service /etc/systemd/system/getty@ttyS0.service

vi /etc/systemd/system/getty@ttyS0.service

Change from:
ConditionPathExists=/dev/tty1
Change To:
ConditionPathExists=/dev/ttyS0

Change from:
[Service]
ExecStart=-/sbin/agetty --noclear %I $TERM
Change To:
[Service]
ExecStart=-/sbin/agetty --autologin root --noclear %I $TERM
:
[Install]
Change From:
DefaultInstance=tty1
To:
DefaultInstance=ttyS0

Add at end:
Alias=getty@ttyS0.service                    <<-- ADD at end

ln -s /etc/systemd/system/getty@ttyS0.service  
/etc/systemd/system/getty.target.wants/getty@ttyS0.service<mailto:/etc/systemd/system/getty.target.wants/getty@ttyS0.service>


Thanks
     Joe

Technology Services Group
Mainframe Operating Systems

Pershing Plaza
95 Christopher Columbus Drive
Floor 14
Jersey City,  N.J.  07302
Work  201-395-1509
Cell    917-903-0102


The information contained in this e-mail, and any attachment, is confidential 
and is intended solely for the use of the intended recipient. Access, copying 
or re-use of the e-mail or any attachment, or any information contained 
therein, by any other person is not authorized. If you are not the intended 
recipient please return the e-mail to the sender and delete it from your 
computer. Although we attempt to sweep e-mail and attachments for viruses, we 
do not guarantee that either are virus-free and accept no liability for any 
damage sustained as a result of viruses. 

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures 
relating to European legal entities.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to