Commit Graph

19 Commits

Author SHA1 Message Date
Yu Watanabe db9ecf0501 license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
Lennart Poettering 3ca9940cb9 units: set NoNewPrivileges= for all long-running services
Previously, setting this option by default was problematic due to
SELinux (as this would also prohibit the transition from PID1's label to
the service's label). However, this restriction has since been lifted,
hence let's start making use of this universally in our services.

On SELinux system this change should be synchronized with a policy
update that ensures that NNP-ful transitions from init_t to service
labels is permitted.

An while we are at it: sort the settings in the unit files this touches.
This might increase the size of the change in this case, but hopefully
should result in stabler patches later on.

Fixes: #1219
2018-11-12 19:02:55 +01:00
Mike Gilbert 4d8c7c1b3a units: initctl: move the fifo to /run/initctl to match sysvinit
The fifo location was moved in sysvinit-2.89.

http://git.savannah.nongnu.org/cgit/sysvinit.git/commit/?id=80dbcf3de3c1b83aeaa713a8fe5b8d35d8649af2
2018-03-30 16:52:14 -04:00
Zbigniew Jędrzejewski-Szmek a7df2d1e43 Add SPDX license headers to unit files 2017-11-19 19:08:15 +01:00
Lennart Poettering 7f396e5f66 units: set SystemCallArchitectures=native on all our long-running services 2017-02-09 16:12:03 +01:00
Lennart Poettering f59e0b6435 man: document systemd-initctl 2012-06-26 00:15:59 +02:00
Lennart Poettering 49dbfa7b2b units: introduce new Documentation= field and make use of it everywhere
This should help making the boot process a bit easier to explore and
understand for the administrator. The simple idea is that "systemctl
status" now shows a link to documentation alongside the other status and
decriptionary information of a service.

This patch adds the necessary fields to all our shipped units if we have
proper documentation for them.
2012-05-21 15:14:51 +02:00
Lennart Poettering 5430f7f2bc 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.
2012-04-12 00:24:39 +02:00
Lennart Poettering 52f319b293 syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
Lennart Poettering d8fa9401d3 units: enable notify interface for internals services 2010-08-16 15:41:30 +02:00
Lennart Poettering af65a09126 units: update shipped unit files for DefaultDependencies= 2010-07-03 19:53:37 +02:00
Lennart Poettering 1f48cf56cb service: change default service type to 'simple' since that is the future 2010-06-02 19:17:23 +02:00
Lennart Poettering 1136a371e2 untis: fix path to helper services 2010-06-02 15:52:14 +02:00
Lennart Poettering dfca381db3 shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
Lennart Poettering 9f23530860 man: document a few special units 2010-05-16 22:45:11 +02:00
Lennart Poettering 70449379de units: move a number of units into the tarball 2010-05-16 20:49:41 +02:00
Lennart Poettering 2d02719c2b units: fix logger/initctl paths 2010-04-23 22:18:55 +02:00
Lennart Poettering 09477267f6 units: rename [Meta] section to [Unit] 2010-04-15 23:20:17 +02:00
Lennart Poettering 70fcff314f units: install a few basic units by default 2010-04-13 05:18:12 +02:00