[systemd-devel] Antw: [EXT] Re: Q; syslog.socket dependency
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Fri Mar 12 07:34:26 UTC 2021
>>> Reindl Harald <h.reindl at thelounge.net> schrieb am 11.03.2021 um 16:23 in
Nachricht <4422087b-9966-e7fb-66ad-4157d83f2f3b at thelounge.net>:
>
> Am 11.03.21 um 12:17 schrieb Ulrich Windl:
>> Hi!
>>
>> I have a unit that uses logger, and I want to run it after syslog is
> available. So I added syslog.socket as dependency, but it fails:
>> Mar 11 12:11:02 jeos1 systemd[1]: syslog.socket: Socket service
> syslog.service not loaded, refusing.
>> Mar 11 12:11:02 jeos1 systemd[1]: Failed to listen on Syslog Socket.
>>
>> Doesn't journald also "provide" syslog.socket?
>>
>> Manual says:
>> syslog.socket
>> The socket unit syslog implementations should listen on. All
>> userspace log messages will be made available on this socket.
> For
>> more information about syslog integration, please consult the
>> Syslog Interface[2] document
>
> you need no dependencies for logging ‑ journald is responsible for that
> and even available in the initrd
So journald is not listening to the syslog socket? So how are messages sent to
the journal in a compatible way?
At least the manual page for syslog.socket is confusing then.
Regards,
Ulrich
>
> it's where early‑boot stuff comes from
> _______________________________________________
> systemd‑devel mailing list
> systemd‑devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd‑devel
More information about the systemd-devel
mailing list