Frantisek Sumsal
15dd451535
tree-wide: codespell fixes
...
Another batch of codespell fixes as reported by Fossies.org
2020-05-25 10:29:28 +02:00
Topi Miettinen
cc1c85fbc3
login: limit nr_inodes for /run/user/$UID
...
Limit number of inodes for tmpfs mounts on /run/user/$UID. Default is
RuntimeDirectorySize= divided by 4096.
2020-05-24 22:54:17 +02:00
Anita Zhang
acf70f8dd1
Merge pull request #15854 from poettering/call-method-ret-error
...
explain async bus method callback ret_error parameter
2020-05-20 15:12:37 -07:00
Anita Zhang
30ed6e2250
Merge pull request #15864 from poettering/pam-sudo-fixes-part3
...
two more pam_systemd fixes, split out of #15742
2020-05-20 15:01:52 -07:00
Zbigniew Jędrzejewski-Szmek
929d07ddcb
Merge pull request #15274 from ssahani/network-issue-9610
...
DHCP4: Allow lease time to be set when missing from offer
2020-05-20 16:39:41 +02:00
Lennart Poettering
400530c1e2
Merge pull request #15490 from ssahani/dhcpv6-vendor-class
...
network: DHCPv6 - Add support to send vendor class information
2020-05-20 16:18:18 +02:00
Lennart Poettering
2efa512a1a
man: let's document explicitly that method reply handlers won't get ret_error set to method error
...
Fixes : #8108
2020-05-20 15:56:48 +02:00
Lennart Poettering
af955f917f
man: include sd_bus_message_handler_t prototype in synopsys of all man pages that reference the type
...
The type is not trivial, and kinda important to understand things, hence
import it everywhere where appropriate.
2020-05-20 15:56:09 +02:00
Zbigniew Jędrzejewski-Szmek
bb94ded693
Merge pull request #15661 from hundeboll/mount-read-write-only
...
Mount read write only
2020-05-20 15:48:04 +02:00
Martin Hundebøll
ad76560525
man: document x-systemd.rw-only fstab option
2020-05-20 14:26:04 +02:00
Martin Hundebøll
75f4bd7fd0
man: document ReadWriteOnly property for mount units
2020-05-20 14:26:04 +02:00
Susant Sahani
ed0d1b2e99
network: DHCPv6 - Add support to send vendor class information
...
Frame 1: 177 bytes on wire (1416 bits), 177 bytes captured (1416 bits) on interface veth-peer, id 0
Ethernet II, Src: 1e:04:f8:b8:2f:d4 (1e:04:f8:b8:2f:d4), Dst: IPv6mcast_01:00:02 (33:33:00:01:00:02)
Internet Protocol Version 6, Src: fe80::1c04:f8ff:feb8:2fd4, Dst: ff02::1:2
User Datagram Protocol, Src Port: 546, Dst Port: 547
DHCPv6
Message type: Solicit (1)
Transaction ID: 0x5ca46b
Rapid Commit
Identity Association for Non-temporary Address
Fully Qualified Domain Name
Vendor Class
Option: Vendor Class (16)
Length: 23
Value: 0000ab11000048656c6c6f3a686f773a6172653a796f75
Enterprise ID: Tom Gundersen (systemd) (43793)
vendor-class-data: Hello:how:are:you
Identity Association for Prefix Delegation
Option Request
Client Identifier
Elapsed time
2020-05-20 07:58:03 +02:00
Susant Sahani
d6463307e0
network: DHCPv4- Allow to set DHCP lease lifetime
2020-05-20 06:32:26 +02:00
Lennart Poettering
764ae4dd51
man_systemd_home: intrdouce SYSTEMD_HOME_SUSPEND env var
...
This variable is read by the module and can be used instead of the
suspend= PAM module parameter.
It is also set for the session itself to make debugging easy.
2020-05-20 00:47:37 +02:00
Zbigniew Jędrzejewski-Szmek
1c3232e4a4
Merge pull request #15482 from ssahani/dhcpv6-userclass
...
network: DHCPv6 Introduce user class
2020-05-19 19:38:06 +02:00
Lennart Poettering
6e41f4dd91
man: document the newly acquired cryptsetup features
2020-05-19 17:28:47 +02:00
Lennart Poettering
f12465466d
Merge pull request #15848 from keszybz/small-doc-tweaks
...
A few tweaks to docs
2020-05-19 16:29:58 +02:00
Susant Sahani
f37f2a6b8a
network: DHCPv6 - Add support to send user class
...
Frame 115: 171 bytes on wire (1368 bits), 171 bytes captured (1368 bits) on interface veth-peer, id 0
Ethernet II, Src: 1e:04:f8:b8:2f:d4 (1e:04:f8:b8:2f:d4), Dst: IPv6mcast_01:00:02 (33:33:00:01:00:02)
Internet Protocol Version 6, Src: fe80::1c04:f8ff:feb8:2fd4, Dst: ff02::1:2
User Datagram Protocol, Src Port: 546, Dst Port: 547
DHCPv6
Message type: Solicit (1)
Transaction ID: 0x673257
Rapid Commit
Option: Rapid Commit (14)
Length: 0
Identity Association for Non-temporary Address
Option: Identity Association for Non-temporary Address (3)
Length: 12
Value: d0cc94090000000000000000
IAID: d0cc9409
T1: 0
T2: 0
Fully Qualified Domain Name
Option: Fully Qualified Domain Name (39)
Length: 6
Value: 01045a657573
0000 0... = Reserved: 0x00
.... .0.. = N bit: Server should perform DNS updates
.... ..0. = O bit: Server has not overridden client's S bit preference
.... ...1 = S bit: Server should perform forward DNS updates
Client FQDN: Zeus
User Class
Option: User Class (15)
Length: 17
Value: 000f68656c6c6f30313233343031323334
Identity Association for Prefix Delegation
Option: Identity Association for Prefix Delegation (25)
Length: 12
Value: d0cc94090000000000000000
IAID: d0cc9409
T1: 0
T2: 0
Option Request
Option: Option Request (6)
Length: 10
Value: 001700180038001f000e
Requested Option code: DNS recursive name server (23)
Requested Option code: Domain Search List (24)
Requested Option code: NTP Server (56)
Requested Option code: Simple Network Time Protocol Server (31)
Requested Option code: Rapid Commit (14)
Client Identifier
Option: Client Identifier (1)
Length: 14
Value: 00020000ab11d258482fc7eee651
DUID: 00020000ab11d258482fc7eee651
DUID Type: assigned by vendor based on Enterprise number (2)
Enterprise ID: Tom Gundersen (systemd) (43793)
Identifier: d258482fc7eee651
Elapsed time
Option: Elapsed time (8)
Length: 2
Value: 0bd0
Elapsed time: 30240ms
2020-05-19 11:48:30 +02:00
Zbigniew Jędrzejewski-Szmek
7b9289b1a0
man: fix dir name in sysctl.d(5)
...
Pointed out by Коренберг Марк in
e0f424790d (commitcomment-39259499)
.
2020-05-18 21:14:42 +02:00
Lennart Poettering
34293dfafd
core: allow overriding the system hostname with systemd.hostname= on the kernel command line
2020-05-18 20:20:50 +02:00
Lennart Poettering
3753325bef
main: add a kernel command line option for setting the system clock early during boot
2020-05-18 20:20:50 +02:00
Lennart Poettering
814872e925
condition: introduce systemd.condition-first-boot= kernel command line switch
...
Much like systemd.condition-needs-update= this new switch allows
overriding of a unit file condition, but this time its
ConditionFirstBoot=.
Usecase is also primarily debugging, but could be useful for other
schemes too.
2020-05-18 20:20:50 +02:00
Lennart Poettering
f8b4ae29c7
condition: allow overriding of ConditionNeedsUpdate= on the kernel command line
...
This should be useful for addressing #15724 .
2020-05-18 20:17:57 +02:00
Zbigniew Jędrzejewski-Szmek
b3d15d90c0
Merge pull request #15804 from poettering/hostnamed-instant-part1
...
four likely safe commits split out of #15624
2020-05-18 15:26:24 +02:00
Susant Sahani
35f6a5cb44
network: DHCPv6 - Add support set arbitary request options
2020-05-17 11:18:29 +02:00
Eric DeVolder
f00c36641a
pstore: introduce tmpfiles.d/systemd-pstore.conf
...
The systemd pstore service archives the contents of /sys/fs/pstore
upon boot so that there is room for a subsequent dump. The issue is
that while the service is present, the kernel still needs to be
configured to write data into the pstore. The kernel has two
parameters, crash_kexec_post_notifiers and printk.always_kmsg_dump,
that control writes into pstore.
The crash_kexec_post_notifiers parameter enables the kernel to write
dmesg (including stack trace) into pstore upon a panic, and
printk.always_kmsg_dump parameter enables the kernel to write dmesg
upon a shutdown (shutdown, reboot, halt).
As it stands today, these parameters are not managed/manipulated by
the systemd pstore service, and are solely reliant upon the user [to
have the foresight] to set them on the kernel command line at boot, or
post boot via sysfs. Furthermore, the user would need to set these
parameters in a persistent fashion so that that they are enabled on
subsequent reboots.
This patch introduces the setting of these two kernel parameters via
the systemd tmpfiles technique.
2020-05-15 23:15:26 +02:00
Lennart Poettering
410abf8304
man: document the two new condition types
2020-05-15 16:05:33 +02:00
Susant Sahani
89fe653544
network: Add support to group links.
...
Link groups are similar to port ranges found in managed switches.
You can add network interfaces to a numbered group and perform operations
on all the interfaces from that group at once.
2020-05-15 15:27:07 +02:00
Zbigniew Jędrzejewski-Szmek
bf896ca628
Merge pull request #15792 from poettering/repart-allocate
...
repart: add --size= and --empty=create options for growing/creating disk images from scratch
2020-05-15 11:40:24 +02:00
Lennart Poettering
e1e214c56b
Merge pull request #15265 from fbuihuu/mount-fixes
...
Mount fixes
2020-05-15 11:13:45 +02:00
Lennart Poettering
d2b843554a
man: drop some left-over mentions of StandardOutput=syslog
...
We dropped them from the StandardOuput= documentation long ago, but
elswhere some references where lurking.
2020-05-15 00:05:46 +02:00
Lennart Poettering
96deebbcda
man: document new --empty=create and --size= switches to repart
2020-05-14 23:59:23 +02:00
Rubens Figueiredo
4df4df5b56
network: allow setting VLAN protocol on bridges
...
Signed-off-by: Rubens Figueiredo <rubens.figueiredo@bisdn.de>
2020-05-14 17:59:57 +02:00
Lennart Poettering
6551cf2d61
man: document $LOG_NAMESPACE
2020-05-14 17:29:28 +02:00
Lennart Poettering
a3d9aee14f
man: document the new _LINE_BREAK= type
2020-05-13 21:32:49 +02:00
Lennart Poettering
0271e9b10c
man: complete vtable flag documentation
2020-05-13 16:57:44 +02:00
Lennart Poettering
2dffb32309
man: document homed D-Bus API
2020-05-12 11:07:01 +02:00
Lennart Poettering
55842c7326
homed: fix parameter names on D-Bus methods
...
These arguments contain UserRecord structures serialized to JSON,
however only the "secret" part of it, not a whole user record. We do
this since the secret part is conceptually part of the user record and
in some contexts we need a user record in full with both secret and
non-secret part, and in others just the secret and in other just the
non-secret part, but we want to keep this in memory in the same logic.
Hence, let's rename the arguments where we expect a user record
consisting only of the secret part to "secret".
2020-05-12 11:06:46 +02:00
Lennart Poettering
671fee1873
man: run man/update-dbus-docs again
2020-05-12 11:06:28 +02:00
Andrew Doran
e7d5fe17db
DHCP client: make SendOption work for DHCPv6 too.
2020-05-11 16:31:08 +02:00
Zbigniew Jędrzejewski-Szmek
f1f7b08805
Merge pull request #15769 from poettering/man-tmpfiles-boot-override
...
man: document how "!" and conflicting lines play together in tmpfiles.d
2020-05-11 12:46:36 +02:00
Lennart Poettering
1e0d5eebf1
man: clarify that exit status name mappings are unaffected by SuccessExitStatus=
...
Fixes : #15757
(Note there's quite some confusion regarding "exit status" vs. "exit
code" in the docs here. We should clean this up fully one day. This
change tries to fix some occasions of the wrong use, but not all.)
2020-05-11 12:37:32 +02:00
Lennart Poettering
ead2a4a231
tmpfiles: clarify that "!" lines are filtered before collisions are checked
...
Fixes : #15675
2020-05-10 11:45:52 +02:00
Lennart Poettering
f742f9d317
man: mention the exclamation mark and minus sign literally, to make things searchable
...
I was looking for the explanation for the exclamation mark in the text,
and couldn't find it, searching for "!". Let's make this easier, and
indicate the character meant.
2020-05-10 11:44:53 +02:00
Zbigniew Jędrzejewski-Szmek
f2a8372e37
Merge pull request #15703 from poettering/homed-tweak-default-storage
...
homed: avoid double encryption
2020-05-08 16:57:14 +02:00
Zbigniew Jędrzejewski-Szmek
165bda37ba
Merge pull request #15718 from poettering/tmpfiles-offline
...
tmpfiles: read /etc/passwd + /etc/group with fgetpwent()/fgetgrent() if --root= is specified
2020-05-08 11:22:19 +02:00
Lennart Poettering
feb86ca90c
man: document homed.conf
2020-05-07 23:37:30 +02:00
Lennart Poettering
c60bc8d4fb
Merge pull request #15745 from keszybz/one-more-specifier
...
Add %l as specifier for short hostname
2020-05-07 22:18:59 +02:00
Lennart Poettering
7c5137329d
Merge pull request #15713 from poettering/home-discard-when-offline
...
homed: optionally, issue FITRIM ioctl when logging out
2020-05-07 19:17:48 +02:00
Lennart Poettering
bb5da6c385
meson: re-run ninja update-man-rules
...
Split out of #15703 , because it has nothing to do with that.
Follow-up for: 4f07ddfa9b
2020-05-07 19:00:59 +02:00