Commit Graph

68 Commits

Author SHA1 Message Date
Lennart Poettering b4f607433c hashmap: add an environment variable to turn off the memory pool used by hashmaps
Triggered by https://bugzilla.redhat.com/show_bug.cgi?id=1609349
2018-08-03 17:36:11 +02:00
Zbigniew Jędrzejewski-Szmek 54fe2ce1b9
Merge pull request #9504 from poettering/nss-deadlock
some nss deadlock love
2018-07-26 10:16:25 +02:00
Jon Ringle fbb48d4c66 Make final kill signal configurable
Usecase is to allow changing the final kill from SIGKILL to SIGQUIT which
should create a core dump useful for debugging why the service didn't stop
with the SIGTERM
2018-07-23 13:44:54 +02:00
Josh Soref 7957e55d05 Minor grammar changes
mostly inserting / removing commas / periods as appropriate.
occasionally fixing duplicated words, proper brand case, and singular/plurals.
2018-07-20 22:18:39 +02:00
Lennart Poettering 3992221767 doc: document the two new env vars set by the service manager 2018-07-20 16:57:35 +02:00
Yu Watanabe 385b2eb262 sd-bus: make BUS_DEFAULT_TIMEOUT configurable
This adds sd_bus_{get,set}_method_call_timeout().
If the timeout is not set or set to 0, then the timeout value is
parsed from $SYSTEMD_BUS_TIMEOUT= environment variable. If the
environment variable is not set, then built-in timeout is used.
2018-07-16 15:11:50 +02:00
Jan Janssen 82ec19a47d bls: Allow options to be used more than once
This just documents what we already allow anyways.
2018-07-13 19:36:38 +02:00
Yu Watanabe 31f06f56a7 doc: list PrivateMounts= in TRANSIENT-SETTINGS.md
Follow-up for #9153.
2018-07-13 19:29:38 +02:00
Tejun Heo 4842263577 core: add MemoryMin
The kernel added support for a new cgroup memory controller knob memory.min in
bf8d5d52ffe8 ("memcg: introduce memory.min") which was merged during v4.18
merge window.

Add MemoryMin to support memory.min.
2018-07-12 08:21:43 +02:00
Zbigniew Jędrzejewski-Szmek 7f1fc7c6d4 bls: allow firmware-supported file systems
This copies the text from Matthew Garrett's version verbatim. At
least MacOS uses HFS+ for their ESP.
2018-06-25 15:39:54 +02:00
Evegeny Vereshchagin 8cc9d18881 docs: put LGTM on the list of QA tools and fix a couple typos 2018-06-25 14:13:53 +09:00
Lennart Poettering 48a7ebb877 doc: document the `architecture` setting 2018-06-20 16:56:01 +02:00
Lennart Poettering 1d8a48e8e3 doc: allow multiple initrd entries per BLS snippet
sd-boot already supports that anyway, and the Fedora folks asked for
this on the fedora mailing list, hence let's simply add this.
2018-06-20 16:56:01 +02:00
Lennart Poettering a893ec6a93 doc: update BLS links list
let's make these proper links
2018-06-20 16:56:01 +02:00
Lennart Poettering 4f4226283b doc: add a second indentation level to partition list, to separate MBR and GPT partitions 2018-06-20 16:56:01 +02:00
Zbigniew Jędrzejewski-Szmek 8ce2809248 Merge the "boot loader specification" wiki page 2018-06-19 14:03:25 +02:00
Zbigniew Jędrzejewski-Szmek 889cb0ab75 Add description of field correspondence 2018-06-19 13:53:42 +02:00
Zbigniew Jędrzejewski-Szmek bc2e7c84e1 Also add link to the systemd-boot man page
Note that the link is dead right now, because we haven't released v239
which contains the rename sd-boot → systemd-boot.
2018-06-19 13:15:25 +02:00
Zbigniew Jędrzejewski-Szmek 5be7bfbcb9 Add a description of unified kernel images 2018-06-19 13:15:25 +02:00
Zbigniew Jędrzejewski-Szmek 0e73c3faaf Rename sd-boot to systemd-boot
C.f. 70c8db7555.
2018-06-19 13:12:31 +02:00
Zbigniew Jędrzejewski-Szmek 6e6b351b2a Wording and formatting updates
UTF-8 is not a character set. Unicode is the character set. UTF-* are encodings.
2018-06-19 13:12:29 +02:00
Zbigniew Jędrzejewski-Szmek eba6b1508d BLS: allow /boot, /efi, and mention /boot/efi 2018-06-19 12:36:21 +02:00
Zbigniew Jędrzejewski-Szmek 59716390d4 BLS: remove trailing whitespace 2018-06-19 12:36:21 +02:00
Zbigniew Jędrzejewski-Szmek c9eed57e53 Reference sd-boot/bootctl instead of gummiboot
https://github.com/systemd/systemd/issues/2751
2018-06-19 12:36:21 +02:00
Harald Hoyer 71d6ef5500 Update link to grub2 patch 2018-06-19 12:36:21 +02:00
Lennart Poettering e1fe8be687 Require a VFAT filesystem 2018-06-19 12:36:21 +02:00
Lennart Poettering c3c5eeca0f Rename back to "The Boot Loader Specification" 2018-06-19 12:36:21 +02:00
Lennart Poettering bfd88d9615 Add table of GPT identifiers 2018-06-19 12:36:21 +02:00
Lennart Poettering 5b41167575 Rename to "The Discoverable Partitions Specification" 2018-06-19 12:36:21 +02:00
Kay Sievers 0d69e91384 Drop 'fdt', 'devicetreedir', 'fdtdir' description again 2018-06-19 12:36:21 +02:00
Harald Hoyer a69d65000a Update 'devicetreedir' description 2018-06-19 12:36:21 +02:00
Harald Hoyer 91515d280f Add fdt, devicetreedir and fdtdir 2018-06-19 12:36:21 +02:00
Kay Sievers 06614a224c Add 'devicetree' 2018-06-19 12:36:21 +02:00
Kay Sievers 4bf77b763b Update formatting 2018-06-19 12:36:21 +02:00
Colin Guthrie d786567d09 Fix Fedora Grub2 Boot Loader Speficiation patch 2018-06-19 12:36:21 +02:00
Kay Sievers fb6475c28f Add links 2018-06-19 12:36:21 +02:00
Harald Hoyer 9b58043453 Split paragraphs 2018-06-19 12:36:21 +02:00
Harald Hoyer 86b70d7288 fixed example file 2018-06-19 12:36:21 +02:00
Harald Hoyer 2dd8d4a144 moin2mdwn: convert page Specifications/BootLoaderSpec
[zj: change file path and name and extension]
2018-06-19 12:35:50 +02:00
Zbigniew Jędrzejewski-Szmek 0cd41d4dff Drop my copyright headers
perl -i -0pe 's/\s*Copyright © .... Zbigniew Jędrzejewski.*?\n/\n/gms' man/*xml
git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/(#\n)?# +Copyright © [0-9, -]+ Zbigniew Jędrzejewski.*?\n//gms'
git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s*\/\*\*\*\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*?\s*\*\*\*\/\s*/\n\n/gms'
git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*//gms'
2018-06-14 13:03:20 +02:00
Lennart Poettering 96b2fb93c5 tree-wide: beautify remaining copyright statements
Let's unify an beautify our remaining copyright statements, with a
unicode ©. This means our copyright statements are now always formatted
the same way. Yay.
2018-06-14 10:20:21 +02:00
Michael Biebl e59886007e doc: typo fixes, mostly duplicated words 2018-06-12 15:49:37 +02:00
Zbigniew Jędrzejewski-Szmek 5cadf58eb8 NEWS, CODE_QUALITY: wording fixes
No additions, just moving stuff around and wording cleanups.
2018-06-12 14:06:13 +02:00
Lennart Poettering 8b9e4b2136 doc: extend CODE_QUALITY.md with two more items 2018-06-12 13:05:38 +02:00
Zbigniew Jędrzejewski-Szmek d40f5cc498 CODING_STYLE: allow c99-style mixed code and declarations
We already allowed variables to be declared in the middle of a function
(whenever a new scope was opened), so this isn't such a big change. Sometimes
we would open a scope just to work around this prohibition.

But sometimes the code can be much clearer if the variable is declared
somewhere in the middle of a scope, in particular if the declaration is
combined with initialization or acquisition of some resources. So let's allow
this, but keep things in the old style, unless there's a good reason to move
the variable declaration to a different place.
2018-06-07 16:42:34 +02:00
Lennart Poettering ecb462dbf5 HACKING: link up CODE_QUALITY.md 2018-06-07 16:26:00 +02:00
Lennart Poettering 7c2c028c85 doc: add a list of code quality tools we have set up
Also, as a reminder all of these exist to myself.
2018-06-07 16:22:22 +02:00
Zbigniew Jędrzejewski-Szmek b99bfb1354 doc: fix quoting
Noticed by Craig Barnes.
2018-05-26 17:02:53 +02:00
Lennart Poettering 44d565ed36 doc: add introductory docs for portable services 2018-05-24 17:01:57 +02:00
Zbigniew Jędrzejewski-Szmek 6b1ca2a948
Merge pull request #8898 from poettering/nspawn-mount-block
some nspawn cgroup and mount lock-down fixes
2018-05-08 12:54:58 +02:00