Mailinglist Archive: opensuse-packaging (116 mails)

< Previous Next >
[opensuse-packaging] reminder for systemd services: do not use syslog.target anymore
Hi all,

just a reminder because I had to fix one package (sendmail) which had a
hard dependency on syslog.target (Requires), in addition to
After=syslog.target.

With recent (>202) systemd release, syslog.target is no longer provided:
services are ensured they are started after logging socket is setup, so
journal will capture all syslog messages and will store them and forward
them to syslog implementation (if running).

With openSUSE 12.3, having syslog.target was already not doing anything
(but the target was still there) but it was removed in Factory.

I think very few packages have systemd service file with
"Requires=syslog.target", which does break in Factory (sendmail was an
example). For packages with only "After=syslog.target", there won't be
any issue (since it is just an ordering information).

In any case, if you are still seeing services with syslog.target as
Requires or After, please clean them.

Thanks !
--
Frederic Crozat <fcrozat@xxxxxxxx>
SUSE

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >