#9279 ipa-otpd@.service: deprecated syslog setting
Closed: fixed by frenaud. Opened by carbenium.

Issue

The syslog contains following message when starting ipa-otpd:

/usr/lib/systemd/system/ipa-otpd@.service:10: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.

The warning stems from the usage of StandardError=syslog in the service file. See https://github.com/freeipa/freeipa/blob/a7b58b3c07576cbea21b4528b9d703a63ebc78b2/daemons/ipa-otpd/ipa-otpd%40.service.in#L10

According to https://github.com/systemd/systemd/pull/15812 this setting is obsolete and should be replaced with StandardError=journal.

Version/Release/Distribution

freeipa-server-4.9.10-4.fc36.x86_64


@carbenium thank you for the report. Do you have time to fix this yourself?

@abbra @carbenium i just took over this ticket and raised a PR: https://github.com/freeipa/freeipa/pull/6564

Thanks @sumenon for the PR! Looks good to me.

master:

  • b0ba5208604c22ef3f3631de0cf2c888e315c6b7 Fixes: ipa-otpd@.service: deprecated syslog setting

ipa-4-9:

  • 05bba992a6f8ba9f3c4383d023f5977dff457382 Fixes: ipa-otpd@.service: deprecated syslog setting

ipa-4-10:

  • 65a14a36936b8ebfdb17560d5976447c6f4cdf7e Fixes: ipa-otpd@.service: deprecated syslog setting

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata