summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* man: reference pam_systemd_home man page from systemd-homed man pageLennart Poettering2020-04-091-0/+1
| | | | They are very closely related after all.
* hwdb: Fix kbd brightness keys on Acer Predator PH 315-52Jian-Hong Pan2020-04-091-0/+5
| | | | | Acer defines Fn+F9/10 as keyboard brightness down/up on Predator PH 315-52 laptop. So, add the quirk to correct key mappings.
* Merge pull request #15345 from keszybz/systemctl-show-spacesLennart Poettering2020-04-094-17/+42
|\ | | | | Show Environment= entries with spaces in systemctl
| * systemctl: show Environment entries with whitespaceZbigniew Jędrzejewski-Szmek2020-04-091-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the Environment entries more round-trippable: a similar format is used for input and output. It is certainly more useful for users, because showing [unprintable] on anything non-trivial makes systemctl show -p Environment useless in many cases. Fixes: #14723 and https://bugzilla.redhat.com/show_bug.cgi?id=1525593. $ systemctl --user show -p Environment run-*.service Environment=ASDF=asfd "SPACE= " Environment=ASDF=asfd "SPACE=\n\n\n" Environment=ASDF=asfd "TAB=\t\\" "FOO=X X"
| * shared/escape: add new escape style with \n\t escapedZbigniew Jędrzejewski-Szmek2020-04-093-8/+30
| |
* | man: add missing varname around keywords in systemd.unit.xmlLuca Boccassi2020-04-091-1/+2
| |
* | man: explicitly note that ExecSt*Post does count for After/Before orderingLuca Boccassi2020-04-092-2/+8
| |
* | sleep: improve log msg slightlyLennart Poettering2020-04-091-1/+1
| | | | | | | | | | | | | | Let's make the log msgs a bit longer, to make clearer what is going on here... Prompted bymy attempts to debug #15354
* | Merge pull request #15368 from poettering/color-fixZbigniew Jędrzejewski-Szmek2020-04-092-2/+2
|\ \ | | | | | | minor terminal ansi color seq fixes
| * | test-terminal-util: fix typoLennart Poettering2020-04-081-1/+1
| | |
| * | terminal-util: fixate underlined yellow color tooLennart Poettering2020-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | non-underlined yellow uses RGB ANSI sequences while the underlined version uses the paletted ANSI sequences. Let's unify that and use the RGB sequence for both cases, so that underlined or not doesn't alter the color.
* | | mount-setup: change the system mount propagation to shared by default only ↵Wen Yang2020-04-093-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at bootup The commit b3ac5f8cb987 has changed the system mount propagation to shared by default, and according to the following patch: https://github.com/opencontainers/runc/pull/208 When starting the container, the pouch daemon will call runc to execute make-private. However, if the systemctl daemon-reexec is executed after the container has been started, the system mount propagation will be changed to share again by default, and the make-private operation above will have no chance to execute.
* | | Merge pull request #15331 from vcaputo/busdpiZbigniew Jędrzejewski-Szmek2020-04-092-0/+158
|\ \ \ | | | | | | | | bus: introduce some sd-bus convenience helpers
| * | | bus: introduce some sd-bus convenience helpersVito Caputo2020-04-042-0/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many of the convenience functions from sd-bus operate on verbose sets of discrete strings for destination/path/interface/member. For most callers, destination/path/interface are uniform, and just the member is distinct. This commit introduces a new struct encapsulating the destination/path/interface pointers called BusAddress, and wrapper functions which take a BusAddress* instead of three strings, and just pass the encapsulated strings on to the sd-bus convenience functions. Future commits will update call sites to use these helpers throwing out a bunch of repetitious destination/path/interface strings littered throughout the codebase, replacing them with some appropriately named static structs passed by pointer to these new helpers.
* | | | systemd-run: add --slice-inheritMarc-André Lureau2020-04-092-9/+58
| | | | | | | | | | | | | | | | Add a new option to easily place a slice within the systemd-run slice.
* | | | man: correct the default slice for systemd-run unitsLennart Poettering2020-04-091-2/+4
| | | | | | | | | | | | | | | | As suggested in #15362
* | | | Merge pull request #15234 from ssahani/mud-lldpLennart Poettering2020-04-0910-2/+137
|\ \ \ \ | |_|/ / |/| | | LLDP : Introduce Manufacturer Usage Description (MUD)
| * | | LLDP: Add support to transmit MUD URLSusant Sahani2020-04-087-1/+108
| | | |
| * | | sd-lldp: Add support to receive MUDSusant Sahani2020-04-073-1/+29
| | | |
* | | | Merge pull request #15358 from poettering/preset-clean-upAnita Zhang2020-04-071-2/+6
|\ \ \ \ | |/ / / |/| | | preset: let's clean up preset list a bit
| * | | preset: let's clean up preset list a bitLennart Poettering2020-04-071-2/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | let's make sure we list all singleton units we define in the preset list, either as disable or as enable. Only four were missing, let's add them in. Also, let's group the pstore one with the other ones that are enabled, right at the top.
* | | Merge pull request #14930 from tomhughes/dnssec-canonicaliseLennart Poettering2020-04-074-78/+136
|\ \ \ | | | | | | | | Canonicalise names in DNS responses per RFC4034 requirements
| * | | Canonicalise names in DNS responses per RFC4034 requirementsTom Hughes2020-02-242-5/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Section 6.2 of RFC4034 requires that "all uppercase US-ASCII letters in the DNS names contained within the RDATA are replaced by the corresponding lowercase US-ASCII letters" for a long list of RR types. Fixes #14891
| * | | Remove dnssec_canonicalize function which is no longer usedTom Hughes2020-02-243-73/+0
| | | |
* | | | units: add ProtectClock=yesTopi Miettinen2020-04-076-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Add `ProtectClock=yes` to systemd units. Since it implies certain `DeviceAllow=` rules, make sure that the units have `DeviceAllow=` rules so they are still able to access other devices. Exclude timesyncd and timedated.
* | | | Remove message->priority fieldZbigniew Jędrzejewski-Szmek2020-04-075-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A warning is emitted from sd_bus_message_{get,set}_priority. Those functions are exposed by pystemd, so we have no easy way of checking if anything is calling them. Just making the functions always return without doing anything would be an option, but then we could leave the caller with an undefined variable. So I think it's better to make the functions emit a warnings and return priority=0 in the get operation.
* | | | sysctl: enable coredump for suid binariesZbigniew Jędrzejewski-Szmek2020-04-072-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now the kernel will not dump anything that went through setuid or setgid. But it is routine for daemons to do that, and it makes things hard to debug. systemd-coredump saves the coredump readable by the users the process was running as. This should be enough to avoid information leakage. So let's also tell the kernel to do the coredump. For https://bugzilla.redhat.com/show_bug.cgi?id=1790972. Both patterns are stored in the same file, so they are enabled or disabled together. (Though suid_dumpable=2 is supposed to be safe even when writing to plain files.)
* | | | fix manager_stateroot2020-04-071-5/+5
| | | |
* | | | hwdb: Add accel orientation quirk for MPMAN MPWIN895CL tabletHans de Goede2020-04-071-0/+6
| | | | | | | | | | | | | | | | | | | | Add a quirk to fix the accelerometer orientation on the MPMAN MPWIN895CL tablet.
* | | | Merge pull request #15349 from keszybz/doc-workLennart Poettering2020-04-073-5/+12
|\ \ \ \ | | | | | | | | | | Remove stray file and fix two minor issues in man pages
| * | | | man: update rulesZbigniew Jędrzejewski-Szmek2020-04-061-3/+10
| | | | | | | | | | | | | | | | | | | | Apparently this step was forgotten in 935052a8aa11329061cbee234c99b03973163594.
| * | | | Remove stray fileZbigniew Jędrzejewski-Szmek2020-04-061-0/+0
| | | | |
| * | | | man: drop apostophe from section titleZbigniew Jędrzejewski-Szmek2020-04-061-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For whatever reason, this does not get rendered propely in the man page and results in an invalid code: W: manual-page-warning /usr/share/man/man7/systemd.special.7.gz 103: warning: macro `AQ' not defined We say 'user manager' and 'system manager' in most other places, so let's just use this form here too.
* | | | hwdb: Update database of Bluetooth company identifiersMarcel Holtmann2020-04-051-68/+3623
| | | |
* | | | oss-fuzz: point the badge directly to our logsEvgeny Vereshchagin2020-04-041-1/+1
| | | |
* | | | semaphore: switch to upstream-ciEvgeny Vereshchagin2020-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | "debian/master" has been broken since https://salsa.debian.org/systemd-team/systemd/-/commit/d6483013d5779d4d465a1e174e44a754b941d0e6 was merged.
* | | | detect-virt: also detect "microsoft" as WSLZbigniew Jędrzejewski-Szmek2020-04-041-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From https://github.com/microsoft/WSL/issues/423#issuecomment-221627364: > it's unlikely we'll change it to something that doesn't contain "Microsoft" > or "WSL". ... but well, it happened. If they change it incompatibly w/o adding an stable detection mechanism, I think we should not add yet another detection method. But adding a different casing of "microsoft" is not a very big step, so let's do that. Follow-up for #11932.
* | | | Merge pull request #15298 from keszybz/show-property-valueLennart Poettering2020-04-046-29/+42
|\ \ \ \ | |_|/ / |/| | | systemctl --property-value as shortcut for --property --value
| * | | test: use show -P in placesZbigniew Jędrzejewski-Szmek2020-04-034-22/+22
| | | | | | | | | | | | | | | | | | | | Not all places are converted on purpose, to also test the other option name.
| * | | systemctl: add -P as short for --value --property=Zbigniew Jędrzejewski-Szmek2020-04-032-7/+20
| | | |
* | | | Merge pull request #15321 from topimiettinen/dbus-execute-add-protect-clockAnita Zhang2020-04-031-0/+1
|\ \ \ \ | | | | | | | | | | dbus-execute: show also ProtectClock
| * | | | dbus-execute: show also ProtectClockTopi Miettinen2020-04-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Show also `ProtectClock=` setting. This also lets `systemd-analyze security` get the correct state for it.
* | | | | Merge pull request #15290 from keszybz/unrelated-fixesAnita Zhang2020-04-033-10/+11
|\ \ \ \ \ | | | | | | | | | | | | Three unrelated minor tweaks
| * | | | | man: add note that --no-hostname has limited effectZbigniew Jędrzejewski-Szmek2020-04-011-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clearly there is some confusion about the intent of this option, let's add a short note. https://bugzilla.redhat.com/show_bug.cgi?id=1819313
| * | | | | journal-remote: fix description of optionZbigniew Jędrzejewski-Szmek2020-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We use whatever compression is configured, most often not XZ.
| * | | | | sd-bus: simplify bus_maybe_reply_errorZbigniew Jędrzejewski-Szmek2020-03-311-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sd_bus_reply_method_errno already does the same two checks (sd_bus_error_is_set(error), r < 0) internally. But it did them in opposite order. The effect is the same, because sd_bus_reply_method_errno falls back to sd_bus_reply_method_error, but it seems inelegant. So let's simplify bus_maybe_reply_error() to offload the job fully to sd_bus_reply_method_errno(). No functional change.
* | | | | | Merge pull request #15297 from poettering/homed-no-fallocateAnita Zhang2020-04-031-26/+44
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | homed: fall back to ftruncate() if fallocate() is not supported on ba…
| * | | | | homed: fall back to ftruncate() if fallocate() is not supported on backing fsLennart Poettering2020-04-011-26/+44
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This means "discard" mode is enabled implicitly on such simpler backing fs. Fixes: #15059
* | | | | Merge pull request #15315 from DaanDeMeyer/deprecate-sd-bus-priorityZbigniew Jędrzejewski-Szmek2020-04-035-42/+15
|\ \ \ \ \ | | | | | | | | | | | | sd-bus: Deprecate priority functions
| * | | | | sd-bus: remove unused priority logicDaan De Meyer2020-04-021-14/+10
| | | | | |