All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Bultel <tbultel@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] systemd: syslog.socket fails
Date: Thu, 11 Dec 2014 17:11:50 +0100	[thread overview]
Message-ID: <5489C246.9020805@free.fr> (raw)

Hi,

I am using rsyslog + systemd, and rsyslog does not start, because it 
fails to start the syslog.socket

This can be shown in this single case:

root at buildroot:~>systemctl start syslog.socket
Job for syslog.socket failed. See 'systemctl status syslog.socket' and 
'journalctl -xn' for details.

root at buildroot:~>journalctl -xn
-- Logs begin at Thu 2014-12-11 15:52:42 UTC, end at Thu 2014-12-11 
16:14:45 UTC. --
Dec 11 16:03:52 buildroot-stack104 systemd[1]: Socket service 
syslog.service not loaded, refusing.
Dec 11 16:03:52 buildroot-stack104 systemd[1]: Failed to listen on 
Syslog Socket.
-- Subject: Unit syslog.socket has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit syslog.socket has failed.

As a workaround (inspired from systemd-journald.socket),
adding :

Service=syslog.service

... at the end of /lib/systemd/system/syslog.socket makes it work 
(though I have no idea why, at the present time)

http://cgit.freedesktop.org/systemd/systemd/tree/units/syslog.socket 
does not have such a hack ...

Any ideas ?
Thierry

             reply	other threads:[~2014-12-11 16:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-11 16:11 Thierry Bultel [this message]
2014-12-11 17:26 ` [Buildroot] systemd: syslog.socket fails André Erdmann
2014-12-11 20:52   ` Thierry Bultel
2014-12-11 22:57     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5489C246.9020805@free.fr \
    --to=tbultel@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.