74bb646ee5a812e91949c03fa461bc4bd7d2d7b8 |
|
18-Nov-2015 |
Susant Sahani <ssahani@gmail.com> |
socket: Add support for socket protcol
Now we don't support the socket protocol like
sctp and udplite .
This patch add a new config param
SocketProtocol: udplite/sctp
With this now we can configure the protocol as
udplite = IPPROTO_UDPLITE
sctp = IPPROTO_SCTP
Tested with nspawn: |
c129bd5df3ca08eb352cf69d01d2f374552624ae |
|
11-Nov-2015 |
Lennart Poettering <lennart@poettering.net> |
man: document automatic dependencies
For all units ensure there's an "Automatic Dependencies" section in the
man page, and explain which dependencies are automatically added in all
cases, and which ones are added on top if DefaultDependencies=yes is
set.
This is also done for systemd.exec(5), systemd.resource-control(5) and
systemd.unit(5) as these pages describe common behaviour of various unit
types. |
7ca4155737730ece73ae4b4ac80571005cb99b69 |
|
06-Nov-2015 |
Jan Engelhardt <jengelh@inai.de> |
doc: use expanded forms for written style |
a8eaaee72a2f06e0fb64fb71de3b71ecba31dafb |
|
06-Nov-2015 |
Jan Engelhardt <jengelh@inai.de> |
doc: correct orthography, word forms and missing/extraneous words |
b938cb902c3b5bca807a94b277672c64d6767886 |
|
06-Nov-2015 |
Jan Engelhardt <jengelh@inai.de> |
doc: correct punctuation and improve typography in documentation |
8dd4c05b5495c7ffe0f12ace87e71abe17bd0a0e |
|
06-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
core: add support for naming file descriptors passed using socket activation
This adds support for naming file descriptors passed using socket
activation. The names are passed in a new $LISTEN_FDNAMES= environment
variable, that matches the existign $LISTEN_FDS= one and contains a
colon-separated list of names.
This also adds support for naming fds submitted to the per-service fd
store using FDNAME= in the sd_notify() message.
This also adds a new FileDescriptorName= setting for socket unit files
to set the name for fds created by socket units.
This also adds a new call sd_listen_fds_with_names(), that is similar to
sd_listen_fds(), but also returns the names of the fds.
systemd-activate gained the new --fdname= switch to specify a name for
testing socket activation.
This is based on #1247 by Maciej Wereski.
Fixes #1247. |
55301ec028937eab4722c9fd586fd77ffdbc50dd |
|
01-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
core: add new setting Writable= to ListenSpecial= socket units
Writable= is a new boolean setting. If ture, then ListenSpecial= will
open the specified path in O_RDWR mode, rather than just O_RDONLY.
This is useful for implementing services like rfkill, where /dev/rfkill
is more useful when opened in write mode, if we want to not only save
but also restore its state. |
3d3145100d77a059b145a488df3d31763fdf1920 |
|
01-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
man: minor wording improvements to USB FunctionFS documentation |
22065311405b289547dd910bc76f5002a4600aa6 |
|
30-Sep-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: use "=" when referring to configuration file settings
This convention is almost universal in systemd man pages, and makes
it easier to visually parse the docs.
Also fix some markup along the way. |
81eb21b9918bf581849d41b4ecbe85d55f88ab73 |
|
30-Sep-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add link to functionfs docs
Also reword some ungainly grammar constructs. |
8c7c98398bad362cfae7b5a239cca11b93a67710 |
|
22-Sep-2015 |
Pawel Szewczyk <p.szewczyk@samsung.com> |
man: Add documentation for functionfs socket activation |
dd2b607b7d1ce355e93f9f71cd256ec20b8ae9c4 |
|
25-Jul-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
man: typo fixes |
12b42c76672a66c2d4ea7212c14f8f1b5a62b78d |
|
18-Jun-2015 |
Tom Gundersen <teg@jklm.no> |
man: revert dynamic paths for split-usr setups
This did not really work out as we had hoped. Trying to do this upstream
introduced several problems that probably makes it better suited as a
downstream patch after all. At any rate, it is not releaseable in the
current state, so we at least need to revert this before the release.
* by adjusting the path to binaries, but not do the same thing to the
search path we end up with inconsistent man-pages. Adjusting the search
path too would be quite messy, and it is not at all obvious that this is
worth the effort, but at any rate it would have to be done before we
could ship this.
* this means that distributed man-pages does not make sense as they depend
on config options, and for better or worse we are still distributing
man pages, so that is something that definitely needs sorting out before
we could ship with this patch.
* we have long held that split-usr is only minimally supported in order
to boot, and something we hope will eventually go away. So before we start
adding even more magic/effort in order to make this work nicely, we should
probably question if it makes sense at all. |
681eb9cf2b831293a4f3d4c48a748d2e4a25d69e |
|
28-May-2015 |
Filipe Brandenburger <filbranden@google.com> |
man: generate configured paths in manpages
In particular, use /lib/systemd instead of /usr/lib/systemd in distributions
like Debian which still have not adopted a /usr merge setup.
Use XML entities from man/custom-entities.ent to replace configured paths while
doing XSLT processing of the original XML files. There was precedent of some
files (such as systemd.generator.xml) which were already using this approach.
This addresses most of the (manual) fixes from this patch:
http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Fix-paths-in-man-pages.patch?h=experimental-220
The idea of using generic XML entities was presented here:
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032240.html
This patch solves almost all the issues, with the exception of:
- Path to /bin/mount and /bin/umount.
- Generic statements about preference of /lib over /etc.
These will be handled separately by follow up patches.
Tested:
- With default configure settings, ran "make install" to two separate
directories and compared the output to confirm they matched exactly.
- Used a set of configure flags including $CONFFLAGS from Debian:
http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/rules
Installed the tree and confirmed the paths use /lib/systemd instead of
/usr/lib/systemd and that no other unexpected differences exist.
- Confirmed that `make distcheck` still passes. |
b5c7d097ec7d16facaaeb0da5ba2abb2b1fc230b |
|
14-Mar-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: link to freebsd.org for inetd(8) |
3ba3a79df4ae094d1008c04a9af8d1ff970124c4 |
|
14-Mar-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: fix a bunch of links
All hail linkchecker! |
3b1c524154c876aecebc98787975cc2943100210 |
|
10-Mar-2015 |
Shawn Landden <shawn@churchofgit.com> |
add REMOTE_ADDR and REMOTE_PORT for Accept=yes |
b975b0d514321f169b3c4599a8ea92e13741b4e4 |
|
11-Feb-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: boilerplate unification |
798d3a524ea57aaf40cb53858aaa45ec702f012d |
|
04-Feb-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Reindent man pages to 2ch |
281a92f80c215d6e07526d33563adb6d37c531c6 |
|
27-Oct-2014 |
Ivan Shapovalov <intelfx100@gmail.com> |
man: fix typos in description of SELinuxContextFromNet= |
97426dcfca64b2a259d81335da1dab63fe6f51dd |
|
15-Oct-2014 |
Jan Synacek <jsynacek@redhat.com> |
man: fix typos |
16115b0a7b7cdf08fb38084d857d572d8a9088dc |
|
19-Sep-2014 |
Michal Sekletar <msekleta@redhat.com> |
socket: introduce SELinuxContextFromNet option
This makes possible to spawn service instances triggered by socket with
MLS/MCS SELinux labels which are created based on information provided by
connected peer.
Implementation of label_get_child_mls_label derived from xinetd.
Reviewed-by: Paul Moore <pmoore@redhat.com> |
67826132adfdf626413f08fb664debd4a7ec35b7 |
|
06-Sep-2014 |
Michael Biebl <biebl@debian.org> |
man: fix references to systemctl man page which is now in section 1
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760613 |
06b643e7f5a3b79005dd57497897ab7255fe3659 |
|
30-Aug-2014 |
Ruben Kerkhof <ruben@rubenkerkhof.com> |
Fix a few more typos |
3cd761e4df278cdef6fda9d7f50be512d3c1d7ae |
|
19-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
socket: suffix newly added TCP sockopt time properties with "Sec"
This is what we have done so far for all other time values, and hence we
should do this here. This indicates the default unit of time values
specified here, if they don't contain a unit. |
3bb07b7680c543c982077ac075abe8badeb46ca1 |
|
19-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
Revert "socket: introduce SELinuxLabelViaNet option"
This reverts commit cf8bd44339b00330fdbc91041d6731ba8aba9fec.
Needs more discussion on the mailing list. |
cf8bd44339b00330fdbc91041d6731ba8aba9fec |
|
19-Aug-2014 |
Michal Sekletar <msekleta@redhat.com> |
socket: introduce SELinuxLabelViaNet option
This makes possible to spawn service instances triggered by socket with
MLS/MCS SELinux labels which are created based on information provided by
connected peer.
Implementation of label_get_child_label derived from xinetd.
Reviewed-by: Paul Moore <pmoore@redhat.com> |
cc567c9beace114554f7e7f50c3a5181cc44a07d |
|
15-Aug-2014 |
Susant Sahani <susant@redhat.com> |
socket: Add support for TCP defer accept
TCP_DEFER_ACCEPT Allow a listener to be awakened only when data
arrives on the socket. If TCP_DEFER_ACCEPT set on a server-side
listening socket, the TCP/IP stack will not to wait for the final
ACK packet and not to initiate the process until the first packet
of real data has arrived. After sending the SYN/ACK, the server will
then wait for a data packet from a client. Now, only three packets
will be sent over the network, and the connection establishment delay
will be significantly reduced. |
209e9dcd7b2f23b68ff93bf20fad025bc03219ac |
|
15-Aug-2014 |
Susant Sahani <susant@redhat.com> |
socket: Add Support for TCP keep alive variables
The tcp keep alive variables now can be configured via conf
parameter. Follwing variables are now supported by this patch.
tcp_keepalive_intvl: The number of seconds between TCP keep-alive probes
tcp_keepalive_probes: The maximum number of TCP keep-alive probes to
send before giving up and killing the connection if no response is
obtained from the other end.
tcp_keepalive_time: The number of seconds a connection needs to be
idle before TCP begins sending out keep-alive probes. |
4d8ddba9d71e51356cc9488f906b8fef89c60c23 |
|
14-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
Revert "socket: add support for TCP fast Open"
This reverts commit 9528592ff8d7ff361da430285deba8196e8984d5.
Apparently TFO is actually the default at least for the server side now.
Also the setsockopt doesn't actually take a bool, but a qlen integer. |
9528592ff8d7ff361da430285deba8196e8984d5 |
|
14-Aug-2014 |
Susant Sahani <susant@redhat.com> |
socket: add support for TCP fast Open
TCP Fast Open (TFO) speeds up the opening of successiveTCP)
connections between two endpoints.It works by using a TFO cookie
in the initial SYN packet to authenticate a previously connected
client. It starts sending data to the client before the receipt
of the final ACK packet of the three way handshake is received,
skipping a round trip and lowering the latency in the start of
transmission of data. |
4427c3f43a87c2e0c784fda6be1b9715be820733 |
|
14-Aug-2014 |
Susant Sahani <susant@redhat.com> |
socket: add support for tcp nagle
This patch adds support for TCP TCP_NODELAY socket option. This can be
configured via NoDelay conf parameter. TCP Nagle's algorithm works by
combining a number of small outgoing messages, and sending them all at
once. This controls the TCP_NODELAY socket option. |
5e34b37c9fec5da130f6549ddabd8a2af5c9faac |
|
08-Aug-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: correct references to DefaultTimeout*Sec
Noticed by thp on #systemd. |
5aded369782f28255bc6b494ca905d7acaea7a56 |
|
08-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add a mapping for external manpages
It is annoying when we have dead links on fd.o.
Add project='man-pages|die-net|archlinux' to <citerefentry>-ies.
In generated html, add external links to
http://man7.org/linux/man-pages/man, http://linux.die.net/man/,
https://www.archlinux.org/.
By default, pages in sections 2 and 4 go to man7, since Michael
Kerrisk is the autorative source on kernel related stuff.
The rest of links goes to linux.die.net, because they have the
manpages.
Except for the pacman stuff, since it seems to be only available from
archlinux.org.
Poor gummiboot gets no link, because gummitboot(8) ain't to be found
on the net. According to common wisdom, that would mean that it does
not exist. But I have seen Kay using it, so I know it does, and
deserves to be found. Can somebody be nice and put it up somewhere? |
8d0e0ddda6501479eb69164687c83c1a7667b33a |
|
28-Jun-2014 |
Jan Engelhardt <jengelh@inai.de> |
doc: grammatical corrections |
3900e5fdff688dc3c273f177d9d913b7389d5561 |
|
05-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
socket: add SocketUser= and SocketGroup= for chown()ing sockets in the file system
This is relatively complex, as we cannot invoke NSS from PID 1, and thus
need to fork a helper process temporarily. |
811ba7a0e292eda0f2f470613cc28a97bda7ee66 |
|
04-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
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. |
bd1fe7c79de3d81325afecb7ded46c1627f6c1df |
|
04-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
socket: optionally remove sockets/FIFOs in the file system after use |
dca348bcbb462305864526c587495a14a76bfcde |
|
08-May-2014 |
Jan Engelhardt <jengelh@inai.de> |
doc: corrections to words and forms
This patch exchange words which are inappropriate for a situation,
deletes duplicated words, and adds particles where needed. |
5556b5fe41173107a67dbe875fbd916a46e52a02 |
|
23-Feb-2014 |
Lennart Poettering <lennart@poettering.net> |
core: clean up some confusing regarding SI decimal and IEC binary suffixes for sizes
According to Wikipedia it is customary to specify hardware metrics and
transfer speeds to the basis 1000 (SI decimal), while software metrics
and physical volatile memory (RAM) sizes to the basis 1024 (IEC binary).
So far we specified everything in IEC, let's fix that and be more
true to what's otherwise customary. Since we don't want to parse "Mi"
instead of "M" we document each time what the context used is. |
66f756d437658cc464bfb5647c97efd0cf77f933 |
|
18-Feb-2014 |
Jan Engelhardt <jengelh@inai.de> |
doc: resolve missing/extraneous words or inappropriate forms
Issues fixed:
* missing words required by grammar
* duplicated or extraneous words
* inappropriate forms (e.g. singular/plural), and declinations
* orthographic misspellings |
73e231abde39f22097df50542c745e01de879836 |
|
18-Feb-2014 |
Jan Engelhardt <jengelh@inai.de> |
doc: update punctuation
Resolve spotted issues related to missing or extraneous commas, dashes. |
b200a92cdc47b204e2ed7fbdd1eaf15abfd019c6 |
|
15-Feb-2014 |
Jason St. John <jstjohn@purdue.edu> |
man: use spaces instead of tabs
Several sections of the man pages included intermixed tabs and spaces;
this commit replaces all tabs with spaces. |
6db2742802b70938f0f2d373110ed734d4fb9813 |
|
15-Feb-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: replace STDOUT with standard output, etc.
Actually 'STDOUT' is something that doesn't appear anywhere: in the
stdlib we have 'stdin', and there's only the constant STDOUT_FILENO,
so there's no reason to use capitals. When refering to code,
STDOUT/STDOUT/STDERR are replaced with stdin/stdout/stderr, and in
other places they are replaced with normal phrases like standard
output, etc. |
3cf148f307e6450aa3411968f59a2563fe9cb154 |
|
30-Dec-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: expand on some more subtle points in systemd.socket(5)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727708#1694 |
494a66821815e8109afa136bd42818b85da38c09 |
|
26-Dec-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: resolve word omissions
This is a recurring submission and includes corrections to:
word omissions and word class choice. |
63ba209d8bc64137ff1585d5878328c93cb81b61 |
|
07-Nov-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: wording and grammar updates
This is a recurring submission and includes corrections to various
issue spotted: comma setting, missing words/preposition choice. |
1f19a534ea84458670ec011f6d1ba96f76e3f783 |
|
05-Nov-2013 |
Oleksii Shevchuk <alxchk@gmail.com> |
Configurable Timeouts/Restarts default values
https://bugs.freedesktop.org/show_bug.cgi?id=71132
Patch adds DefaultTimeoutStartSec, DefaultTimeoutStopSec, DefaultRestartSec
configuration options to manager configuration file. |
3fde5f30bda2a70d97f3dc8fa918e42e1c07cc2c |
|
27-Sep-2013 |
Lennart Poettering <lennart@poettering.net> |
man: drop references to "cgroup" wher appropriate
Since cgroups are mostly now an implementation detail of systemd lets
deemphasize it a bit in the man pages. This renames systemd.cgroup(5) to
systemd.resource-control(5) and uses the term "resource control" rather
than "cgroup" where appropriate.
This leaves the word "cgroup" in at a couple of places though, like for
example systemd-cgtop and systemd-cgls where cgroup stuff is at the core
of what is happening. |
79640424059328268b9fb6c5fa8eb777b27a177e |
|
12-Sep-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: wording and grammar updates
This is a recurring submission and includes corrections to various
issue spotted. I guess I can just skip over reporting ubiquitous
comma placement fixes…
Highligts in this particular commit:
- the "unsigned" type qualifier is completed to form a full type
"unsigned int"
- alphabetic -> lexicographic (that way we automatically define how
numbers get sorted) |
ac8e20c6e95975316279740778f381ad50a1a21a |
|
23-Aug-2013 |
Shawn Landden <shawnlandden@gmail.com> |
man: make reference to bind(2) explicit |
6a75304e41e4487d840057a0e5f9972e141e4540 |
|
13-Jul-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: wording and grammar update |
d868475ad62547f0a034dfaf038aff31b3d05372 |
|
12-Jul-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: document the slice and scope units, add systemd.cgroup(5) |
479fe882ae92e4c2eac3c995cd0d23d4c604889f |
|
12-Jul-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: use <literal> not <filename> for suffixes
Especially sentences like "filename ends in .suffix" are easier to
parse if the suffix is surrounded by quotes. In sentences like
"requires a .service unit", where the suffix is used as a class
designation, there is no need to use quotes. |
f7db7a691c3f532cf60886312459f2baea755283 |
|
11-Jul-2013 |
Shawn Landden <shawnlandden@gmail.com> |
basic SO_REUSEPORT support |
05cc726731c5cec952722f1c14acb08e3d4d5e98 |
|
03-Jul-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add more formatting markup |
e9dd9f9547350c7dc0473583b5c2228dc8f0ab76 |
|
03-Jul-2013 |
Jason St. John <jstjohn@purdue.edu> |
man: improve grammar and word formatting in numerous man pages
Use proper grammar, word usage, adjective hyphenation, commas,
capitalization, spelling, etc.
To improve readability, some run-on sentences or sentence fragments were
revised.
[zj: remove the space from 'file name', 'host name', and 'time zone'.] |
74d005783e355acc784d123024e33bbb66ef9ef1 |
|
27-Jun-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: use <constant> for various constants which look ugly with quotes |
3c86d34cf1e381ade10dcc41c655c98b2d489c8d |
|
20-Jun-2013 |
Lennart Poettering <lennart@poettering.net> |
man: document that shutdown() is only sometimes OK on sockets passed in via socket activation |
77f40f165cc60a1d6b8a3503e4b7e46814d5935e |
|
20-Jun-2013 |
Łukasz Stelmach <l.stelmach@samsung.com> |
Describe handling of an AF_UNIX socket
Describe how to handle an AF_UNIX socket, with Accept set to false,
received from systemd, upon exit.
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> |
7d617113eeafa5d7f7cc2994a81ec6b2a54481b3 |
|
03-May-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: link to socket activation blog entries |
e670b166a08b7c1031a9e7d7675fa9a29c3e19c9 |
|
14-Feb-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: use <replaceable> in various places |
89ca69941d0422069903b95265cee02bc1f498f7 |
|
09-Feb-2013 |
Michael Biebl <biebl@debian.org> |
man: typo fix in systemd.socket |
ccc9a4f9ffdab069b0b785627c48962fdadf6d46 |
|
26-Jan-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: extend systemd.directives(7) to all manual pages
New sections are added: PAM options, crypttab options, commandline
options, miscellaneous. The last category will be used for all
untagged <varname> elements.
Commandline options sections is meant to be a developer tool: when
adding an option it is sometimes useful to be able to check if
similarly named options exist elsewhere. |
74051b9b5865586bf4d30b9075649af838fb92bd |
|
17-Jan-2013 |
Lennart Poettering <lennart@poettering.net> |
units: for all unit settings that take lists, allow the empty string for resetting the lists
https://bugzilla.redhat.com/show_bug.cgi?id=756787 |
9cc2c8b763fb4b9ddda95756a727a438a0d2a012 |
|
15-Jan-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add links to directive index to see-alsos
systemd.directives(5) is renamed to systemd.directives(7).
Section 7 is "Miscellaneous". |
e4f44e734c4f397ee5e7ba3270e014a8ae0043dd |
|
06-Nov-2012 |
Dave Reisner <dreisner@archlinux.org> |
Revert "Implement SocketUser= and SocketGroup= for [Socket]"
This was never intended to be pushed.
This reverts commit aea54018a5e66a41318afb6c6be745b6aef48d9e. |
aea54018a5e66a41318afb6c6be745b6aef48d9e |
|
06-Nov-2012 |
Dave Reisner <dreisner@archlinux.org> |
Implement SocketUser= and SocketGroup= for [Socket]
Since we already allow defining the mode of AF_UNIX sockets and FIFO, it
makes sense to also allow specific user/group ownership of the socket
file for restricting access. |
7277f5a9d91ea6cdbcc558f3dc372943cbca464e |
|
05-Nov-2012 |
Dave Reisner <dreisner@archlinux.org> |
systemd.socket.xml: fix typo |
f848f8d87e3aafa514e8134e3ecf2317d89420e0 |
|
01-Nov-2012 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
man: typo fixes
Fixes a few more typos. Also changes a "Accept=no" to
"Accept=false" to be consistent with the previous examples
in the same man page. |
0eb59ccfe619cbc4b42ef8ff02b52971994dfe05 |
|
30-Oct-2012 |
Auke Kok <auke-jan.h.kok@intel.com> |
SMACK: Add configuration options. (v3)
This adds SMACK label configuration options to socket units.
SMACK labels should be applied to most objects on disk well before
execution time, but two items remain that are generated dynamically
at run time that require SMACK labels to be set in order to enforce
MAC on all objects.
Files on disk can be labelled using package management.
For device nodes, simple udev rules are sufficient to add SMACK labels
at boot/insertion time.
Sockets can be created at run time and systemd does just that for
several services. In order to protect FIFO's and UNIX domain sockets,
we must instruct systemd to apply SMACK labels at runtime.
This patch adds the following options:
Smack - applicable to FIFO's.
SmackIpIn/SmackIpOut - applicable to sockets.
No external dependencies are required to support SMACK, as setting
the labels is done using fsetxattr(). The labels can be set on a
kernel that does not have SMACK enabled either, so there is no need
to #ifdef any of this code out.
For more information about SMACK, please see Documentation/Smack.txt
in the kernel source code.
v3 of this patch changes the config options to be CamelCased. |
16dad32e437fdf2ffca03cc60a083d84bd31886f |
|
16-Oct-2012 |
Andrew Eikum <aeikum@codeweavers.com> |
Reword sentences that contain psuedo-English "resp."
As you likely know, Arch Linux is in the process of moving to systemd.
So I was reading through the various systemd docs and quickly became
baffled by this new abbreviation "resp.", which I've never seen before
in my English-mother-tongue life.
Some quick Googling turned up a reference:
<http://www.transblawg.eu/index.php?/archives/870-Resp.-and-other-non-existent-English-wordsNicht-existente-englische-Woerter.html>
I guess it's a literal translation of the German "Beziehungsweise", but
English doesn't work the same way. The word "respectively" is used
exclusively to provide an ordering connection between two lists. E.g.
"the prefixes k, M, and G refer to kilo-, mega-, and giga-,
respectively." It is also never abbreviated to "resp." So the sentence
"Sets the default output resp. error output for all services and
sockets" makes no sense to a natural English speaker.
This patch removes all instances of "resp." in the man pages and
replaces them with sentences which are much more clear and, hopefully,
grammatically valid. In almost all instances, it was simply replacing
"resp." with "or," which the original author (Lennart?) could probably
just do in the future.
The only other instances of "resp." are in the src/ subtree, which I
don't feel privileged to correct.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> |
5198dabcce9da535c4531b53990cfa11bd9f7896 |
|
03-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
man: document behaviour of ListenStream= with only a port number in regards to IPv4/IPv6 |
c53158818d8cdaf46b3f1b5299b9bda118a1043f |
|
13-Sep-2012 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
man: fix a bunch of typos in docs
https://bugs.freedesktop.org/show_bug.cgi?id=54501 |
4819ff0358b6317c195fd4b1768e03d09c871070 |
|
20-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
unit: split off KillContext from ExecContext containing only kill definitions |
34511ca7b166b0e89d08ff9870b0cf2624a7815f |
|
16-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
man: reword man page titles
Make sure the man page titles are similar in style and capitalization so
that our man page index looks pretty. |
5430f7f2bc7330f3088b894166bf3524a067e3d8 |
|
12-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
relicense to LGPLv2.1 (with exceptions)
We finally got the OK from all contributors with non-trivial commits to
relicense systemd from GPL2+ to LGPL2.1+.
Some udev bits continue to be GPL2+ for now, but we are looking into
relicensing them too, to allow free copy/paste of all code within
systemd.
The bits that used to be MIT continue to be MIT.
The big benefit of the relicensing is that closed source code may now
link against libsystemd-login.so and friends. |
54ecda32c60c6f2548f74703bfd324694393edaa |
|
13-Mar-2012 |
Lennart Poettering <lennart@poettering.net> |
socket: add option for SO_PASSEC
https://bugzilla.redhat.com/show_bug.cgi?id=798760
(Note that this work is not complete yet, as the kernel seems to send us
useless data with SCM_SECURITY enabled) |
271b032a053f9d4a1be271bb052276ae27fe36c6 |
|
31-Dec-2011 |
Lennart Poettering <lennart@poettering.net> |
socket: rename the PassCred= option to PassCredentials=, since we don't want to needlessly abbreviate options unless they are very well established |
7e115808a990199fe00de4cc2ef48fe96de3d3d0 |
|
08-Dec-2011 |
Tim Waugh <twaugh@redhat.com> |
'@' is an 'ampersat' not an 'ampersand'; let's call it 'at symbol' |
42e87475cfe20a5e79da882012629f9d3ae63648 |
|
30-Nov-2011 |
Michal Schmidt <mschmidt@redhat.com> |
man: document the PassCred option |
9f7dad774ebfad23269800b7096eaad087481deb |
|
20-Jun-2011 |
Ville Skyttä <ville.skytta@iki.fi> |
man: Documentation spelling fixes |
ec6370a22dbb96f855011e75f08e88df9e45504d |
|
19-May-2011 |
Lennart Poettering <lennart@poettering.net> |
socket: expose SO_BROADCAST |
6b6d2deecc246cf9780d31e1cd03a52aa5bfd9d2 |
|
19-May-2011 |
Lennart Poettering <lennart@poettering.net> |
socket: expose IP_TRANSPARENT |
916abb21d0a6653e0187b91591e492026886b0a4 |
|
17-May-2011 |
Lennart Poettering <lennart@poettering.net> |
socket: add POSIX mqueue support |
ecb963cc40a0270a357c2640d368b3116e0f56b6 |
|
27-Apr-2011 |
Lennart Poettering <lennart@poettering.net> |
def: lower default timeout to 90s
Almost everybody found 3min too long, so lower it again |
b0a3f2bc097999f63d3205bb175ad7a6695363a0 |
|
20-Apr-2011 |
Lennart Poettering <lennart@poettering.net> |
socket: support ListeSpecial= sockets |
05677bb78079c3fa0283101aac2c07581f4873f1 |
|
20-Apr-2011 |
Lennart Poettering <lennart@poettering.net> |
man: fix specification of default timeouts |
7a22745ac3c267edf89a23a920a28d86df5d0f9a |
|
10-Apr-2011 |
Lennart Poettering <lennart@poettering.net> |
socket: support netlink sockets |
cd25cce98f5cc930202212c3c9c13605c09698b4 |
|
29-Mar-2011 |
Lennart Poettering <lennart@poettering.net> |
exec: drop process group kill mode since it has little use and confuses the user |
be0396695bae9227ad69fcb61066bd84b3974e16 |
|
09-Feb-2011 |
Lennart Poettering <lennart@poettering.net> |
man: clarify a few things |
ba035df230e41bf9d70ebb47915c9472b7884412 |
|
18-Jan-2011 |
Lennart Poettering <lennart@poettering.net> |
execute: make sending of SIGKILL on shutdown optional |
2292707df5dda00662d0b4905c14aa4fa8d1f1fa |
|
18-Jan-2011 |
Lennart Poettering <lennart@poettering.net> |
man: document missing KillSignal= and swap options |
d9ff321ad9477664c34b81a9dd4fce616e44124e |
|
05-Oct-2010 |
Lennart Poettering <lennart@poettering.net> |
socket: make service to start on incoming traffic configurable |
cebf8b209237db381a504c50eeba76c4c28fb677 |
|
03-Aug-2010 |
Tomasz Torcz <tomek@pipebreaker.pl> |
socket: Allow selection of TCP Congestion Avoidance algorithm to socket
Hi,
attached path extends socket configurables with another
knob - TCP Congestion Avoidance selection. Linux implements
handful of those, useful in various situations. For example,
TCP Low Priority may be used by FTP service to gracefully
yield bandwidth for more important TCP/IP streams.
Until recently TCP_CONGESTION was Linux-specific, recently
FreeBSD 8 and OpenSolaris gained compatible support. |
b3eaa6288107210a84d6d121036fb4b2f7283ee2 |
|
07-Jul-2010 |
Lennart Poettering <lennart@poettering.net> |
man: update man pages for recent syntax changes |
f3e219a238c716ffa06fab7b0618197c090dfd5a |
|
07-Jul-2010 |
Lennart Poettering <lennart@poettering.net> |
update man pages for recent changes |
62adf224d1d3e225de072a2815dd50e973230f5c |
|
03-Jul-2010 |
Lennart Poettering <lennart@poettering.net> |
man: various man page updates |
dd1eb43ba771d4d56b20b4c93ba3acc59475f642 |
|
02-Jul-2010 |
Lennart Poettering <lennart@poettering.net> |
man: document execution context related settings |
ba60f9054e7aee0b817cfef4f715b0022818bbb3 |
|
02-Jul-2010 |
Lennart Poettering <lennart@poettering.net> |
man: extend references to exec man page |
b439c6ee04967fa988d232e0765f972cb27b1877 |
|
02-Jul-2010 |
Kay Sievers <kay.sievers@vrfy.org> |
man: trivial spelling fixes |
65232ea79d8f6b1288c33852f89b575a9200162d |
|
02-Jul-2010 |
Lennart Poettering <lennart@poettering.net> |
man: document automount units |
cdb788e4cdc67bf7da6b3b1b3f4f295ef5c25c67 |
|
02-Jul-2010 |
Lennart Poettering <lennart@poettering.net> |
man: document mount units |
1f812feafb4b98d5cfa2934886bbdd43325780bb |
|
01-Jul-2010 |
Lennart Poettering <lennart@poettering.net> |
man: document socket units |