f17fd655144d080279b0c14d973b9db169a88976 |
|
19-Oct-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
man: systemd-tmpfiles requires absolute filenames
`systemd-tmpfiles --clean ./some.conf` doesn't work:
Failed to open './some.conf', ignoring: No such file or directory
`systemd-tmpfiles --clean $(realpath ./some.conf)` works fine. |
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 |
79ca888f5ad026b5b3844c05a80401905e64e2f0 |
|
28-Jan-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
tmpfiles: fix help text
The help text, apart from being too long, did not describe what the options
really do. |
df99a9ef5bb7a89b92ccfb103b2f3e7046c62ef5 |
|
25-Jan-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
tmpfiles: do not bump access times of directories we are cleaning up
Both plain opendir() and glob() will bump access time. Privileged
option O_NOATIME can be used to prevent the access time from being
updated. We already used it for subdirectories of the directories
which we were cleaning up. But for the directories specified directly
in the config files, we wouldn't do that. This means that,
paradoxically, our own temporary directories for PrivateTmp would stay
around forever, as long as one let systemd-tmpfiles-clean.service run
regularly, because they had their own glob patterns specified.
https://bugzilla.redhat.com/show_bug.cgi?id=1183684 |
d35d791950ddf676d20ffaef43d02eaca1b0d027 |
|
23-Jan-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: bring tmpfiles.d(5) in line with code |
cf9a4abdc24c43565d0890fcb88c00169057c0c4 |
|
14-Mar-2014 |
Michael Marineau <michael.marineau@coreos.com> |
tmpfiles: add --root option to operate on an alternate fs tree
This makes it possible to initialize or cleanup an arbitrary filesystem
hierarchy in the same way that it would be during system boot. |
dfdebb1b925332352966804303b2516a6506a429 |
|
21-Feb-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: xinclude --help/--version/--no-pager |
818156512411835a4a7f070e6fec3d7b80e1f629 |
|
30-Dec-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
tmpfiles: rename --unsafe to --boot
As suggested by Kay, it is better to describe what is done,
not what might happen. |
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. |
c4708f132381e4bbc864d5241381b5cde4f54878 |
|
24-Dec-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
tmpfiles: introduce the concept of unsafe operations
Various operations done by systemd-tmpfiles may only be safely done at
boot (e.g. removal of X lockfiles in /tmp, creation of /run/nologin).
Other operations may be done at any point in time (e.g. setting the
ownership on /{run,var}/log/journal). This distinction is largely
orthogonal to the type of operation.
A new switch --unsafe is added, and operations which should only be
executed during bootup are marked with an exclamation mark in the
configuration files. systemd-tmpfiles.service is modified to use this
switch, and guards are added so it is hard to re-start it by mistake.
If we install a new version of systemd, we actually want to enforce
some changes to tmpfiles configuration immediately. This should now be
possible to do safely, so distribution packages can be modified to
execute the "safe" subset at package installation time.
/run/nologin creation is split out into a separate service, to make it
easy to override.
https://bugzilla.redhat.com/show_bug.cgi?id=1043212
https://bugzilla.redhat.com/show_bug.cgi?id=1045849 |
ef72c1f06e2bc696a799cd31a1e0ed25cc999ea4 |
|
24-Dec-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man,units: tmpfiles.d(5) cleanup
Condition for /lib (necessary for split /usr) was missing from the unit.
Some changes which were done in tmpfiles.d(5) were not carried over to
systemd-tmpfiles(1).
Also use markup where possible. |
eb9da376d76b48585b3b63b4f91903b54f7abd36 |
|
06-Nov-2013 |
Lennart Poettering <lennart@poettering.net> |
clients: unify how we invoke getopt_long()
Among other things this makes sure we always expose a --version command
and show it in the help texts. |
265ffa1e05acf12769a64d0734fd2472237c03c5 |
|
17-Sep-2013 |
Lennart Poettering <lennart@poettering.net> |
tmpfiles: add a new "m" line type that adjusts user/group/mode of a file if it exists |
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) |
5c7951141fa9f33e1b97de97586cc16bce2776e0 |
|
24-Jul-2013 |
Dave Reisner <dreisner@archlinux.org> |
tmpfiles: introduce --exclude-prefix
The opposite of --prefix, allows specifying path prefixes which should
be skipped when processing rules. |
a2aced4add1964f82cfd250f1fee8de9d974b507 |
|
24-Jul-2013 |
Dave Reisner <dreisner@archlinux.org> |
tmpfiles: support passing --prefix multiple times |
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'.] |
195f8e36122b83bbfef27bf63afe888e7101a320 |
|
23-Apr-2013 |
Umut Tezduyar <umut@tezduyar.com> |
man: link systemd-tmpfiles-setup-dev.service |
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. |
ff5d32c875fe5507db2004d3c22fe77cbc7eab0d |
|
27-Jun-2012 |
Lennart Poettering <lennart@poettering.net> |
man: document unit names in systemd-tmpfiles(8) |
ca2e894bdbd06b43800b57074be0e499a3539b0d |
|
10-Jun-2012 |
Kay Sievers <kay@vrfy.org> |
tmpfiles: print error if basename lookup fails; document it in manpage |
6110885c2c4b7c576ac5819af5416ec54200d8e3 |
|
10-Jun-2012 |
Kay Sievers <kay@vrfy.org> |
man: systemd-tmpfiles - document proper config-file-stack order |
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. |
777b87e702197ad1f2d0f2a3aea5271d18062c5c |
|
16-Dec-2011 |
Michal Schmidt <mschmidt@redhat.com> |
tmpfiles: add 'z', like 'Z' but not recursive |
062e01bbdbc3201e4c99bc0b702cb04a0ae2190c |
|
16-Dec-2011 |
Michal Schmidt <mschmidt@redhat.com> |
tmpfiles: apply chown, chmod for 'Z' entries too
If changing ownership or permissions is not desired, they can be
configured to '-' or omitted entirely. |
462d63db0680c2b69d5426ded197342372ebe309 |
|
16-Dec-2011 |
Michal Schmidt <mschmidt@redhat.com> |
man: document 'Z' in tmpfiles |
8b7d2212082da89d7759a9d39d808549023b0b6b |
|
01-Aug-2011 |
Ville Skyttä <ville.skytta@iki.fi> |
man: Fix command name in systemd-tmpfiles example. |
4e7f8bc81c6422c59ab644fcea28b6f32be416e9 |
|
11-Jul-2011 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: un-reverse IgnoreOnSnapshot description
I think that snapshots & devices are actually _not_ captured in
snapshots. |
8f28cbcdfe55bdaaa3e8f9c68f39b1369dd0e5dd |
|
23-Apr-2011 |
A. Costa <agcosta@gis.net> |
man: Spelling fixes |
522d4a495af3a615526fccdf038d2d68f41a73c8 |
|
13-Feb-2011 |
Lennart Poettering <lennart@poettering.net> |
systemd: document systemd-tmpfiles |