From a0e155d440173ba524918cb3800350b452952082 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 18 Mar 2011 05:17:02 +0100 Subject: [PATCH] units: pull in syslog.target from syslog.socket --- TODO | 6 +----- units/syslog.socket | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 4191e558..297d616e 100644 --- a/TODO +++ b/TODO @@ -23,11 +23,7 @@ F15: * 0595f9a1c182a84581749823ef47c5f292e545f9 is borked, freezes shutdown (path: after installing inotify watches, recheck file again to fix race) -* rsyslog.service should hook itself into syslog.target? - -* syslog.target should be pulled in by multi-user.target? - -* pull in .service from meta .targers AND vice versa too. i.e. syslog.target ←→ rsyslog.service, rpcbind similarly +* NM should pull in network.target, ntpd should pull in rtc-set.target. * document default dependencies diff --git a/units/syslog.socket b/units/syslog.socket index d4bbc4d9..500bb7c3 100644 --- a/units/syslog.socket +++ b/units/syslog.socket @@ -12,6 +12,9 @@ Description=Syslog Socket DefaultDependencies=no Before=sockets.target syslog.target +# Pull in syslog.target to tell people that /dev/log is now accessible +Wants=syslog.target + [Socket] ListenDatagram=/dev/log SocketMode=0666 -- 2.39.5