Bug#977562: systemd: Incorrect order of agetty arguments in serial-getty at ttyS0.service definition file

Andreas Henriksson andreas at fatal.se
Thu Jan 14 16:54:55 GMT 2021


Hello Marcin Krol,

On Thu, Jan 14, 2021 at 05:21:17PM +0100, Marcin Krol wrote:
> 
> Well, I hoped that you'd simply change that order in the service file (I'm
> new to this, do you expect me to produce patch or something like that?).
> Otherwise serial comm doesn't work, at least for me.

As I tried to explain in my previous mail, I'm claiming that:

a/ it's impossible the ordering fixed your problem

   (I actually hacked up agetty to print out the structure the
   command-line parsing is stored into and verified that the structure
   ends up exactly the same no matter which order you give the arguments
   in. Before doing that I also checked the code and could not see any
   reason why the argument ordering detection code would not work.)

b/ You changed (atleast) 2 things, not only the order.

   (For example, in your example with order reversed you also dropped
   all alternative speed settings and just gave a single speed setting
   instead of a list.)

Given this there's no evidence that implementing your suggested change
will fix anything. Please provide more input. Try to change one thing
at a time in your testing to isolate which change actually fixes your
problem.

Regards,
Andreas Henriksson



More information about the Pkg-systemd-maintainers mailing list