6e004630fea24f1d4d76f8b062f9f862ba237140 |
|
10-Feb-2016 |
Lennart Poettering <lennart@poettering.net> |
man: document rescue.target and emergency.target in more detail
Fixes: #2523 |
fccd4b67b5fd296cb5840d1b8e0ea8455cb6a1ed |
|
27-Jan-2016 |
Lennart Poettering <lennart@poettering.net> |
man: document slices.target
Fixes: #2438 |
7f3fdb7f19a109fa3d1be92926bfe4cea1817da5 |
|
26-Dec-2015 |
Jakub Wilk <jwilk@jwilk.net> |
man: fix typos |
b938cb902c3b5bca807a94b277672c64d6767886 |
|
06-Nov-2015 |
Jan Engelhardt <jengelh@inai.de> |
doc: correct punctuation and improve typography in documentation |
9f4092e2703e5efc6e62ba3e7b0d56e86aa1e953 |
|
30-Sep-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: update description of exit.target
exit.target is now used for both system and user sessions,
so remove "on user service manager exit". Also reword that
paragraph: services will be killed before the manager exits,
even if they do not conflict with shutdown target, but we
recommend that they conflict with shutdown target so that
systemd schedules them to be stopped immediately when starting
to exit.
In the first paragraph, containers should be mentioned last,
and the more general systems first. |
287419c119ef961db487a281162ab037eba70c61 |
|
21-Sep-2015 |
Alban Crequy <alban.crequy@gmail.com> |
containers: systemd exits with non-zero code
When a systemd service running in a container exits with a non-zero
code, it can be useful to terminate the container immediately and get
the exit code back to the host, when systemd-nspawn returns. This was
not possible to do. This patch adds the following to make it possible:
- Add a read-only "ExitCode" property on PID 1's "Manager" bus object.
By default, it is 0 so the behaviour stays the same as previously.
- Add a method "SetExitCode" on the same object. The method fails when
called on baremetal: it is only allowed in containers or in user
session.
- Add support in systemctl to call "systemctl exit 42". It reuses the
existing code for user session.
- Add exit.target and systemd-exit.service to the system instance.
- Change main() to actually call systemd-shutdown to exit() with the
correct value.
- Add verb 'exit' in systemd-shutdown with parameter --exit-code
- Update systemctl manpage.
I used the following to test it:
| $ sudo rkt --debug --insecure-skip-verify run \
| --mds-register=false --local docker://busybox \
| --exec=/bin/chroot -- /proc/1/root \
| systemctl --force exit 42
| ...
| Container rkt-895a0cba-5c66-4fa5-831c-e3f8ddc5810d failed with error code 42.
| $ echo $?
| 42
Fixes https://github.com/systemd/systemd/issues/1290 |
694223fb418878d67861767c48d54b483d934b38 |
|
20-Aug-2015 |
Eric Kostrowski <eric.kostrowski@gmail.com> |
man: fix typo in description of system.slice |
913a986914f30c7e90d3152233dc7bf1612c83d4 |
|
06-Aug-2015 |
Felipe Sateler <fsateler@debian.org> |
man: Clarify difference between basic.target and sysinit.target |
1abc8ae604f6acd18f7dec1ae8e7371c7773d0b0 |
|
06-Aug-2015 |
Felipe Sateler <fsateler@debian.org> |
man: Clarify that basic.target does not pull in remote filesystems
Also note /var, /tmp or /var/tmp as special cases, should either of
those be a remote filesystem. |
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. |
798d3a524ea57aaf40cb53858aaa45ec702f012d |
|
04-Feb-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Reindent man pages to 2ch |
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? |
ee43f49b7889b546fe05a141459d7f1ddf129bd4 |
|
01-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: mention x-initrd.mount option in fstab options list |
8d0e0ddda6501479eb69164687c83c1a7667b33a |
|
28-Jun-2014 |
Jan Engelhardt <jengelh@inai.de> |
doc: grammatical corrections |
08d555f347f154d08520a117b9769975cf302e38 |
|
19-Jun-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
man: fix typo |
9542239eaf481decca6c254dffb3f2b4e716545e |
|
18-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
cryptsetup: introduce new cryptsetup-pre.traget unit so that services can make sure they are started before and stopped after any LUKS setup
https://bugzilla.redhat.com/show_bug.cgi?id=1097938 |
a4a878d04045b46fa9783664e3643a890b356790 |
|
11-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
units: introduce network-pre.target as place to hook in firewalls
network-pre.target is a passive target that should be pulled in by
services that want to be executed before any network is configured (for
example: firewall scrips).
network-pre.target should be ordered before all network managemet
services (but not be pulled in by them).
network-pre.target should be order after all services that want to be
executed before any network is configured (and be pulled in by them). |
51cb9d734a182c4892a6b31f58d75489a2ca432b |
|
10-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
man: updates to the passive target section |
73e231abde39f22097df50542c745e01de879836 |
|
18-Feb-2014 |
Jan Engelhardt <jengelh@inai.de> |
doc: update punctuation
Resolve spotted issues related to missing or extraneous commas, dashes. |
b040723ea412209e0edf54647fa5aa4287411507 |
|
26-Dec-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: improvements to comma placement
This is a recurring submission and includes corrections to:
comma placement. |
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) |
6b4991cfde6c0a0b62e836ca75ae362779c474d4 |
|
10-Sep-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: wording and grammar updates
This includes regularly-submitted corrections to comma setting and
orthographical mishaps that appeared in man/ in recent commits.
In this particular commit:
- the usual comma fixes
- expand contractions (this is prose) |
32ce5ae22bf47969cac69abd37290539f9c189de |
|
06-Sep-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: fix typo
https://bugs.freedesktop.org/show_bug.cgi?id=68723 |
fbce11397f4d19821a9dfe66ee3ebe11cad90057 |
|
21-Jul-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: wording and grammar updates
This includes regularly-submitted corrections to comma setting and
orthographical mishaps that appeared in man/ in recent commits. |
61ad59b1314060958c6e1b1b480074e230b6ed3e |
|
19-Jul-2013 |
Lennart Poettering <lennart@poettering.net> |
man: document Slice= setting (and other fixes) |
fade1ec6e05f9f6c3718be622e259d2c8e61508c |
|
10-Jul-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: document four basic slices |
05cc726731c5cec952722f1c14acb08e3d4d5e98 |
|
03-Jul-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add more formatting markup |
5e9dfd2ef99bad1000a6246a160c096c4dbd2158 |
|
14-Jun-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add sd_j_open_files to return values section |
ab75ca91dcc6504c88931bed4e025b8b53b11c2d |
|
06-May-2013 |
Ross Lagerwall <rosslagerwall@gmail.com> |
man: fix typos in systemd.special |
8df31a9c980009d8a4e0ca51cc31174efb7e25c9 |
|
09-Apr-2013 |
Lennart Poettering <lennart@poettering.net> |
units: fix some left-over mentions of remote-fs-setup.target |
0c17fbce55a9a2ca48318a918adce4c58ae79d98 |
|
29-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
unit: replace remote-fs-setup.target by network-online.target
https://bugzilla.redhat.com/show_bug.cgi?id=787314 |
1183f9b2252d0ee45ec7ad32ba34be746ceaaf6e |
|
27-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
man: network.target is also a passive target |
dfebfe67dd66e909ec2f982177faa8d4f70acb88 |
|
26-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
man: document that the passive units cannot be pulled in mnaully |
e06e62f4a1d7a976587c4241eca157ce98d2da33 |
|
25-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
man: properly document the system targets that are also available for the user instance |
54f874c56bebfaf199f84fca4bb2650a859bfac2 |
|
25-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
man: rearrange systemd.special(7) to clarify which units are passive and which ones aren't
This also adds a short explanation paragraph for this. |
e8d2f6cde0af86eece9118718ad0a8a19e1cffec |
|
25-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
units: introduce remote-fs-setup.target to pull in dependencies from remote mounts
This introduces remote-fs-setup.target independently of
remote-fs-pre.target. The former is only for pulling things in, the
latter only for ordering.
The new semantics:
remote-fs-setup.target: is pulled in automatically by all remote mounts.
Shall be used to pull in other units that want to run when at least one
remote mount is set up. Is not ordered against the actual mount units,
in order to allow activation of its dependencies even 'a posteriori',
i.e. when a mount is established outside of systemd and is only picked
up by it.
remote-fs-pre.target: needs to be pulled in automatically by the
implementing service, is otherwise not part of the initial transaction.
This is ordered before all remote mount units.
A service that wants to be pulled in and run before all remote mounts
should hence have:
a) WantedBy=remote-fs-setup.target -- so that it is pulled in
b) Wants=remote-fs-pre.target + Before=remote-fs-pre.target -- so that
it is ordered before the mount point, normally. |
e3d84721dc9bcf9008f72dae03ff0f7842d0bb4b |
|
25-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
units: introduce new timers.target and paths.target to hook timer/path units into for boot |
9e5f0f92915b777308797294c6e103e430957b5d |
|
15-Mar-2013 |
Harald Hoyer <harald@redhat.com> |
Make initrd.target the default target in the initrd
First, rename root-fs.target to initrd-root-fs.target to clarify its usage.
Mount units with "x-initrd-rootfs.mount" are now ordered before
initrd-root-fs.target. As we sometimes construct /sysroot mounts in
/etc/fstab in the initrd, we want these to be mounted before the
initrd-root-fs.target is active.
initrd.target can be the default target in the initrd.
(normal startup)
:
:
v
basic.target
|
______________________/|
/ |
| sysroot.mount
| |
| v
| initrd-root-fs.target
| |
| v
| initrd-parse-etc.service
(custom initrd services) |
| v
| (sysroot-usr.mount and
| various mounts marked
| with fstab option
| x-initrd.mount)
| |
| v
| initrd-fs.target
| |
\______________________ |
\|
v
initrd.target
|
v
initrd-cleanup.service
isolates to
initrd-switch-root.target
|
v
______________________/|
/ |
| initrd-udevadm-cleanup-db.service
| |
(custom initrd services) |
| |
\______________________ |
\|
v
initrd-switch-root.target
|
v
initrd-switch-root.service
|
v
switch-root |
700e07ffd53083114e91bb4ba646ed26d0463f67 |
|
13-Mar-2013 |
Harald Hoyer <harald@redhat.com> |
add initrd-fs.target and root-fs.target
Instead of using local-fs*.target in the initrd, use root-fs.target for
sysroot.mount and initrd-fs.target for /sysroot/usr and friends.
Using local-fs.target would mean to carry over the activated
local-fs.target to the isolated initrd-switch-root.target and thus in
the real root. Having local-fs.target already active after
deserialization causes ordering problems with the real root services and
targets.
We better isolate to targets for initrd-switch-root.target, which are
only available in the initrd. |
4f19b1df41b9a1971989ffd858d0a2f6977b01c8 |
|
04-Feb-2013 |
Umut Tezduyar <umut@tezduyar.com> |
man: remove boot up runlevel support
As of 3cdebc217c42c8529086f2965319b6a48eaaeabe support for
distro specific boot up runlevels has been dropped. |
5d4caf565471ff3401bd9b53aa814c8545a18a93 |
|
16-Jan-2013 |
Lennart Poettering <lennart@poettering.net> |
service: ignore dependencies on $syslog and $local_fs in LSB scripts
We no longer allow early-boot init scripts, however in late boot the
syslog socket and local mounts are established anyway, so let's simplify
our dep graph a bit.
If $syslog doesn't resolve to syslog.target anymore there's no reason to
keep syslog.target around anymore. Let's remove it.
Note that many 3rd party service unit files order themselves after
syslog.target. These will be dangling dependencies now, which should be
unproblematic, however. |
a485210ce73fe1186fdc5fae481dc31773e14b3c |
|
16-Jan-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
man: typo fixes |
3f141375cb4ff4f850b267258e776c90df594990 |
|
16-Jan-2013 |
Kay Sievers <kay@vrfy.org> |
service: sysv - remove distribution specific targets
Systemd should not introduce any new facilities. Distributions which still
need to support their non-standard/legacy facilities should add them as
patches to their packaging.
The following facilities are no longer recognized:
$x-display-manager
$mail-transfer-agent
$mail-transport-agent
$mail-transfer-agent
$smtp
$null
This target is no longer available:
mail-transfer-agent.target |
aa6c53bf05f27bb094735e7bc2bbfc73ac7bc2ba |
|
15-Jan-2013 |
Lennart Poettering <lennart@poettering.net> |
man: link in wiki documentation about network.target |
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. |
669b04a492e33601e6c34a40bc96ad9ffa11c5a2 |
|
31-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
service: drop special HTTP server target, as it is a bad idea anf Fedora specific
This was premarily intended to support the LSB facility $httpd which is
only known by Fedora, and a bad idea since it lacks any real-life
usecase.
Similar, drop support for some other old Fedora-specific facilities.
Also, document the rules for introduction of new facilities, to clarify
the situation for the future. |
6524990fdc98370ecba5d9f73e67161e8798c010 |
|
28-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
logind: support for hybrid sleep (i.e. suspend+hibernate at the same time) |
eac223e1348917ac8eb0ddba740f330c3e550c5b |
|
23-Oct-2012 |
Michael Biebl <biebl@debian.org> |
man: the corresponding LSB facility to rpcbind.target is $portmap |
9980033377c105d2cd6539c9d73ee61d4c2263b0 |
|
28-Jun-2012 |
Lennart Poettering <lennart@poettering.net> |
man: add various links from man pages to appropriate wiki pages |
f5ccf26ded1fd7c3d5d9c7b6615236ae051b4a34 |
|
27-Jun-2012 |
Lennart Poettering <lennart@poettering.net> |
man: document systemd-update-generator |
0e0320e04500d1e68630b3973714f14cfb7b3450 |
|
25-Jun-2012 |
Lennart Poettering <lennart@poettering.net> |
units: rename halt/hibernate/kexec/poweroff/reboot/suspend to systed-xxx
These service units also execute our own code, hence rename the
accordingly and prefix them with systemd- |
013d8a39a6178179080bcfee9122b29cf9d29259 |
|
22-Jun-2012 |
Lennart Poettering <lennart@poettering.net> |
man: introduce bootup(7) |
49dbfa7b2b0bf3906704dac1eaeb4eba91056a19 |
|
21-May-2012 |
Lennart Poettering <lennart@poettering.net> |
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. |
6edd7d0a09171ea5ae8e01b7b1cbcb0bdfbfeb16 |
|
08-May-2012 |
Lennart Poettering <lennart@poettering.net> |
sleep: implement suspend/hibernate as first class targets |
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. |
082694b75f0217f1c5b8b89590e5018f6d8b0949 |
|
11-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
units: introduce nss-user-lookup.target
This separates user/group NSS lookups from host/network NSS lookups.
By default order all network mounts after host/network NSS lookups now,
and logind execution after user/group NSS lookups. |
feb88c9ff52b52a1fc0f075cba1215e4c2a82545 |
|
03-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
man: update documentation of special units |
96b0cb1181afba513e547a9233b7acd4ff622a94 |
|
15-Feb-2012 |
Lennart Poettering <lennart@poettering.net> |
man: systemd.special no longer needs sed logic |
bd3d19a4ea3b007bea4c94213cafd5dc37ce7a3d |
|
17-May-2010 |
Lennart Poettering <lennart@poettering.net> |
man: complete service.special(7) man page |
9f23530860942a8f94b7c535ead80c38f02424b1 |
|
16-May-2010 |
Lennart Poettering <lennart@poettering.net> |
man: document a few special units |