summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* timesync, meson: allow statically linked buildRobert Scheck2020-03-042-2/+14
| | | | | | | | | | Build option "link-timesyncd-shared" to build a statically linked systemd-timesyncd by using -Dlink-udev-shared=false -Dlink-timesyncd-shared=false on systems with full systemd stack except systemd-timesyncd, such as RHEL/CentOS 8.
* make namespace_flags_to_string() not return empty stringYu Watanabe2020-03-035-10/+5
| | | | | | | | | | This improves the following debug log. Before: systemd[1162]: Restricting namespace to: . After: systemd[1162]: Restricting namespace to: n/a.
* Merge pull request #15009 from keszybz/version-and-doc-updatesZbigniew Jędrzejewski-Szmek2020-03-0321-38/+56
|\ | | | | Version and doc updates
| * man: document that .link/.network/.netdev files have the usual ini syntaxZbigniew Jędrzejewski-Szmek2020-03-034-6/+21
| | | | | | | | Fixes #1266.
| * docs: add .link/.network/.netdev files to interface stability chartZbigniew Jędrzejewski-Szmek2020-03-031-0/+2
| | | | | | | | Fixes #9850.
| * man: document the default value for IPv6AcceptRA=Zbigniew Jędrzejewski-Szmek2020-03-031-4/+6
| | | | | | | | Fixes #14121.
| * man: specify that Domains= is a space-separated listZbigniew Jędrzejewski-Szmek2020-03-031-7/+8
| | | | | | | | Fixes #14998.
| * tree-wide: fix spelling of lookup and setup verbsZbigniew Jędrzejewski-Szmek2020-03-0311-12/+12
| | | | | | | | "set up" and "look up" are the verbs, "setup" and "lookup" are the nouns.
| * tree-wide: drop printk.devkmsg=on setting in various placesZbigniew Jędrzejewski-Szmek2020-03-034-6/+3
| | | | | | | | Since 6123dfaa72 this should not be necessary anymore.
| * man,mkosi: use glibc-minimal-langpack for FedoraZbigniew Jędrzejewski-Szmek2020-03-032-1/+2
| | | | | | | | | | This saves ~24MB of space, see https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot.
| * man: bump fedora versionsZbigniew Jędrzejewski-Szmek2020-03-031-2/+2
| |
* | Merge pull request #15002 from keszybz/sysusers-no-procZbigniew Jędrzejewski-Szmek2020-03-034-13/+111
|\ \ | | | | | | Make systemd-sysusers work if /proc is unavailable
| * | sysusers: do not require /proc to be mountedZbigniew Jędrzejewski-Szmek2020-03-031-11/+11
| | | | | | | | | | | | | | | | | | We're operating on known paths in root-owned directories here, so the detour through toctou-safe methods that require /proc to be mounted is not necessary. Should fix https://bugzilla.redhat.com/show_bug.cgi?id=1807768.
| * | basic/fs-util: add a version of chmod_and_chown that doesn not use /procZbigniew Jędrzejewski-Szmek2020-03-033-0/+92
| | |
| * | sysusers: many different errnos to express one conditionZbigniew Jędrzejewski-Szmek2020-03-031-2/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | | | See https://bugzilla.redhat.com/show_bug.cgi?id=1807768. It turns out that sysusers cannot query if the group exists: Failed to check if group dnsmasq already exists: No such process ... Failed to check if group systemd-timesync already exists: No such process When the same command is executed later, the issue does not occur. Not sure why the behaviour in the initial transaction is different. But let's accept all errors that the man pages list. We check if the user/group exists before creating anyway, so this seems pretty safe.
* | lgtm: drop the TMPDIR/meson workaroundFrantisek Sumsal2020-03-031-10/+0
| | | | | | | | | | | | | | The underlying issue seems to be fixed, so let's drop the now obsolete workarounds. Introduced in 65be7042a876ffe186a42ced04cde60ed81d3136
* | hwdb: add corrections for Olimex Teres-I to keyboard hwdbDaniel Lublin2020-03-031-0/+13
| | | | | | | | | | | | | | The firmware of the Olimex Teres-I (a DIY laptop kit) seems to have wrong scancodes. Fixes #15003.
* | Merge pull request #14874 from bluca/portable_detach_now_blockZbigniew Jędrzejewski-Szmek2020-03-032-6/+52
|\ \ | | | | | | portablectl: block when stopping a unit on detach (--now)
| * | portablectl: block when stopping a unit on detach (--now)Luca Boccassi2020-02-182-6/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | If portablectl detach --now is used, there's a possible race condition where the unit is not stopped in time before the detach is attempted, which causes it to fail. Add a DBUS call to block after starting/stopping if --now is passed, and add a --no-block parameter to skip it optionally when starting, since it is not necessary in that case for correct functioning.
* | | hwdb: 60-sensor.hwdb: Add proximity sensor udev property (#14845)Guido Günther2020-03-032-0/+5
| | | | | | | | | | | | Devices with proximity sensors can specify a near level that indicates when an object is considered close to the device.
* | | selinux: check return value of string_to_security_class()Christian Göttsche2020-03-031-0/+6
| | | | | | | | | | | | This should never happen, but better safe than sorry.
* | | drop unused translationsVladimir Yerilov2020-03-031-24/+0
| | |
* | | update Russian translationVladimir Yerilov2020-03-031-52/+324
| | |
* | | NEWS: Use correct tense in v245 entryPaul Menzel2020-03-031-1/+1
| |/ |/|
* | NEWS: two minor entriesv245-rc2Zbigniew Jędrzejewski-Szmek2020-03-031-0/+9
| |
* | NEWS: update contributors listZbigniew Jędrzejewski-Szmek2020-03-032-20/+27
| |
* | hwdb: update for v245-rc2Zbigniew Jędrzejewski-Szmek2020-03-0311-1180/+3199
| |
* | network: Move config_parse_ip_service_type to networkd-dhcp4.c andSusant Sahani2020-03-035-29/+30
| | | | | | | | rename
* | Merge pull request #14992 from keszybz/syslog-address-length-fixZbigniew Jędrzejewski-Szmek2020-03-0218-101/+120
|\ \ | | | | | | Syslog address length fix
| * | ask-password-api: drop unneeded parenthesesZbigniew Jędrzejewski-Szmek2020-03-021-2/+1
| | |
| * | core/execute: use return value from sockaddr_un_set_path(), remove duplicate ↵Zbigniew Jędrzejewski-Szmek2020-03-021-10/+10
| | | | | | | | | | | | check
| * | homed,userdb: don't use sockaddr_un_set_path() on fixed addressesZbigniew Jędrzejewski-Szmek2020-03-022-10/+8
| | | | | | | | | | | | Let's use structured initialization and let the compiler do its job.
| * | tree-wide: use the return value from sockaddr_un_set_path()Zbigniew Jędrzejewski-Szmek2020-03-0215-74/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | It fully initializes the address structure, so no need for pre-initialization, and also returns the length of the address, so no need to recalculate using SOCKADDR_UN_LEN(). socklen_t is unsigned, so let's not use an int for it. (It doesn't matter, but seems cleaner and more portable to not assume anything about the type.)
| * | test-sizeof: print size socklen_tZbigniew Jędrzejewski-Szmek2020-03-021-0/+3
| | | | | | | | | | | | | | | | | | It returns 32 bits, unsigned on amd64, so it's probably similar everywhere with glibc. But let's make the code generic, without assuming specific size or signedness.
| * | journald: fix forwarding to syslogZbigniew Jędrzejewski-Szmek2020-03-021-5/+5
| | | | | | | | | | | | | | | | | | | | | .msg_namelen was set to a bogus value before we actually stored the path in the the structure. sockaddr_un_set_path() returns the length, so just use that. Fixes #14799.
* | | RequireMountsFor in systemd-nspawn should wait for machine mountKevin P. Fleming2020-03-021-1/+1
| | | | | | | | | | | | | | | This patch modifies the RequireMountsFor setting in systemd-nspawn@.service to wait for the machine instance directory to be mounted, not just /var/lib/machines. Closes #14931
* | | Merge pull request #14991 from yuwata/man-fix-typoYu Watanabe2020-03-022-1/+2
|\ \ \ | | | | | | | | assorted tiny fixes
| * | | test-network: remove unnecessary dummy interfaceYu Watanabe2020-03-021-0/+1
| | | |
| * | | man: fix typoSusant Sahani2020-03-021-1/+1
| | | |
* | | | shared/logs-show: Remove unused OUTPUT_FOLLOWHATAYAMA Daisuke2020-03-022-70/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of the commit aae9a96d4b3a8562af9e8c6a23871b442645b954 removing --follow option in systemctl command, OUTPUT_FOLLOW has never been set anywhere. Let's remove it. The condition expression of the if-statement in show_journal() that refers to OUTPUT_FOLLOW now thus evaluates always to true. Hence, the call of sd_journal_wait() is in dead code, and the outer infinite for-loop is meaningless, which we remove as cleanup. There is no functional change by this commit.
* | | | network: make Type=ether match based on iftypeYu Watanabe2020-03-0211-36/+74
|/ / / | | | | | | | | | | | | | | | This makes Type= can match the type shown in networkctl. Closes #14952.
* | | Merge pull request #14990 from keszybz/nss-homed-fixYu Watanabe2020-03-023-3/+3
|\ \ \ | | | | | | | | Fix for lookup of groups defined by homed
| * | | userdb: fix lookup of groups defined by homedZbigniew Jędrzejewski-Szmek2020-03-011-1/+1
| | | |
| * | | Fix two typosZbigniew Jędrzejewski-Szmek2020-03-012-2/+2
| |/ /
* | | units: disable ProtectKernelLogs for machinedGuillaume Douézan-Grard2020-03-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | machined needs access to the host mount namespace to propagate bind mounts created with the "machinectl bind" command. However, the "ProtectKernelLogs" directive relies on mount namespaces to make the kernel ring buffer inaccessible. This commit removes the "ProtectKernelLogs=yes" directive from machined service file introduced in 6168ae5. Closes #14559.
* | | random-seed: add missing header for GRND_NONBLOCK (#14988)Romain Naour2020-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GRND_NONBLOCK has been introduced with the 3.17 kernel version [1] while adding getrandom(2) system call. The header missing_random.h is needed for random-seed.c when building with old toolchain, such Sourcery CodeBench ARM 2014.05 (kernel headers 3.13). Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/454255917 [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=c6e9d6f38894798696f23c8084ca7edbf16ee895
* | | po: update Polish translationPiotr Drąg2020-03-021-37/+40
| | |
* | | l10n: update Czech TranslationAsciiWolf2020-03-021-35/+31
| | |
* | | Merge pull request #14983 from ssahani/dhcp-use-routes-14982Yu Watanabe2020-03-023-32/+55
|\ \ \ | | | | | | | | network: Allow to configure GW even if UseRoutes=false
| * | | test-network: add a test case for [DHCPv4] UseRoutes=noYu Watanabe2020-03-012-0/+24
| | | |