Daan De Meyer
4926ceaff3
firstboot: Add --delete-root-password option
2020-05-27 18:54:25 +02:00
Daan De Meyer
b4909a3fd0
firstboot: Add --force option
2020-05-27 18:54:25 +02:00
Lennart Poettering
bb2294e454
Merge pull request #15669 from andir/systemd-ipv6-pd-subnet-id
...
networkd: subnet id support for ipv6 prefix delegation
2020-05-27 18:47:26 +02:00
Lennart Poettering
6bce17455e
Merge pull request #15226 from benzea/benzea/xdg-autostart-generator
...
xdg-autostart-generator: a generator for XDG autostart files
2020-05-27 18:41:01 +02:00
Michael Biebl
f978844eb6
man: fix conditional in homed.conf.xml
2020-05-27 16:59:42 +02:00
Lennart Poettering
6d02412d51
Merge pull request #15928 from poettering/kill-mode-warnings
...
warn on KillMode=none, inform about left-over processes on stop and warn about sysv services
2020-05-27 15:05:41 +02:00
Chris Kerr
8aa36b1ddd
man: Fix typo in suggested permissions
...
The user and group name is 'systemd-network' not 'systemd-networkd'
2020-05-27 15:03:25 +02:00
Lennart Poettering
518a9bd689
Merge pull request #15853 from poettering/tmp-argument
...
support the Debian-style tmp= argument in crypttab
2020-05-27 14:51:50 +02:00
Benjamin Berg
4540e698e8
man: Add systemd-xdg-autostart-generator man page
2020-05-27 09:02:10 +02:00
Benjamin Berg
8feca2472c
xdg-autostart-generator: Add a generator for XDG autostart files
...
This generator can be used by desktop environments to launch autostart
applications and services. The feature is an opt-in, triggered by
xdg-desktop-autostart.target being activated.
Also included is the new binary xdg-autostart-condition. This binary is
used as an ExecCondition to test the OnlyShowIn and NotShowIn XDG
desktop file keys. These need to be evaluated against the
XDG_CURRENT_DESKTOP environment variable which may not be known at
generation time.
Co-authored-by: Henri Chain <henri.chain@enioka.com>
2020-05-27 09:02:10 +02:00
Lennart Poettering
9b52e0d81a
man: document that KillMode=none is a bad idea
2020-05-26 23:51:51 +02:00
Daniel Fullmer
e6190e2882
sd-boot: fix menu ordering with boot counting
...
systemd-boot selects the last valid entry by default, not the first.
Fixes : #15256
2020-05-26 19:27:59 +02:00
Lennart Poettering
7257f717c1
Merge pull request #15920 from keszybz/userwork-proc-title
...
Avoid log noise when setting proc titles and some doc updates
2020-05-26 18:29:06 +02:00
Lennart Poettering
53ac130b51
cryptsetup: support tmp= file system argument
...
Let's catch up with Debian a bit more.
This also changes the default from ext2 to ext4.
Fixes : #952
2020-05-26 17:11:34 +02:00
Lennart Poettering
cf3317f63a
Merge pull request #15906 from keszybz/busctl-stdout-stderr
...
Make busctl stdout/stderr split consistent
2020-05-26 15:38:14 +02:00
Andreas Rammhold
02e9e34bd9
networkd: Add support for setting a preferred subnet id for IPv6 PD leases
...
This allows users to configure a subnet id that should be used instead
of automatically (sequentially) assigned subnets. The previous attempt
had the downside that the subnet id would not be the same between
networkd restarts. In some setups it is desirable to have predictable
subnet ids across restarts of services and systems.
The code for the assignment had to be broken up into two pieces. One of
them is the old (sequential) assignment of prefixes and the other is the
new assignment based on configured subnet ids. The new assignment code
has to be executed first and has to be taken into account when (later
on) allocating the "old" subnets from the same pool.
Instead of having one iteration through the links we are now trying to
allocate a prefix for every link on every delegated prefix, unless they
received an assignment in a previous iteration.
2020-05-26 12:41:22 +02:00
Zbigniew Jędrzejewski-Szmek
e1a0423266
man: reword description of IPAddressDeny/Allow a bit
2020-05-26 11:13:06 +02:00
Zbigniew Jędrzejewski-Szmek
201632e314
tree-wide: s/time-out/timeout/g
...
See 3f9a0a522f
for justification.
2020-05-26 10:28:59 +02:00
Zbigniew Jędrzejewski-Szmek
fdf3c16d75
man: beef up $MAINPID examples
...
Inspired by https://github.com/systemd/systemd/pull/15400#discussion_r428537955 .
2020-05-26 10:28:59 +02:00
Lennart Poettering
ffec8658db
Merge pull request #15862 from hunger/master
...
repart: Add Uuid option to config files
2020-05-26 09:32:22 +02:00
Lennart Poettering
1283366a90
Merge pull request #15167 from ssahani/address-gen-mode
...
networkctl: Add a range to address genmode
2020-05-25 17:32:00 +02:00
Tobias Hunger
129635333d
repart: Add UUID option to config files
...
Add a option to provide a UUID for the partition that will get
created and document that.
2020-05-25 15:48:59 +02:00
Zbigniew Jędrzejewski-Szmek
0406d1a843
man: add docs for the new functions
2020-05-25 11:09:21 +02:00
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
Susant Sahani
a6f1848a23
network: Allow to configure addr_gen_mode
...
Defines how link-local and autoconf addresses are generated.
0: generate address based on EUI64 (default)
1: do no generate a link-local address, use EUI64 for addresses generated
from autoconf
2: generate stable privacy addresses, using the secret from
stable_secret (RFC7217)
3: generate stable privacy addresses, using a random secret if unset
2020-05-21 14:41:04 +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