Bug#882245: systemd-sysv: shutdown does not parse correctly -t option

Thomas L zlika_ese at hotmail.com
Wed Nov 22 08:09:59 GMT 2017


Thank you for your answer.

>I don't see a -t parameter there. It looks like -t is a legacy command
>line option which systemctl parses but ignores:

Ok. However:
* systemctl does not correctly parse (and ignore) the -t option, because this option
   is followed by a number that should be skipped as well. Either -t is an unknown option
   and shutdown should print an error message, or it is kept for compatibility reason
   and ignored and in this case it should be correctly parsed.
* I was misled by the french manpage of shutdown that still documents the "-t" option.
   This localized manpage should be updated.

Anyway, from my point of view it's a regression (on Jessie at least): my "shutdown -h -t 5 now" command
was working (even if "-t 5" was ignored), and now it's not
(i.e. the shutdown does not occur at the correct hour).

Regards,
Thomas



More information about the Pkg-systemd-maintainers mailing list