]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/load-fragment.c
socket: add new Symlinks= option for socket units
authorLennart Poettering <lennart@poettering.net>
Wed, 4 Jun 2014 14:19:00 +0000 (16:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 4 Jun 2014 14:21:17 +0000 (16:21 +0200)
commit811ba7a0e292eda0f2f470613cc28a97bda7ee66
tree881f55ee5157cfcf266c674bbe65ffc0930fb6dd
parente9fc29f4ecc9509ccc02eb8a014341e26c0d7831
socket: add new Symlinks= option for socket units

With Symlinks= we can manage one or more symlinks to AF_UNIX or FIFO
nodes in the file system, with the same lifecycle as the socket itself.

This has two benefits: first, this allows us to remove /dev/log and
/dev/initctl from /dev, thus leaving only symlinks, device nodes and
directories in the /dev tree. More importantly however, this allows us
to move /dev/log out of /dev, while still making it accessible there, so
that PrivateDevices= can provide /dev/log too.
man/systemd.socket.xml
src/core/dbus-socket.c
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h
src/core/socket.c
src/core/socket.h