summaryrefslogtreecommitdiffstats
path: root/units/local-fs.target (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-11-03tests: add a basic test for wireguard (#10631)Evgeny Vereshchagin2-2/+29
2018-11-03docs: Fix a typo in CODING_STYLE.md (#10630)Felix Yan1-1/+1
2018-11-03tests: mark a few tests as expected failures when the required modules ↵Evgeny Vereshchagin1-0/+14
aren't available Closes https://github.com/systemd/systemd/issues/10617.
2018-11-02tests: make NetworkdNetWorkTests.test_routing_policy_rule pass on CentOSEvgeny Vereshchagin1-1/+1
Depending on the content of /etc/iproute2/rt_dsfield, ip can print either `0x08` or `throughput` as was shown in https://github.com/systemd/systemd/issues/10617#issuecomment-435200859.
2018-11-02po: drop my copyright (fr.po)Sylvain Plantefève1-1/+0
2018-11-02po: update French translationSylvain Plantefève1-4/+11
2018-11-02coredump: only install coredump.conf when ENABLED_COREDUMP=trueFranck Bui1-2/+4
2018-11-02networkd: add missing bonding options (#10542)Tobias Jungel9-11/+186
Add support for bonding options system prio, port key and actor system mac. These options exist in the linux kernel since 4.2 (torvalds/linux@171a42c38c6e1) Details: https://www.kernel.org/doc/Documentation/networking/bonding.txt
2018-11-01network: drop white space in log messageYu Watanabe1-1/+1
2018-11-01network: fix hash function for routing policy ruleYu Watanabe1-2/+2
2018-11-01network: fix return value of routing_policy_rule_get()Yu Watanabe2-2/+2
To distinguish source of rule.
2018-11-01network: fix memleak in routing policyYu Watanabe1-2/+3
As set_put() may fail if input is duplicated.
2018-11-01network: fix memleak in static prefixYu Watanabe1-1/+3
Fixes #10608.
2018-11-01network: fix segfault in manager_free()Yu Watanabe1-2/+4
Fixes #10605.
2018-10-31man: Fix a couple grammatical errorsMatthew Leeds1-2/+2
2018-10-31nspawn: beef up netns checking a bit, for compat with old kernelsLennart Poettering3-7/+56
Fixes: #10544
2018-10-31ask-password: check keyring in ask_password_tty and ask_password_agentXiang Fan5-42/+95
A race condition happens when calling ask_password_auto() multiple times to unlock several disks on boot and effectively no password caching is utilized. This patch fixes it by polling the cache when waiting for the password.
2018-10-31nspawn: add proper error message if setns() on network namespace fd failsLennart Poettering1-1/+1
Addresses: https://github.com/systemd/systemd/pull/10589#issuecomment-434670595
2018-10-31l10n: Add Lithuanian translation (#10590)welaq2-0/+692
Create lt.po
2018-10-31po: drop my copyrightYu Watanabe1-1/+0
2018-10-31network: also monitor udev 'change' event for network interfacesYu Watanabe1-2/+11
If networkd starts earlier than all network interfaces are initialized, then uninitialized interfaces are staying in pending state and cannot become up. With this, such interfaces are started after receiving 'change' event.
2018-10-31core: apply WorkingDirectory after enforce_userJoerg Behrmann1-5/+6
If WorkingDirectory is on NFS, root might only have the privileges of nobody and the chdir to the WorkingDirectory might fail, even if the user running the service would have the proper privileges to chdir to that directory. Fixes #10568
2018-10-31units: remove unused busnames.targetAlan Jenkins1-12/+0
I found zero references to busnames.target, using git grep "busnames". (And we do not install using a wildcard units/*.*. There is no busnames.target installed on my Fedora 28 system).
2018-10-31po: drop duplicate "This file is distributed under..." linesZbigniew Jędrzejewski-Szmek25-25/+0
The header already says "LGPL-2.1+", so there is no need to repeat the same thing more ambiguously.
2018-10-31Drop copyright for Marius VollmerZbigniew Jędrzejewski-Szmek1-3/+0
Ack in #9320.
2018-10-31Drop copyright for Piotr DrągZbigniew Jędrzejewski-Szmek4-6/+0
Ack in #9320. Also drop some lines with my name.
2018-10-31po: Update Turkish translationMuhammet Kara1-8/+12
2018-10-31dissect: do not store unused devnumYu Watanabe1-3/+1
2018-10-31udev-event: fix timeout log messagesYu Watanabe1-4/+4
Follow-up for e81c3a4c5fbbea89fe6c1e3d0ace669b8130aa92.
2018-10-31udev-event: do not store unused devnumYu Watanabe1-4/+2
2018-10-31udev-event: check whether device has devnum before calling udev_node_remove()Yu Watanabe1-7/+2
This fixes a bug in 'remove' event handling, which was introduced by eb1f9e30ec603ab34631cc3adba1def49485b505, as 'devnum' variable may not be initialized.
2018-10-31danish to Danish (#10584)scootergrisen1-1/+1
2018-10-30catalog: update Polish translationPiotr Drąg1-2/+4
2018-10-30docs: Update links to updated docsFaheel Ahmad4-10/+10
2018-10-30core: don't drop timer expired but not yet processed when system date is changedInsun1-9/+9
There is difference between time set by the user and real elapsed time because of accuracy feature. If you change the system date(or time) between these times, the timer drops. You can easily reproduce it with the following command. ----------------------------------------------------------- $ systemd-run --on-active=3s ls; sleep 3; date -s "`date`" ----------------------------------------------------------- In the following command, the problem is rarely reproduced. But it exists. --------------------------------------------------------------------------------------------- $ systemd-run --on-active=3s --timer-property=AccuracySec=1us ls ; sleep 1; date -s "`date`" --------------------------------------------------------------------------------------------- Note : Global AccuracySec value. ---------------------------------------------------------------------- $ cat /etc/systemd/system.conf DefaultTimerAccuracySec=1min ----------------------------------------------------------------------
2018-10-30man: document what "in-memory" units meansLennart Poettering1-0/+19
Fixes: #10338
2018-10-30man: document that "list-dependencies --reverse" is pretty incompleteLennart Poettering1-0/+4
Fixes: #9681
2018-10-30man: emphasize the ReadOnlyPaths= mount propagation "hole"Lennart Poettering1-15/+22
This changes the ProtectSystem= documentation to refer in more explicit words to the restrictions of ReadOnlyPath=, as sugegsted in #9857. THis also extends the paragraph in ReadOnlyPath= that explains the hole. Fixes: #9857
2018-10-30man: document that various sandboxing settings are not available in --user ↵Lennart Poettering1-0/+5
services This is brief and doesn't go into detail, but should at least indicate to those searching for it that some stuff is not available. Fixes: #9870
2018-10-30man: document relationship of .socket units and network namespacesLennart Poettering1-0/+12
Fixes: #10018
2018-10-30man: don't claim that AssertXYZ= expressions failing had an effect on unit stateLennart Poettering1-9/+17
In the documentation for ConditionXYZ= we claimed that AssertXYZ= would have an effect on unit state (which is wrong), while at the documentation for AssertXYZ= we said it only has an effect on the job, but not the unit (which is right). Let's fix this contradiction, and only claim the latter. Also, fix a couple of other things (for example, stop talking about a "failure state", but let's just expressly called it "the 'failed' state", as that's the actual name of that state. Finally, let's emphasize again when the conditions/assertions are executed, and that they hence are not useful to conditionalize deps. Fixes: #10433
2018-10-30man: document that "systemctl reset-failed" also reset the start limit countersLennart Poettering1-0/+6
Fixes: #10529
2018-10-30core: skip unit deserialization and move to the next one when ↵Franck Bui1-38/+50
unit_deserialize() fails If unit_deserialize() fails (because one read line is overly long), it returns an error and we would have assumed that the next read would point to the next unit to deserialize. But instead unit_deserialize() can leave the file offset in the middle of a line. Therefore we need to ignore and skip the current unit in this case too. While at it, move unit deserialization in a dedicated functions. That should make the code easier to read.
2018-10-30docs: Convert HACKING to MarkdownFaheel Ahmad2-122/+123
Also fix minor grammatical errors
2018-10-30docs: Convert CODING_STYLE to MarkdownFaheel Ahmad2-464/+495
Also fix minor grammatical errors
2018-10-30fuzz-compress: add fuzzer for compression and decompressionZbigniew Jędrzejewski-Szmek2-0/+84
2018-10-30journal: adapt for new improved LZ4_decompress_safe_partial()Zbigniew Jędrzejewski-Szmek2-23/+37
With lz4 1.8.3, this function can now decompress partial results into a smaller buffer. The release news don't say anything interesting, but the test case that was previously failing now works OK. Fixes #10259. A test is added. It shows that with *older* lz4, a partial decompression can occur with the returned size smaller then the requested number of bytes _and_ smaller then the size of the compressed data: (lz4-libs-1.8.2-1.fc29.x86_64) Compressed 4194304 → 16464 Decompressed → 4194304 Decompressed partial 12/4194304 → 4194304 Decompressed partial 1/1 → -2 (bad) Decompressed partial 2/2 → -2 (bad) Decompressed partial 3/3 → -2 (bad) Decompressed partial 4/4 → -2 (bad) Decompressed partial 5/5 → -2 (bad) Decompressed partial 6/6 → 6 (good) Decompressed partial 7/7 → 6 (good) Decompressed partial 8/8 → 6 (good) Decompressed partial 9/9 → 6 (good) Decompressed partial 10/10 → 6 (good) Decompressed partial 11/11 → 6 (good) Decompressed partial 12/12 → 6 (good) Decompressed partial 13/13 → 6 (good) Decompressed partial 14/14 → 6 (good) Decompressed partial 15/15 → 6 (good) Decompressed partial 16/16 → 6 (good) Decompressed partial 17/17 → 6 (good) Decompressed partial 18/18 → -16459 (bad) (lz4-libs-1.8.3-1.fc29.x86_64) Compressed 4194304 → 16464 Decompressed → 4194304 Decompressed partial 12/4194304 → 12 Decompressed partial 1/1 → 1 (good) Decompressed partial 2/2 → 2 (good) Decompressed partial 3/3 → 3 (good) Decompressed partial 4/4 → 4 (good) ... If we got such a short "successful" decompression in decompress_startswith() as implemented before this patch, we could be confused and return a false negative result. But it turns out that this only occurs with small output buffer sizes. We use greedy_realloc() to manager the buffer, so it is always at least 64 bytes. I couldn't hit a case where decompress_startswith() would actually return a bogus result. But since the lack of proof is not conclusive, the code for *older* lz4 is changed too, just to be safe. We cannot rule out that on a different architecture or with some unlucky compressed string we could hit this corner case. The fallback code is guarded by a version check. The check uses a function not the compile-time define, because there was no soversion bump in lz4 or new symbols, and we could be compiled against a newer lz4 and linked at runtime with an older one. (This happens routinely e.g. when somebody upgrades a subset of distro packages.)
2018-10-30hwdb: Apply the same quirk to all the lis3lv02d devicesBastien Nocera1-2/+6
HP laptops and desktop containing the lis3lv02d device (as supported by the drivers/platform/x86/hp_accel.c driver) are supposed to output their values according to their "standard" orientation, one that corresponds to "can play neverball". For all those devices, we need to convert that "neverball" orientation to a "Windows 8" orientation. We will not accept quirks for HP machines that use the lis3lv02d device, they should go in the hp_accel.c driver instead. Closes: #5160
2018-10-30hwdb: add a click angle entry for the Logitech MX Anywhere 2sPeter Hutterer1-0/+2
2018-10-30test-compress: add test for short decompress_startswith callsZbigniew Jędrzejewski-Szmek1-0/+32
I thought this might fail with lz4 < 1.8.3, but it seems that because of greedy_realloc, we always use a buffer that is large enough, and it always passes.