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

Michael Biebl biebl at debian.org
Wed Nov 22 12:55:17 GMT 2017


Am 22.11.2017 um 09:09 schrieb Thomas L:
> 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).

I'm not saying that it's not a bug. Sorry if this was unclear.

Just in case you missed it, I've forwarded this upstream:

https://github.com/systemd/systemd/issues/7413


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20171122/252c358d/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list