Re: What is agetty, and why can't it be stopped?
On Thursday 06 June 2019 07:39:02 am Erik Christiansen wrote:
> On 06.06.19 07:14, Gene Heskett wrote:
> > > # Example how to put a getty on a serial line (for a terminal)
> > > #
> > > #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
> > > #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
> >
> > Yes, I recall those days. But until now ttyS0 and S1 if it existed,
> > were free for my to use. Now it seems to want to grab everything in
> > sight.
>
> Er, Gene, does your /etc/inittab have either of those lines
> uncommented to activate a getty on them? If so, just comment them
> again. If not, did your upgrade land you in systemdix land, so the
> traditional way is gone.
Yup, and so is /etc/inittab, it doesn't exist.
> > This is MY machine, and it should be able to do what I want it to
> > do. I finally did kill the one that was grabbing ttyS0. In fact it
> > appears I killed them all, htop cannot find one running now, and
> > neither can an lsof, Yet the machine seems to be running normally.
> >
> > > Cf. man inittab for details. See? Still gettys being started
> > > here, for the Linux virtual consoles. And some examples on
> > > how to do it for serial terminals.
> >
> > No man page for inittab seems to be installed. That seems to be a
> > head scratcher right there.
>
> Nah, systemd replaces the traditional SysV init stuff, if you let it
> be installed. Then you have to learn new ways.
So its apparent. But I watched the D-Day stuff live, so I'm going to
catch up on the sleep I missed from 4 to 7 this morning.
Thanks Erik
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
Reply to: