[systemd-devel] journald syslog forwarding
zbyszek at in.waw.pl
Wed Dec 17 12:42:28 PST 2014
On Wed, Dec 17, 2014 at 08:30:41PM +0000, Holger Winkelmann [TP] wrote:
> Hi, sorry for delay in reply..
> >> Journal carries messages from the initramfs. We cannot send them from
> >> the initramfs, unless we bring up the network then, which we don't want
> >> to do just for this purpose. But those messages are stored in /run/log,
> >> and then flushed to /var/log, and the uploader tool can forward them
> >> after the network is established.
> > Right but I thought that might be controlled via socket and once the
> > network would become available it would dump the content of the socket
> > buffer on the wire...
> Please advise me If Im wrong, but I can't see how can control a sending
> socket with with a .socket unit. Can you make an example? Many thanks,
It would not be controlled with a .socket unit, but through some other means
(listening for an address becoming available, networkd status change,
NetworkManager status change, or whatever).
More information about the systemd-devel