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
Daniel Shahaf
fa7ea86510
zsh: Prepare for classifying systemctl commands ( #14422 )
2019-12-23 17:17:31 +00:00
Daniel Shahaf
1d8385b415
zsh: Complete more systemctl commands
...
The completion is now synced with the manual.
2019-12-23 16:49:51 +00:00
Daniel Shahaf
51a3b72634
zsh: Group systemctl subcommands as in the manual. No functional change.
2019-12-23 16:44:28 +00:00
Yu Watanabe
4171837be6
bash-completion: move shell-completion for log-level or friends to systemctl
2019-12-21 19:23:02 +01:00
Zbigniew Jędrzejewski-Szmek
1234d0f63e
Merge pull request #14409 from poettering/shutdown-modernization
...
some smaller modernizations to the shutdown loop
2019-12-21 19:21:10 +01:00
Yu Watanabe
3c4ddf5db5
Merge pull request #14407 from ssahani/dhcp-decline
...
network: DHCP4 introduce send decline
2019-12-21 08:40:22 +09:00
Lennart Poettering
4ca8072fd6
umount: when we fail to detach a loopback device, set the auto-clear flag
...
We might get lucky and this cleans up things later on automatically for
us.
2019-12-20 18:37:24 +01:00
Lennart Poettering
b877c3b06f
umount: check LO_FLAGS_AUTOCLEAR after LOOP_CLR_FD claimed success
...
Fixes : #14410
Replaces: #14386
2019-12-20 18:16:05 +01:00
Lennart Poettering
63135a2d8d
umount: detect root loopback device the same way as we detect root DM devices
...
get_block_device() is just the nicer way to do it (since it also odes
btrfs). Also, let's already collect the dev_t of the loopback device
when we enumerate things, that allows us to do the checks simpler
without constantly stat()ing things over and over again.
2019-12-20 18:16:02 +01:00
Lennart Poettering
88287615e6
umount: show correct error message
...
We fucked up errno vs. r two times, let's correct that.
While we are at it, let's handle the error first, like we usually do,
and the clean case without indentation.
2019-12-20 18:15:59 +01:00
Lennart Poettering
610f9a42c4
umount: remove unneeded variable
2019-12-20 18:15:56 +01:00
Lennart Poettering
49f80dcec8
umount: line break comments again
...
break them like we usually do, taking our intended line width into
account.
2019-12-20 18:15:47 +01:00
Lennart Poettering
b895fa08e6
Revert "Drop dbus activation stub service"
...
This reverts commit 07125d24ee
.
In contrast to what is claimed in #13396 dbus-broker apparently does
care for the service file to be around, and otherwise will claim
"Service Not Activatable" in the time between systemd starting up the
broker and connecting to it, which the stub service file is supposed to
make go away.
Reverting this makes the integration test suite pass again on host with
dbus-broker (i.e. current Fedora desktop).
Tested with dbus-broker-21-6.fc31.x86_64.
2019-12-20 17:28:12 +01:00
Yu Watanabe
0fd8b71809
test-network: add a test case for DHCPv4.SendDecline=
2019-12-21 00:26:44 +09:00
Yu Watanabe
c1d3fa29ca
network: link should not become configured state during ACD probing
2019-12-21 00:26:44 +09:00
Susant Sahani
0f3ff4eae2
network: DHCP4 introduce send decline
2019-12-21 00:26:44 +09:00
Lennart Poettering
1cb342447d
Merge pull request #14329 from anitazha/user_invocation_id
...
export user units' InvocationID and use as _SYSTEMD_INVOCATION_ID
2019-12-20 10:20:21 +01:00
Yu Watanabe
7c6d95ea5a
network: fix typo
2019-12-20 18:00:49 +09:00
Anita Zhang
2f8c48b605
core,journal: export user units' InvocationID and use as _SYSTEMD_INVOCATION_ID
...
Write a user unit's invocation ID to /run/user/<uid>/systemd/units/ similar
to how a system unit's invocation ID is written to /run/systemd/units/.
This lets the journal read and add a user unit's invocation ID to the
_SYSTEMD_INVOCATION_ID field of logs instead of the user manager's
invocation ID.
Fixes #12474
2019-12-19 17:42:17 -08:00
Lennart Poettering
10ad50d38c
Merge pull request #14378 from keszybz/unit-docs
...
Unit documentation and build-system tweaks
2019-12-19 19:00:14 +01:00
Yu Watanabe
509b06ffdd
network: update log message in message_rtnl_process_xyz()
...
Also lower the log level when the family is not supported.
2019-12-19 18:58:45 +01:00
Zbigniew Jędrzejewski-Szmek
277519db51
man: add section about user manager units
2019-12-19 13:32:31 +01:00
Zbigniew Jędrzejewski-Szmek
f71502c49f
man: add remote-*.targets to the bootup sequence
...
I think this makes it easier to see the difference between local and remote
mounts.
Make the graph a bit narrower while at it.
2019-12-19 13:32:31 +01:00
Lennart Poettering
9e7c8f64cf
time-util: also use 32bit hack on EOVERFLOW
...
As per
https://github.com/systemd/systemd/issues/14362#issuecomment-566722686
let's also prepare for EOVERFLOW.
2019-12-19 12:46:24 +01:00
Lennart Poettering
17ef83b231
Merge pull request #14388 from anitazha/man_uid_updates
...
man: document uids for user journals
2019-12-19 12:45:59 +01:00
Lennart Poettering
222633b646
Merge pull request #13823 from anitazha/unpriv_privateusers
...
core: PrivateUsers=true for (unprivileged) user managers
2019-12-19 12:03:06 +01:00