[systemd-devel] getty at .service.m4 and serial-getty at .service.m4

Kay Sievers kay.sievers at vrfy.org
Fri Nov 12 06:27:29 PST 2010


On Thu, Nov 11, 2010 at 00:37, Lennart Poettering
<lennart at poettering.net> wrote:

>> 2. serial-getty at .service.m4 invokes agetty with option "-s", which
>> seems to have been recently added to agetty at Lennart's request.
>> getty on Debian/Ubuntu doesn't have that option yet and I would
>> guess that other distros may be in the same position. Since ifdefs
>> are needed here anyway, it would be nice to apply that option only
>> to the distros where it currently works.
>
> Hmm, I'd very much prefer if those distros would upgrade their u-l-ng
> patches instead.
>
> Note that not using -s is difficult here, since then the baudrate and
> other connection parameters might be incorrectly set up. Fedora used to
> have a wrapper for agetty that would figure out the right parameters and
> then exec agetty. However because I didn't want to have that I asked
> Karel to add -s insetad. So, simply dropping -s on your distro won't
> really fix the problem for you, since without that wrapper automatic
> serial gettys still wouldn't work properly.

Here is the agetty -s option as a patch, including the later fixes for
that option:

https://build.opensuse.org/package/view_file?file=util-linux-agetty-s-option.patch&package=util-linux&project=Base%3ASystem

Kay


More information about the systemd-devel mailing list