Lennart Poettering
e1e26566ec
efivars: don't crash when somebody wants to remove an efi variable
...
This corrects b3c908b4a2 by allowing a
NULL value again for variable deletion.
Fixes : #6753
2017-09-08 17:34:11 +02:00
Lennart Poettering
8cc7661dc5
man: only document "systemd-mount --umount", never "--unmount"
...
Internally, we accept either, but let's stick to one of the spellings
for all docs.
Fixes : #6757
2017-09-08 17:29:55 +02:00
Lennart Poettering
d5f1532657
core: downgrade log message about inability to propagate cgroup release message
...
If dbus is already down during shutdown, we can't propagate the cgroup
release message anymore, but that's expected and nothing to warn about.
Hence let's downgrade the message from LOG_WARN to LOG_DEBUG.
Fixes : #6777
2017-09-08 17:24:57 +02:00
b1tninja
c4819961b1
Allow configuration of a bridge netdev's group_fwd_mask. ( #6759 )
2017-09-08 12:36:06 +02:00
Lennart Poettering
815ab79ef6
Merge pull request #6770 from lucaswerkmeister/analyze-get-log
...
analyze: add get-log-level, get-log-target verbs
2017-09-08 12:08:16 +02:00
Djalal Harouni
1fd5f85d47
Merge pull request #6768 from fsateler/umount-message
...
Some better messages for systemd-mount --umount
2017-09-08 08:38:00 +02:00
Lucas Werkmeister
ef5a8cb1a7
analyze: add get-log-level, get-log-target verbs
...
They’re counterparts to the existing set-log-level and set-log-target
verbs, simply printing the current value to stdout. This makes it
slightly easier to temporarily change the log level and/or target and
then restore the old value(s).
2017-09-07 23:55:59 +02:00
Lucas Werkmeister
4146ac2a4c
shell-completion: add systemd-analyze set-log-target
...
The `systemd-analyze set-log-target` command was added in v227 (commit
2ca2a91cf1 ), but was missing from the shell completion specifications.
2017-09-07 23:47:33 +02:00
Felipe Sateler
02a8bd656c
mount: always show the user-provided argument when umount can't be done
...
Otherwise it can be confusing if the path is not the same
2017-09-07 16:16:47 -03:00
Felipe Sateler
1ed555b712
mount: Add message when the target path does not exist
...
Fixes : #6760
2017-09-07 16:16:47 -03:00
Lennart Poettering
9ecf63a457
Merge pull request #6616 from pfl/rdnss
...
networkd: RDNSS option for systemd-networkd prefix delegation
2017-09-07 19:01:57 +02:00
dmig
53349ea704
hwdb: Add Cube i7 Stylus sensor rotation matrix ( #6722 )
2017-09-07 17:13:29 +02:00
Lennart Poettering
504cef76d4
Merge pull request #6436 from juga0/features/rfc7844
...
Features/rfc7844
2017-09-07 10:08:56 +02:00
John Lin
1de2a9a5bf
man: fix systemd-analyze plot commands ( #6761 )
2017-09-07 09:59:03 +02:00
g0tar
0e8856d25a
assemble multidevice btrfs volumes without external tools ( #6607 )
...
assemble multidevice btrfs volumes without external tools
This self-contained approach introduce very little overhead, unless
someone has a large number of devices composing many btrfs volumes,
in which case btrfs device scan would be faster. Still, having robust
implementation is a nice to have alternative for btrfs-progs.
2017-09-07 09:58:12 +02:00
Patrik Flykt
3f9e023673
man: Document prefix delegation in systemd.network
...
Add prefix delegation documentation covering IPv6PrefixDelegation=
setting in the Network section as well as all the parameters and
the IPv6PrefixDelegation and IPv6Prefix sections implemented so
far, including DNS= and DNSLifetimeSec= settings.
2017-09-07 09:51:26 +03:00
Patrik Flykt
06e6c805e5
test-ndisc-ra: Update test with RDNSS option
2017-09-07 09:51:26 +03:00
Patrik Flykt
f1eca3774d
networkd-radv: Set RDNSS information on Router Advertisement enabling
2017-09-07 09:51:26 +03:00
Patrik Flykt
e9c6da3868
sd-radv: Add Router Advertisement DNS information
...
Add Router Advertisement Recursive DNS Server information as specified
in RFC 8106.
2017-09-07 09:51:26 +03:00
Patrik Flykt
88295a05db
networkd: Parse DNS IPv6 information for Router Advertisement
...
Parse DNS IPv6 addresses and DNS server lifetime from .network files
so that they can be included in Router Advertisement RDNSS options.
RDNSS address and lifetime information is added to the
[IPv6PrefixDelegation] section according to the following syntax:
DNS=2001:db8::a:b 2001:db8::c:d
DNSLifetimeSec=1042
2017-09-07 09:51:26 +03:00
juga0
dbb35f1f13
networkd: test DHCP client when Anonymize is true.
2017-09-06 19:25:41 +02:00
juga0
66173db75b
networkd: RFC7844, disable INIT-REBOOT state when
...
Anonymize is true.
2017-09-06 19:25:41 +02:00
juga0
1b41b81599
networkd: RFC7844, do not set any other option
...
when Anonymize is enabled.
Use the Client variable to know whether it is enabled.
2017-09-06 19:25:41 +02:00
juga0
5e77a1468e
networkd: do not send more PRL options when Anonymize is true.
...
* check that Client has reserved memory for PRL
* do not send duplicated ROUTES option when Anonymize is true
2017-09-06 19:25:10 +02:00
juga0
db3d235820
networkd: set PRL default options depending on Anonymize.
...
Add also Client variable to know when Anonymize is true.
2017-09-06 19:03:25 +02:00
juga0
19b8398fb2
networkd: add PRL options to send when Anonymize is true
2017-09-06 19:03:25 +02:00
juga0
add8d07d91
networkd: RFC7844, add network variable and function
...
to initialize Network variables when Anonymize is true.
* do not send hostname
* client identifier set to MAC
* do not send vendor class identifier
* do not send other PRL options
2017-09-06 19:03:25 +02:00
juga0
7585baa016
networkd: RFC7844, add configuration variable
...
to enable Anonymity Profiles and document it.
2017-09-06 19:03:25 +02:00
Charles Huber
682f77059a
hwdb: Add mice ( #6641 )
...
* Dell MS111-T
* Dell MS116t
* Microsoft Comfort Mouse 4500
2017-09-06 17:00:57 +02:00
Susant Sahani
dad2d78e1a
networkd: Allow configure a specific link even if it has no carrier. ( #6740 )
...
This work allows to configure a specific link even if it has no carrier.
Closes #6645 .
2017-09-06 16:57:04 +02:00
pEJipE
c70b51a7b9
Update version including Chuwi Hi13 ( #6744 )
2017-09-06 10:18:20 +02:00
juga0
89573b3728
networkd: send dhcp timezone option when UseTimezone is true ( #6725 )
2017-09-06 10:10:50 +02:00
Zbigniew Jędrzejewski-Szmek
0fe36dd930
test-dns-domain: allow old and new libidn2 behaviour ( #6749 )
...
The behaviour changed to allow underscores. For now, lets just
accept both return values.
Fixes #6573 .
2017-09-06 09:39:14 +02:00
Evgeny Vereshchagin
48fa42d4ef
tests: check the return value of personality when errno is not set ( #6752 )
...
The `personality` wrapper might not set errno, so in that case the return value
should be checked instead.
For details, see
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=e0043e17dfc52fe1702746543127cb4a87232bcd .
Closes #6737 .
2017-09-06 06:08:04 +02:00
Lennart Poettering
6dd0e05c77
Merge pull request #6748 from msekletar/console-container-getty-pre-after
...
units: order container and console getty units after getty-pre.target
2017-09-05 19:45:39 +02:00
Lennart Poettering
39e29b765f
Merge pull request #6747 from keszybz/cryptsetup-netdev
...
netdev option for crypttab
2017-09-05 19:45:18 +02:00
Lennart Poettering
aaa6732d78
systemctl: make sure we properly turn off color at the end of each line of "list-unit-files" ( #6688 )
...
Let's simplify the code a bit, and make sure we always turn off color
and underlining again on each line, if we used it.
Fixes : #6684
2017-09-05 16:31:26 +02:00
Michal Sekletar
45e2753297
units: order container and console getty units after getty-pre.target
2017-09-05 14:53:25 +02:00
juga0
ead36ce651
networkd: send dhcp option NTP when UseNTP is true ( #6726 )
2017-09-05 12:26:32 +02:00
Tobias Hunger
6dfcea32f4
Mention mount.usr* in kernel-command-line man page ( #6743 )
2017-09-05 12:25:56 +02:00
Zbigniew Jędrzejewski-Szmek
b001ad61e9
cryptsetup-generator: use remote-cryptsetup.target when _netdev is present
...
This allows such devices to depend on the network. Their startup will
be delayed similarly to network mount units.
Fixes #4642 .
2017-09-05 12:07:52 +02:00
Zbigniew Jędrzejewski-Szmek
889128b8b2
units: add remote-cryptsetup.target and remote-cryptsetup-pre.target
...
The pair is similar to remote-fs.target and remote-fs-pre.target. Any
cryptsetup devices which require network shall be ordered after
remote-cryptsetup-pre.target and before remote-cryptsetup.target.
2017-09-05 12:06:30 +02:00
Zbigniew Jędrzejewski-Szmek
0f00528db4
man: add an explicit description of _netdev to systemd.mount(5)
...
It was mentioned in passing, but having it in the list of options is also
nice.
2017-09-05 12:06:30 +02:00
Zbigniew Jędrzejewski-Szmek
ed3657d5db
man: order fields alphabetically in crypttab(5)
...
They already were mostly ordered alphabetically, but some disorder
snuck in.
Also, fix formatting. Some options were described using "--" prefixes, which
looks like the text was just copied from crypttab(8).
2017-09-05 12:06:30 +02:00
Zbigniew Jędrzejewski-Szmek
947d21171b
units: order cryptsetup-pre.target before cryptsetup.target
...
Normally this happens automatically, but if it happened that both targets were
pulled in, even though there were no cryptsetup units, they could be started
in reverse order, which would be somewhat confusing. Add an explicit ordering
to avoid this potential issue.
2017-09-05 12:06:30 +02:00
Thomas Miller
2f34bead2c
Add Razer Blade Stealth 2016 to hwdb ( #6730 )
2017-09-05 15:18:20 +10:00
Lennart Poettering
8ce41a7f9a
Merge pull request #6741 from keszybz/template-loading-fix
...
Fix for mask/unmask operations on templates and multiple units
2017-09-04 18:57:06 +02:00
Lennart Poettering
d398cf4e4e
Merge pull request #5815 from benzea/master
...
rfkill: Delay writes until exit (#5768 )
2017-09-04 18:52:14 +02:00
Zbigniew Jędrzejewski-Szmek
fb1b58820f
build-sys: make nonnull warning non-fatal ( #6742 )
...
Seems to be some kind of confusion in gcc. Insteading of playing whack-a-mole and
adding work-arounds in code, let's adjust the compilation options instead.
Fixes #6119 , replaces #6657 .
2017-09-04 18:49:12 +02:00
Zbigniew Jędrzejewski-Szmek
8a12256c9c
Merge pull request #6580 from poettering/nspawn-dm-deviceallow
...
add DM devices to DeviceAllow for systemd-nspawn@.service
2017-09-04 17:12:17 +03:00