1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00
Commit Graph

49242 Commits

Author SHA1 Message Date
Dan Streetman
4326586be2 test: remove unused 'basedir' var from integration test makefiles 2021-01-26 16:05:49 -05:00
Luca Boccassi
e953dcab39
Merge pull request #18384 from poettering/mangle-os-fix
import: two fixes to OS mangling logic
2021-01-26 20:23:52 +00:00
Yu Watanabe
f0d87798ea test-network: retry several times if expected LLDP info is not obtained
As LLDP thing does not get involved in the link status, `networkctl lldp`
may not provide an expected information even if the link is in
'configured' state.

Fixes #17360.
2021-01-26 18:48:44 +01:00
Lennart Poettering
0de405873c
Merge pull request #18377 from yuwata/sd-device-cleanups
sd-device: several tiny cleanups
2021-01-26 17:39:54 +01:00
Lennart Poettering
04a853848e
Merge pull request #18382 from yuwata/fix-downgrade-to-bool
sd-device,sd-netlink: trivial cleanups
2021-01-26 17:38:19 +01:00
Lennart Poettering
0ca04e5fdc import-common: when mangling OS trees, propagate ownership/mode from subdir to parent
After all we want to remove the top-level dir, and make it look like the
only subdir, hence propagate the attributes from the subdir to the
top-level dir.
2021-01-26 17:33:43 +01:00
Lennart Poettering
dda859f84c import-common: fix log message string
The trees do look like directory trees, obviously. But they don't like
OS trees.
2021-01-26 17:31:31 +01:00
Yu Watanabe
190d05c0e7 network: drop unnecessary condition in error path
See neigh_add() in kernel. It does not return EEXIST.
2021-01-27 01:28:28 +09:00
Yu Watanabe
4816e7bb75 network: drop wrong flag for neighbor entry
NLM_F_REQUEST is a nlmsg flag, not a neighbor flag.
2021-01-27 01:28:28 +09:00
Yu Watanabe
cff0cadcac test-network: add tests for IPv6ProxyNDPAddress= 2021-01-27 01:28:28 +09:00
Yu Watanabe
49f2369377 sd-device: do not use downgrade-to-bool feature 2021-01-27 00:01:02 +09:00
Yu Watanabe
d6ae82bdd9 sd-netlink: fix indentation 2021-01-26 23:58:08 +09:00
Yu Watanabe
22d33e8090 sd-netlink: do not use downgrade-to-bool feature 2021-01-26 23:57:59 +09:00
Yu Watanabe
679dab6a8f docs/ENVIRONMENT: move entry for systemd-udevd
`$SYSTEMD_REBOOT_TO_FIRMWARE_SETUP=` or friends are for logind.
2021-01-26 13:45:47 +00:00
Yu Watanabe
ce634c4a4d sd-device: use size_t for index in the loop 2021-01-26 20:35:53 +09:00
Yu Watanabe
61c0972dad sd-device: use string_hash_ops_free_free 2021-01-26 20:26:33 +09:00
Yu Watanabe
327379f5f2 sd-device: add a short comment why we simply return negative errno here on failure 2021-01-26 20:07:38 +09:00
Yu Watanabe
4f1ef7f9e0 sd-device: rename variables and use TAKE_PTR() 2021-01-26 19:56:13 +09:00
Yu Watanabe
dd75bbee43 sd-device: use string_hash_ops_free_free 2021-01-26 19:52:56 +09:00
Franck Bui
d481b83052 sysusers: flush nscd's caches whenever /etc/{passwd,group} are modified 2021-01-26 11:21:49 +01:00
Frantisek Sumsal
77c93e0a4e
Merge pull request #18374 from mrc0mmand/assorted-ci-tweaks
Assorted CI tweaks
2021-01-25 21:50:09 +01:00
Frantisek Sumsal
54cf684f5f ci: use the recommended meson syntax
See: docs/HACKING.md
2021-01-25 16:01:56 +01:00
Frantisek Sumsal
753803a66c ci: drop an unnecessary sudo 2021-01-25 15:49:27 +01:00
Frantisek Sumsal
c0c6809663 ci: make the script names a bit more consistent 2021-01-25 15:45:36 +01:00
Yu Watanabe
4c6eb1d77d
Merge pull request #18371 from yuwata/use-ansi-normal
tree-wide: use ansi_normal() instead of ANSI_NORMAL
2021-01-25 23:40:14 +09:00
Yu Watanabe
5312fa8751
Merge pull request #18281 from yuwata/log-drop-log-realm
log: drop LogRealm
2021-01-25 23:39:29 +09:00
Zbigniew Jędrzejewski-Szmek
172e8cf505
Merge pull request #18365 from DaanDeMeyer/update-man-rules-mkosi
Fix update-man-rules usage with mkosi
2021-01-25 14:05:56 +01:00
Yu Watanabe
6d533e56f8 cgtop: use ansi_normal() or friends instead of ANSI_NORMAL 2021-01-25 20:52:53 +09:00
Yu Watanabe
cd7ae1b44e logs-show: simplify code 2021-01-25 20:52:20 +09:00
Yu Watanabe
bb146d238f terminal-util: use ansi_normal() or friends instead of ANSI_NORMAL 2021-01-25 20:52:12 +09:00
Yu Watanabe
7b376b29a3 log: use ansi_normal() instead of ANSI_NORMAL 2021-01-25 20:52:03 +09:00
Zbigniew Jędrzejewski-Szmek
fc9fd800e8 libsystemd: fix typo in symbol versioning 2021-01-25 11:50:28 +00:00
Yu Watanabe
9fdee66f2d log: drop unused LogRealm
Already no binary is built with LOG_REALM= argument.
Hence, we can safely drop LogRealm now.
2021-01-25 20:32:18 +09:00
Yu Watanabe
3cc6b14a87 udev: stop to use LOG_REALM_UDEV
Before this commit, udevd is built with LOG_REALM=LOG_REALM_UDEV.
However, log level specified by e.g. environment variable or kernel
command line option are also passed to LOG_REALM_SYSTEMD. So, the
maximum log level for the two realms are always equivalent, and it is
not necessary to specify the build option. Hence drop it.
2021-01-25 20:32:18 +09:00
Yu Watanabe
10d296c189 selinux-util: do not use log_internal_realm() without setting log realm 2021-01-25 20:32:18 +09:00
Yu Watanabe
5df4f46f28 log: drop unused log_full_errno_realm() macro 2021-01-25 20:32:18 +09:00
Zbigniew Jędrzejewski-Szmek
6dcf299d9b
Merge pull request #18363 from bluca/test_image_reuse
tests: build the image once and then copy/extend it
2021-01-25 09:25:56 +01:00
A S Alam
b88e599886 Translated using Weblate (Punjabi)
Currently translated at 3.7% (7 of 189 strings)

Co-authored-by: A S Alam <amanpreet.alam@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/pa/
Translation: systemd/main
2021-01-25 14:27:23 +09:00
Daan De Meyer
eb83eb63b8 sd-bus: Add sd_bus_reply()
While sd-bus already provides sd_bus_call() for calling a method
from a complete bus message object, We don't have an equivalent
function for replying from a method with a complete bus message
object.

Currently, we use sd_bus_send(call->bus, m, NULL) instead. Let's
add a shorthand for this pattern and name it sd_bus_reply().
2021-01-25 12:31:17 +09:00
Stefan Agner
237ecfee15 Avoid error when bind mount source already exists 2021-01-25 12:30:36 +09:00
Zbigniew Jędrzejewski-Szmek
a306ec1de9
Merge pull request #18361 from anitazha/oomdconfigtime
oom: some improvements and fixes
2021-01-24 20:12:28 +01:00
John Slade
46b1497053 hwdb.d/60-keyboard.hwdb: Fixes for Samsung 900X laptops
It is only the Samsung 900X3A which has the alternative function keys.

The 900X3B, 900X4B have the standard Series 9 layout - as defined above.

Note: the 900X4A is not a valid laptop model.
2021-01-24 18:58:57 +01:00
Daan De Meyer
44bc7f4fcf meson: Fix update-man-rules when the build dir is not a subdir of the project dir
Until now, update-man-rules assumed that the build directory was
a subdirectory of the project directory. When using mkosi, this is
not the case. We use find instead of git ls-files because git ls-files
does not seem to support outputting absolute paths.

Also, this makes update-man-rules a bit more user-friendly as new manpages
don't have to be added to the git staging area before they are processed by
update-man-rules.py.
2021-01-24 17:33:49 +00:00
Daan De Meyer
5a89c7972a mkosi: Pass build script arguments to ninja
mkosi recently gained support to pass arguments to the build script.
Let's take advantage of this in systemd's build script to allow
passing which target to build to ninja in the build script.
2021-01-24 14:13:02 +00:00
Luca Boccassi
d9e606e89f tests: build the image once and then copy/extend it
Building custom images for each test takes a lot of time.
Build the default one, and if the test needs incompatible changes
just copy it and extend it instead.
2021-01-24 13:07:39 +00:00
Luca Boccassi
74eec54d66 test: note where the bionic-* CI tool/integration lives 2021-01-24 12:03:53 +00:00
Luca Boccassi
4a5fc0e61f
Merge pull request #18358 from jwrdegoede/hwdb-2-accel-quirks
Hwdb 2 accel quirks
2021-01-24 11:35:59 +00:00
Daan De Meyer
c38667f70d docs: Update HACKING.md with the mkosi boot/qemu commands + options
Let's use the mkosi commands in HACKING.md and recommend some options
that speed up mkosi builds. Also includes some other small improvements.
2021-01-24 11:15:30 +00:00
Daan De Meyer
4cc06b8073 docs: Add a section to HACKING.md on using mkosi and clangd together
While it's perfectly possible today to completely rely on mkosi for
building and testing systemd, to get code completion and other IDE
niceties to work properly, it's still necessary to build systemd
locally.

Recently, mkosi gained the ability to allow external programs to
communicate with the build script. We can use this feature to run
the clangd language server in the mkosi build image via a custom
build script to provide IDE features in editors without requiring
developers to build systemd on the host or install any of systemd's
build dependencies locally.

This commit adds the necessary information on how to set this up
to HACKING.md.
2021-01-24 11:14:30 +00:00
Anita Zhang
2e744a2cd8 oom: update extended test to remove swap gating 2021-01-24 02:03:59 -08:00