On Sun, 9 Aug 2020 19:50:17 -0700 Francois Marier wrote:

[...]
> I see the following in my logs once a day:
> 
>   Aug  9 06:43:56 hostname systemd[1]: 
> /lib/systemd/system/apt-listbugs.service:30: Standard output type syslog is 
> obsolete, automatically updating to journal. Please update your unit file, 
> and consider removing
> the setting altogether.
>   Aug  9 06:43:56 hostname systemd[1]: 
> /lib/systemd/system/apt-listbugs.service:31: Standard output type syslog is 
> obsolete, automatically updating to journal. Please update your unit file, 
> and consider removing
> the setting altogether.

Hello Francois,
thanks for your kind bug report!

Now that you pointed it out, I see that I have the same exact messages
on my box. This began with the upgrade to systemd/246-2 ...

And, indeed, /usr/share/doc/systemd/NEWS.gz now states, in part:

[...]
| CHANGES WITH 246:
[...]
|         * StandardError= and StandardOutput= in unit files no longer support
|           the "syslog" and "syslog-console" switches. They were long removed
|           from the documentation, but will now result in warnings when used,
|           and be converted to "journal" and "journal+console" automatically.
[...]

Mmmmh, I think I'll soon try to set

StandardOutput=journal
StandardError=journal

in /lib/systemd/system/apt-listbugs.service (or maybe remove those two
directive altogether, so that the default kicks in) and see what
happens!



BTW, I see the same messages for smartmontools, maybe it should be
reported... oh, you have already done so in [#968168]... Nice job,
thanks!   ;-)

[#968168]: <https://bugs.debian.org/968168>


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpfUvPrUH_gC.pgp
Description: PGP signature

Reply via email to