Lennart Poettering
983ffdb0bf
Merge pull request #14481 from yuwata/virt-string-table
...
virt: use string table to detect VM or container
2020-01-07 15:16:31 +01:00
Yu Watanabe
6b50cb5ca9
nspawn: set original ifname as alternative if it is truncated
2020-01-07 15:15:59 +01:00
Yu Watanabe
b6cea5496a
man: drop unnecessary white space
2020-01-07 13:25:13 +01:00
Lennart Poettering
67861acdf3
locale-util: extend comments on unicode glyph use, and drop mdash (that actually was an ndash)
...
Let's add the actual unicode names of the glyphs we use. Let's also add
in comments what the width expectations of these glyphs are on the
console.
Also, remove the "mdash" definition. First of all it wasn't used, but
what's worse the glyph encoded was actually an "ndash"...
Fixes : #14075
2020-01-07 13:21:22 +01:00
Lennart Poettering
a2a64d3ac9
Merge pull request #14420 from DaanDeMeyer/nspawn-fix-read-only-overlay-rootfs
...
nspawn: Don't mount read-only if we have a custom mount on root.
2020-01-07 12:14:24 +01:00
Yu Watanabe
25454a0c34
virt: drop trailing white spaces
2020-01-07 11:50:36 +09:00
Yu Watanabe
735ea55f5c
virt: use string table to detect VM or container
2020-01-07 11:50:36 +09:00
Frantisek Sumsal
0e97a910a6
pkcs11-util: don't mask return value of the first asprintf()
...
Fixes CID#1409666
2020-01-07 10:30:52 +09:00
Yu Watanabe
d6246fd498
network: lower the log-level of harmless message
...
Closes #14285 .
2020-01-07 10:29:40 +09:00
Yu Watanabe
11b8568f26
meson: drop unnecessary linking of libudev_core
2020-01-07 10:29:17 +09:00
Yu Watanabe
a26c307320
sd-netlink: fix copy and paste mistake
2020-01-06 19:18:19 +01:00
Yu Watanabe
14b6e6b6f3
sd-netlink: use uint8_t* for non-character data
2020-01-06 14:50:41 +01:00
Topi Miettinen
ec04aef442
dbus-execute: avoid extra strdup()
...
bind_mount_add does the strdup(), so we can avoid
strdup()ing the strings.
2020-01-04 10:47:28 +01:00
Lennart Poettering
ff963ea6ba
test: use symlinks for Makefiles
...
for some reason the newer tests used file copyies instead of symlinks.
let's fix that.
2020-01-03 21:36:58 +01:00
Kevin Kuehler
097537f07a
job: Don't mark as redundant if deps are relevant
...
In the steps given in #13850 , the resulting graph looks like:
C (Anchor) -> B -> A
Since B is inactive, it will be flagged as redundant and removed from
the transaction, causing A to get garbage collected. The proposed fix is
to not mark nodes as redundant if doing so causes a relevant node to be
garbage collected.
Fixes #13850
2020-01-03 15:58:10 +01:00
Lennart Poettering
dc5737470e
Merge pull request #14194 from yuwata/network-multipath-routing-12541
...
network: introduce multipath routing
2020-01-03 15:38:03 +01:00
Lennart Poettering
a9586f0ca8
Merge pull request #14469 from aburch/man-tmpfiles.d-minor-improvements
...
man: tmpfiles.d: minor improvements
2020-01-03 14:18:16 +01:00
Daan De Meyer
2436ea761b
nspawn: Make a custom mount on root imply --read-only.
2020-01-03 14:06:38 +01:00
Daan De Meyer
bbd407ea2b
nspawn: Don't mount read-only if we have a custom mount on root.
2020-01-03 14:06:38 +01:00
Lennart Poettering
12da859a3f
Merge pull request #14401 from DaanDeMeyer/nspawn-move-veth-back-to-host
...
nspawn: move virtual interfaces added with --network-interface back to the host
2020-01-03 12:47:03 +01:00
Ansgar Burchardt
72a86dd5ec
man: tmpfiles.d: only list "v" once
2020-01-03 20:22:48 +09:00
Ansgar Burchardt
f6bc26ee7f
man: tmpfiles.d: "b", "c" options require major and minor numbers
2020-01-03 20:22:31 +09:00
Mike Auty
2ceefe4587
hwdb: Lenovo T490 Synaptics Touchpad hwdb entry
...
The Synaptics Touchpad that comes with the T490 doesn't explicitly set
its resolution, so these lines are needed to provide that, in order to
help the libinput code detect overly large jumps. Since this device
contains buttons under the lower section of the touchpad, large jumps
are common, so having the resolution helps libinput greatly reduce
the number of occurances of pointer jump.
This comes from
https://gitlab.freedesktop.org/libinput/libinput/issues/402 .
2020-01-03 09:57:07 +01:00
Lennart Poettering
eb253fbdbd
Merge pull request #14467 from poettering/nspawn-short-names-rework
...
nspawn: change how we truncate --network-veth names
2020-01-03 09:55:29 +01:00
Kai Krakow
bc5ea049f2
nspawn: Generate unique short veth names
...
This commit lowers the chance of having veth name conflicts for machines
created with similar names.
Replaces: #12865
Fixes : #13417
2020-01-02 20:05:42 +01:00
Lennart Poettering
b355d0c9af
udev: move naming-scheme.[ch] into src/shared/
...
That way we can use it from non-udev code too, for example nspawn.
2020-01-02 19:34:00 +01:00
Lennart Poettering
6bbeef2042
Merge pull request #13748 from jwrdegoede/hwdb-updates2
...
Add LCD menu key mappings for the Logitech MX5000 and MX5500
2020-01-02 15:43:04 +01:00
Frantisek Sumsal
b01c1f305c
systemctl: show 'VENDOR PRESET' column in 'list-unit-files'
...
Show the install value presets would suggest for each service in a
separate column.
2020-01-02 15:35:40 +01:00
Frantisek Sumsal
a25457f5b7
systemctl: skip non-existent units in the 'cat' verb
...
When processing list of units (either provided manually or as a
wildcard), let's skip units for which we don't have an on-disk
counterpart, but note the -ENOENT error code and propagate it back to
the user.
Fixes : #14082
2020-01-02 15:27:25 +01:00
Lennart Poettering
49d418d4ab
Merge pull request #14444 from yuwata/network-codel-more
...
network: more CoDel settings
2020-01-02 14:51:55 +01:00
Topi Miettinen
412a6c646c
systemd.exec: document the file system for EnvironmentFile paths
...
Files specified with EnvironmentFile are read from PID1 mount namespace, before
any file system operations like RootImage or BindPaths are in effect.
2020-01-02 14:21:16 +01:00
Daan De Meyer
5b4855ab73
nspawn: Move --network-interface interfaces back to the host.
2020-01-02 14:13:03 +01:00
Lennart Poettering
cb68406c6a
Merge pull request #14441 from GothAck/gothack_type.d_dropin_test_master
...
Fix type.d drop-in ordering for #14439 - duplicate against master
2020-01-02 13:41:16 +01:00
Rafa Couto
85f04a2161
hwdb: 60-sensor.hwdb Chuwi Hi10 CWI515 accelerometer orientation.
2020-01-02 13:37:23 +01:00
Fran Dieguez
736eadf028
Update Galician translations
2020-01-02 13:36:04 +01:00
Tobias Stoeckmann
be78e0f07b
systemd-analyze: fixed typo in documentation
...
The example shows the output of critical-chain, which means
that the title is wrong.
2020-01-02 13:35:34 +01:00
Frantisek Sumsal
e514aa1eea
tree-wide: yet another batch of coccinelle recommendations
...
Prettify certain parts of the codebase using coccinelle transformations
(no functional changes).
2020-01-02 13:32:55 +01:00
Yu Watanabe
48d0248e6d
network: bump netlink receive buffer size to 128M
...
Prompted by #14417 .
2020-01-02 10:29:41 +01:00
Frantisek Sumsal
14157349db
travis: wait for the container to fully boot up
...
This avoids nasty race conditions between dnf/apt-get and unfinished
population of /tmp (among other things), as `docker exec` allows commands
to run before the system is fully booted (i.e. initializing/starting
state reported by `systemctl is-system-running`).
2019-12-31 13:15:38 +00:00
Yu Watanabe
a3d3565451
test-network: add a test case for CoDel
2019-12-28 22:25:49 +09:00
Yu Watanabe
b078e52855
network: add more settings for CoDel
2019-12-28 22:25:12 +09:00
Susant Sahani
c695dcf929
network: Add support to configure DHCPv4 route MTU
...
This is useful for transitioning systems from small frames to jumbo frames.
Closes #14302
2019-12-28 21:37:26 +09:00
Susant Sahani
a9a5d632da
network: tc introduce codel
...
Please see http://man7.org/linux/man-pages/man8/tc-codel.8.html
2019-12-28 21:35:39 +09:00
Greg "GothAck" Miell
e6627f2392
unit drop-in: Fix ordering of special type.d drop-ins
2019-12-27 15:10:24 +00:00
Greg "GothAck" Miell
f5dd6e50a7
Add failing test to show service.d global drop-in does not get overridden by more specific dropins
2019-12-27 14:53:32 +00:00
Felipe Sateler
98cd752a28
test-condition: fix group check condition
...
We were checking the uid, whereas we should have checked the gid
2019-12-26 12:07:54 +09:00
Leonid Evdokimov
6e3c443b56
Fix typo
2019-12-26 12:07:08 +09:00
Felipe Sateler
11fcfc5398
Fix several typos in documentation
...
Found by lintian
2019-12-24 14:45:40 +01:00
Yu Watanabe
40681e5cdc
network: add one more log message
2019-12-23 21:34:31 +01:00
Daan De Meyer
b390f17892
nspawn-network: Split off udev checking from parse_interface.
2019-12-23 18:47:36 +01:00