Re: What is agetty, and why can't it be stopped?
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.
> 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.
Erik
--
manual, n.:
A unit of documentation. There are always three or more on a given item.
One is on the shelf; someone has the others.
The information you need is in the others. - Ray Simard
Reply to: