~ubuntu-branches/debian/jessie/systemd/jessie

« back to all changes in this revision

Viewing changes to units/syslog.socket

  • Committer: Package Import Robot
  • Author(s): Tollef Fog Heen, Tollef Fog Heen, Michael Biebl
  • Date: 2012-04-03 19:59:17 UTC
  • mfrom: (1.1.10) (6.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20120403195917-l532urrbg4pkreas
Tags: 44-1
[ Tollef Fog Heen ]
* New upstream version.
  - Backport 3492207: journal: PAGE_SIZE is not known on ppc and other
    archs
  - Backport 5a2a2a1: journal: react with immediate rotation to a couple
    of more errors
  - Backport 693ce21: util: never follow symlinks in rm_rf_children()
    Fixes CVE-2012-1174, closes: #664364
* Drop output message from init-functions hook, it's pointless.
* Only rmdir /lib/init/rw if it exists.
* Explicitly order debian-fixup before sysinit.target to prevent a
  possible race condition with the creation of sockets.  Thanks to
  Michael Biebl for debugging this.
* Always restart the initctl socket on upgrades, to mask sysvinit
  removing it.

[ Michael Biebl ]
* Remove workaround for non-interactive sessions from pam config again.
* Create compat /dev/initctl symlink in case we are upgrading from a system
  running a newer version of sysvinit (using /run/initctl) and sysvinit is
  replaced with systemd-sysv during the upgrade. Closes: #663219
* Install new man pages.
* Build-Depend on valac (>= 0.12) instead of valac-0.12. Closes: #663323

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
Description=Syslog Socket
12
12
DefaultDependencies=no
13
13
Before=sockets.target syslog.target
 
14
Conflicts=shutdown.target
 
15
Before=shutdown.target
14
16
 
15
17
# Pull in syslog.target to tell people that /dev/log is now accessible
16
18
Wants=syslog.target
17
19
 
18
20
[Socket]
19
 
ListenDatagram=/dev/log
 
21
ListenDatagram=/run/systemd/journal/syslog
20
22
SocketMode=0666
21
 
 
22
 
# The service we activate on incoming traffic is
23
 
# systemd-kmsg-syslogd.service. That doesn't mean however, that this
24
 
# is the main syslog daemon in the system. Another syslog
25
 
# implementation (which might be started via on-boot or another
26
 
# non-socket activation) can take over possession of the socket and
27
 
# terminate systemd-kmsg-syslogd. It could also simply replace the
28
 
# socket in the file system, and leave systemd-kmsg-syslogd untouched.
29
 
 
30
 
Service=systemd-kmsg-syslogd.service
 
23
PassCredentials=yes
 
24
PassSecurity=yes
 
25
ReceiveBuffer=8M
 
26
 
 
27
# The default syslog implementation should make syslog.service a
 
28
# symlink to itself, so that this socket activates the right actual
 
29
# syslog service.
 
30
#
 
31
# Examples:
 
32
#
 
33
# /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service
 
34
# /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service
 
35
#
 
36
# Best way to achieve that is by adding this to your unit file
 
37
# (i.e. to rsyslog.service or syslog-ng.service):
 
38
#
 
39
# [Install]
 
40
# Alias=syslog.service