1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
Commit Graph

2364 Commits

Author SHA1 Message Date
Lennart Poettering
16a4a2f8cc update TODO 2020-07-14 15:06:29 +02:00
Lennart Poettering
4519c7c706 update TODO 2020-07-14 14:57:19 +02:00
Zbigniew Jędrzejewski-Szmek
2b0bf3ccf8
Merge pull request #16301 from poettering/firstboot-image
Add --image= switch to firstboot, similar to --root= but with support for operating on disk image
2020-07-07 19:44:12 +02:00
Lennart Poettering
cbe952fe1f update TODO 2020-07-07 11:33:44 +02:00
Lennart Poettering
737ec51444 TODO 2020-07-07 11:20:42 +02:00
Lennart Poettering
c8fe23d45c update TODO 2020-07-01 11:20:26 +02:00
Lennart Poettering
5c236388c3 update TODO 2020-06-30 17:13:38 +02:00
Zbigniew Jędrzejewski-Szmek
f93dd4b940
Merge pull request #16282 from poettering/repart-copy-blocks
repart: add new CopyBlocks= setting
2020-06-30 15:26:06 +02:00
Zbigniew Jędrzejewski-Szmek
0e31a6c2ad
Merge pull request #16142 from poettering/random-seed-cmdline
pid1: add support for allowing to pass in random seed via kernel cmdline
2020-06-26 22:42:51 +02:00
Lennart Poettering
bed0b7dfc0
pid1: warn if people use User=nobody (#16293) 2020-06-26 22:36:39 +02:00
Frantisek Sumsal
cb713f1696 tree-wide: spellcheck fixes
Most of them were reported by Fossies.org
2020-06-26 22:33:56 +02:00
Lennart Poettering
b47261e5cb update TODO 2020-06-26 18:04:52 +02:00
Lennart Poettering
e78228b1b0 update TODO 2020-06-26 15:43:36 +02:00
Lennart Poettering
7caaf44777 update TODO 2020-06-25 18:53:16 +02:00
Lennart Poettering
5c0102f83f update TODO 2020-06-25 15:03:22 +02:00
Lennart Poettering
3f8ed9fd96 update TODO 2020-06-24 15:34:10 +02:00
Lennart Poettering
cdfd853744 update TODO 2020-06-16 14:40:08 +02:00
Lennart Poettering
77169ed09b update TODO 2020-06-16 11:42:16 +02:00
Lennart Poettering
4c150809eb update TODO 2020-06-10 18:37:00 +02:00
Lennart Poettering
707dc7949c update TODO 2020-06-09 08:54:48 +02:00
Lennart Poettering
112bed84bf update TODO 2020-06-02 14:57:44 +02:00
Lennart Poettering
42ba8d25ad update TODO 2020-05-29 18:32:38 +02:00
Lennart Poettering
bfafec253c update TODO 2020-05-28 23:54:35 +02:00
Daan De Meyer
97a1a1103c Remove systemd-firstboot --force entry from TODO 2020-05-27 18:54:26 +02:00
Lennart Poettering
effefa30de update TODO 2020-05-26 23:52:34 +02:00
Lennart Poettering
2d2d75047e update TODO 2020-05-26 19:05:54 +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
Lennart Poettering
47eeb381c8
Merge pull request #15909 from keszybz/sd-network-serialization
networkd link serialization fix
2020-05-26 15:37:57 +02:00
Zbigniew Jędrzejewski-Szmek
d5e172d2fb networkd: unfoobar serialization of links
We'd start writing an entry line, then another one, then another one,
and then output the rest of the first one, and then some other random
stuff, and the rest of some other lines... Results were ...eh... random.

Let's define a helper to avoid some of the copy&paste madness, and separate
blocks that output a single line with /**********************************/.

This rework doesn't change what data is written, it only tries to fix the
format of the output. The fact that some entries only write data from
link->network, and some from either link->network or link, some stuff only
for dhpc4 leases while some for both dhpc4 and dhcp6, etc, looks rather
suspicious too, but I didn't touch this.
2020-05-26 10:08:54 +02:00
Lennart Poettering
6ae8c6f5d7 update TODO 2020-05-26 09:21:40 +02:00
Zbigniew Jędrzejewski-Szmek
50f20d1bc2 busctl: verify args early and always print results to stdout
We would print the error sometimes to stdout and sometimes to stderr. It *is*
useful to get the message if one of the names is not found on the bus to
stdout, so that this shows out in the pager. So let's do verification of args
early to catch invalid arguments, and then if we receive an error over the bus
(most likely that the name is not activatable), let's print to stdout so it
gets paged. E.g. 'busctl tree org.freedesktop.systemd1 org.freedesktop.systemd2'
gives a nicely usable output.
2020-05-26 09:07:27 +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
Lennart Poettering
d08a6ec39c update TODO 2020-05-19 19:58:26 +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
Zbigniew Jędrzejewski-Szmek
11aaaa2c96 TODO: drop some external items
Those are either implemented or obsolete.
2020-05-19 08:59:53 +02:00
Zbigniew Jędrzejewski-Szmek
e2da649182 TODO: drop some networkd items
DUID/IAID — #2818, #2890, #3156,
Scope – #6449,
bond options — #10542,
option 119: sd_network_get_domains/sd_network_get_search_domains,
/proc/cmdline parsing – 426c1d3852,
wait states — #14536.
2020-05-19 08:56:53 +02:00
Lennart Poettering
c6526b8d66 update TODO 2020-05-18 20:20:50 +02:00
Lennart Poettering
34d16bad2d update TODO 2020-05-18 18:41:14 +02:00
Dimitri John Ledkov
6dbf352cfb meson: initialize time-epoch to reproducible builds compatible value
Debian Policy encourages to preserve timestamps whenever possible in the
tarballs, thus stable release updates of systemd usually do not bump NEWS file
timestamp. And thus time-epoch remains the same for the lifetime of a release.

It would be better, if each new stable release rebuild of systemd would bump
the time epoch a bit. But at the same time remain
reproducible. SOURCE_DATE_EPOCH is an environmnet variable defined for this
purpose. Thus if available, prefer that, instead of the NEWS file modification
time.

For example, on Debian/Ubuntu under the reproducible builds the
SOURCE_DATE_EPOCH is set to the timestamp from the packaging metadata, thus it
is incremented on every new stable release update, whilst preserving
reproducible builds capability.

Reference: https://reproducible-builds.org/docs/timestamps/
2020-05-18 08:45:01 +02:00
Lennart Poettering
bccba5249a update TODO 2020-05-15 16:05:33 +02:00
Lennart Poettering
157644119b update TODO 2020-05-14 23:59:23 +02:00
Lennart Poettering
7cc8fb3ef0 update TODO 2020-05-12 23:56:26 +02:00
Lennart Poettering
3d9237d666 update TODO 2020-05-12 11:10:34 +02:00
Lennart Poettering
82c8bda1f1 update TODO 2020-05-10 11:20:01 +02:00
Lennart Poettering
f1eb0ccd9e update TODO 2020-05-10 10:19:12 +02:00
Lennart Poettering
b2da95cfa1 update TODO 2020-05-09 11:10:56 +02:00
Lennart Poettering
15981c26e3 update TODO 2020-05-09 10:37:32 +02:00
Lennart Poettering
321330ecab update TODO 2020-05-07 23:37:35 +02:00
Lennart Poettering
a6e1018df2 update TODO 2020-05-07 23:30:06 +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
6a49603e08 update TODO 2020-05-07 16:13:07 +02:00
Lennart Poettering
1f7c6f906b update TODO 2020-05-07 15:46:00 +02:00
Lennart Poettering
33bd857f94 update TODO 2020-04-28 23:16:35 +02:00
Lennart Poettering
76410e9849 update TODO 2020-04-28 20:02:50 +02:00
Lennart Poettering
c98fef264b update TODO 2020-04-28 19:38:55 +02:00
Lennart Poettering
a9ab5cdb50
Merge pull request #15472 from keszybz/dbus-api-docs
A few more dbus api documentation updates
2020-04-23 17:01:11 +02:00
Lennart Poettering
185924ab63 update TODO 2020-04-23 16:01:46 +02:00
Zbigniew Jędrzejewski-Szmek
2807b68019
Merge pull request #15520 from mrc0mmand/various-codebase-improvements
tree-wide: various codebase improvements
2020-04-22 08:41:38 +02:00
Frantisek Sumsal
86b52a3958 tree-wide: fix spelling errors
Based on a report from Fossies.org using Codespell.

Followup to #15436
2020-04-21 23:21:08 +02:00
Lennart Poettering
c5ca6d9076 update TODO 2020-04-21 21:23:01 +02:00
Zbigniew Jędrzejewski-Szmek
38b38500c6 tree-wide: use "hostname" spelling everywhere
It's not that I think that "hostname" is vastly superior to "host name". Quite
the opposite — the difference is small, and in some context the two-word version
does fit better. But in the tree, there are ~200 occurrences of the first, and
>1600 of the other, and consistent spelling is more important than any particular
spelling choice.
2020-04-21 16:58:04 +02:00
Zbigniew Jędrzejewski-Szmek
6daebf9e4a TODO: add a hypothetical 2020-04-20 15:33:18 +02:00
Lennart Poettering
09f8722801
Merge pull request #15396 from keszybz/dbus-api-docs
D-bus API docs
2020-04-17 23:40:50 +02:00
Zbigniew Jędrzejewski-Szmek
3031660c21 man: import org.freedesktop.systemd1(3) from the wiki
As usual, the formatting was fixed and various obvious updates
were done, but nothing major.

I removed documentation of snapshots and related methods though.
2020-04-16 19:46:40 +02:00
Lennart Poettering
6663cfd574 update TODO 2020-04-13 14:31:46 +02:00
Evgeny Vereshchagin
50f5e2e281
Merge pull request #15309 from poettering/strv-split
remove dead-lock in strv_split()
2020-04-03 06:37:54 +03:00
Lennart Poettering
0fc659eea9 update TODO 2020-04-02 16:58:49 +02:00
Lennart Poettering
77b19caf6b update TODO 2020-04-02 16:42:20 +02:00
Zbigniew Jędrzejewski-Szmek
0d066dd1a4 pid1: add new mode systemd.show-status=error and use it when 'quiet' is passed
systemd.show-status=error is useful for the case where people care about errors
only.

If people want to have a quiet boot, they most likely don't want to see all
status output even if there is a delay in boot, so make "quiet" imply
systemd.show-status=error instead of systemd.show-status=auto.

Fixes #14976.
2020-03-01 11:48:23 +01:00
Zbigniew Jędrzejewski-Szmek
bc130b6858 Fix typo in function name 2020-02-04 18:54:12 +01:00
Zbigniew Jędrzejewski-Szmek
dc9fd22d3d Merge pull request #14398 from poettering/mount-prep 2020-02-04 16:28:51 +01:00
Lennart Poettering
ad23785246 update TODO 2020-01-31 15:10:40 +01:00
Anita Zhang
1b9d61bcee
Merge pull request #14696 from poettering/dissect-tweaks
various tweaks to the image dissection logic
2020-01-30 12:46:03 -08:00
Zbigniew Jędrzejewski-Szmek
2a4be3c52b Various typo fixes and grammar corrections 2020-01-30 13:48:01 +01:00
Zbigniew Jędrzejewski-Szmek
4119d1e60a
Merge pull request #14096 from poettering/homed
systemd-homed
2020-01-30 12:32:06 +01:00
Lennart Poettering
70e9d9a56c update TODO 2020-01-29 19:39:02 +01:00
Lennart Poettering
ed2d966152 update TODO 2020-01-29 19:30:02 +01:00
Lennart Poettering
97cd52c1b5 update TODO 2020-01-29 19:23:35 +01:00
Lennart Poettering
d200253ba5 update TODO 2020-01-29 16:55:59 +01:00
Lennart Poettering
c809ed783e update TODO 2020-01-28 22:38:26 +01:00
Lennart Poettering
006c44c1e8 TODO: add various items as result from devconf.cz 2020 discussions 2020-01-28 15:05:20 +01:00
Lennart Poettering
e1d32d6ee8 update TODO 2020-01-23 23:00:46 +01:00
Lennart Poettering
56a061f508 update TODO 2020-01-21 20:22:38 +01:00
Lennart Poettering
492f91d8c6 update TODO 2020-01-20 17:42:03 +01:00
Zbigniew Jędrzejewski-Szmek
ea7fe1d1c2
Merge pull request #14390 from poettering/gpt-var-tmp
introduce GPT partition types for /var and /var/tmp and support them for auto-discovery
2020-01-14 15:37:53 +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
Lennart Poettering
27cc3c9d76 update TODO 2019-12-23 14:45:03 +01:00
Lennart Poettering
27b4b3cc92 update TODO 2019-12-18 11:02:21 +01:00
Yu Watanabe
e16f18bddf
Merge pull request #14339 from keszybz/invalid-enablement-logs
Small enhancements to logs for enabling of invalid units
2019-12-17 15:04:14 +09:00
Zbigniew Jędrzejewski-Szmek
b742942edf TODO: drop entry
Implemented in 7d1e91d1a9.
2019-12-16 14:19:49 +01:00
Zbigniew Jędrzejewski-Szmek
e51712963b shared/install: log syntax error for invalid DefaultInstance=
Ideally, we would want to report this over back over dbus. But that is pretty hard,
because the unitfile parsing logic doesn't provide any feedback.
systemd-analyze verify also doesn't notice the issue, because it doesn't look
at the [Install] section at all. Let's print a message in the logs at least.
2019-12-16 14:19:49 +01:00
Lennart Poettering
3b5cd25f4d
Merge pull request #14196 from keszybz/gpt-auto-generator-debugging
gpt-auto-generator debugging
2019-12-16 09:24:02 +01:00
Zbigniew Jędrzejewski-Szmek
5ebbb45bde TODO: remove obsolete entries
"introspect" is well established and OK. We shouldn't change it at this point.
2019-12-05 10:35:32 +01:00
Lennart Poettering
e544601536 sd-event: refuse running default event loops in any other thread than the one they are default for 2019-12-04 10:36:28 +01:00
Zbigniew Jędrzejewski-Szmek
6a2dc6a040 TODO: remove obsolete entries 2019-12-03 17:15:44 +01:00
Zbigniew Jędrzejewski-Szmek
46c41478c9 tree-wise: standarize on "auto-detection" spelling 2019-11-30 17:42:13 +01:00
Lennart Poettering
0e7e854471 update TODO 2019-11-29 17:50:12 +01:00
Lennart Poettering
173c78739b update TODO 2019-11-29 12:54:01 +01:00
Lennart Poettering
7daa88ee5d update TODO 2019-11-20 17:51:28 +01:00
Lennart Poettering
25f9288e31 update TODO 2019-11-19 15:42:55 +01:00
Lennart Poettering
a53c38f1a2
Merge pull request #14017 from poettering/analyze-calendar-tweaks
Add --base-time= for systemd-analyze calendar
2019-11-13 20:20:10 +01:00
Lennart Poettering
f3e361c1dd update TODO 2019-11-13 12:58:12 +01:00
Lennart Poettering
60c20e242c update TODO 2019-11-13 09:42:58 +00:00
Lennart Poettering
91fc013fc4 update TODO 2019-11-12 15:18:37 +01:00
Zbigniew Jędrzejewski-Szmek
9e9dd3e329
Merge pull request #13862 from zachsmith/systemd-tmpfiles-deprecate-for-force
systemd-tmpfiles: deprecate F for f+
2019-11-12 10:28:59 +01:00
Zbigniew Jędrzejewski-Szmek
7fd7dab90f
Merge pull request #13554 from keur/systemctl_status_timer
systemctl: Add timer activation to status
2019-11-08 14:19:40 +01:00
Zbigniew Jędrzejewski-Szmek
754499fab2
Merge pull request #13904 from keur/job_mode_triggering
Job mode triggering
2019-11-07 08:36:26 +01:00
Kevin Kuehler
965c5d1d5a systemctl: Add TriggeredBy and Triggers to status
For all units that aren't timers, if it is activated by another unit,
add the triggering unit under the  "TriggeredBy:" header. If a unit can
trigger other units, print the units it triggers other the "Triggers:"
header.
2019-11-05 21:51:31 +01:00
Kevin Kuehler
1f0f9f21c1 core: Add triggering job mode
When used with systemctl stop, follows TRIGGERED_BY dependencies and
adds them to the same transaction.

Fixes: #3043
2019-11-05 11:17:38 -08:00
Lennart Poettering
f14c9bafa8 update TODO 2019-11-01 13:07:58 +01:00
Zach Smith
eccebf4b0d systemd-tmpfiles: deprecate F for f+ 2019-10-31 22:27:56 -07:00
Kevin Kuehler
3a77f9fb4c systemctl: Default suffixes for timer and socket
* use .timer suffix by default for systemctl list-timers
* use .socket suffix by default for systemctl list-sockets
2019-10-04 08:27:56 +02:00
Zbigniew Jędrzejewski-Szmek
90137b6252 TODO: add stuff about timers 2019-09-12 11:17:20 +02:00
Lennart Poettering
2ec71e439f journald: slightly bump OOM adjust for journald (#13366)
If logging disappears issues are hard to debug, hence let's give
journald a slight edge over other services when the OOM killer hits.

Here are the special adjustments we now make:

 systemd-coredump@.service.in OOMScoreAdjust=500
 systemd-journald.service.in  OOMScoreAdjust=-250
 systemd-udevd.service.in     OOMScoreAdjust=-1000

(i.e. the coredump processing is made more likely to be killed on OOM,
and udevd and journald are less likely to be killed)
2019-08-22 10:02:28 +02:00
Lennart Poettering
97e5cc8818 update TODO 2019-08-20 16:21:01 +02:00
Lennart Poettering
9ef3376bc9 TODO: add more, and drop implemented stuff 2019-08-13 14:41:24 +02:00
Lennart Poettering
b8011ae2f8
Merge pull request #13217 from poettering/TODO-updates
udev: warn if rules files are executable
2019-07-29 20:44:39 +02:00
Lennart Poettering
1d7458fbb1
Merge pull request #13207 from keszybz/symbolic-exit-code-names
Symbolic exit code names
2019-07-29 18:58:06 +02:00
Lennart Poettering
9aac172f70 update TODO 2019-07-29 18:51:44 +02:00
Lennart Poettering
b7dcc0efdf TODO: drop udev access mode item we just implemented 2019-07-29 18:51:41 +02:00
Lennart Poettering
875d22d8f1 TODO: remove item implemented in f05e1ae666 2019-07-29 18:51:18 +02:00
Zbigniew Jędrzejewski-Szmek
df38212dd1
Merge pull request #13212 from poettering/sleep-conf-default
sleep: document default HibernateDelaySec=
2019-07-29 16:03:54 +02:00
Zbigniew Jędrzejewski-Szmek
2e2ed88062 pid1,systemctl: allow symbolic exit code names 2019-07-29 15:54:53 +02:00
Zach Smith
88bc86fcf8 systemd-sleep: use swaps in priority order
In situations where hibernation is requested but resume= and
resume_offset= kernel parameters are not configured, systemd
will attempt to locate a suitable swap location by inspecting
/proc/swaps. This change will use the first suitable swap with
the highest configured priority.
2019-07-29 12:59:17 +02:00
Lennart Poettering
c846b23387 update TODO 2019-07-29 12:49:13 +02:00
Zbigniew Jędrzejewski-Szmek
47685d9d4b
Merge pull request #13137 from poettering/efi-random
beef up random seed logic, add boot loader entropy privisioning, improve docs about it
2019-07-26 12:43:32 +02:00
Lennart Poettering
f293fc5147 update TODO 2019-07-25 19:25:50 +02:00
Lennart Poettering
312dc1539e update TODO 2019-07-25 18:31:20 +02:00
Lennart Poettering
341fd87c83 TODO: remove apparently fixed issue from TODO 2019-07-25 18:31:20 +02:00
Lennart Poettering
9c230b8f86 update TODO 2019-07-24 08:57:23 +09:00
Anita Zhang
31cd5f63ce core: ExecCondition= for services
Closes #10596
2019-07-17 11:35:02 +02:00
Lennart Poettering
caa19815ea update TODO 2019-07-11 12:18:51 +02:00
Lennart Poettering
8e27167cc9
Merge pull request #13011 from keszybz/auto-erase
Remove string_erase and friends
2019-07-11 01:05:01 +02:00
Lennart Poettering
261e7d9270
Merge pull request #12755 from keszybz/short-identifiers
Allow using unit names in status messages
2019-07-11 00:00:51 +02:00
Zbigniew Jędrzejewski-Szmek
309c6b19a7 Remove string_erase 2019-07-10 14:43:44 +02:00
Zbigniew Jędrzejewski-Szmek
79dc477f2f shared/logs-show: urlify CONFIG_FILE in verbose mode
Now all short-*, verbose, with-unit modes are handled. cat, export, json-* are
not, but those are usually used for post-processing, so I don't think it'd be
useful there.
2019-07-10 14:20:09 +02:00
Zbigniew Jędrzejewski-Szmek
9ae4ef49cd Remove string_free_erase 2019-07-10 13:48:55 +02:00
Zbigniew Jędrzejewski-Szmek
2a8f53c67b Use unit->id instead of description in messages
v2:
- rename unit_identifier to unit_status_string
2019-07-10 13:35:26 +02:00
Zbigniew Jędrzejewski-Szmek
dc2c231684
Merge pull request #12760 from zachsmith/systemd-sleep_resume_offset
systemd-sleep: use resume_offset value if set
2019-06-27 13:37:27 +02:00
Michael Prokop
d238709c14 docs: fix typos and duplicate words
s/and and/and/
s/explicity/explicitly/
s/that that/that/
s/the the/the/
s/is is/it is/
s/overriden/overridden/
2019-06-27 10:43:21 +02:00
Zach Smith
2002d8cdae systemd-sleep: (bug) use resume_offset value if set
Use hibernation configuration as defined in
/sys/power/resume and /sys/power/resume_offset
if present before inspecting /proc/swaps and
attempting to calculate swapfile offset
2019-06-26 22:04:59 -07:00
Lennart Poettering
ac5dca6489 update TODO 2019-06-23 16:13:26 +02:00
Lennart Poettering
72bd85259b update TODO 2019-06-22 20:12:44 +02:00
Franck Bui
3acc84ebd9 nspawn: allocate the pty used for /dev/console within the container
The console tty is now allocated from within the container so it's not
necessary anymore to allocate it from the host and bind mount the pty slave
into the container. The pty master is sent to the host.

/dev/console is now a symlink pointing to the pty slave.

This might also be less confusing for applications running inside the container
and the overall result looks cleaner (we don't need to apply manually the
passed selinux context, if any, to the allocated pty for instance).
2019-06-18 08:17:34 +02:00
Zbigniew Jędrzejewski-Szmek
58cf79c224
Merge pull request #12424 from poettering/logind-brightness
logind: add SetBrightness() bus call as minimal API for setting "leds" and "backlight" kernel class device brightness
2019-06-12 14:28:09 +02:00
Zach Smith
28ca9c2499 systemd-sleep: refactor sleep config parsing
remove verb from parse

refactor required fields checks

refactor allow settings
2019-05-30 06:06:16 -07:00
Zach Smith
1bbbefe7a6 systemd-sleep: replace rtc wakealarm with CLOCK_BOOTTIME_ALARM s2h
refactor to use timerfd in place of rtc wakealarm

confirm CLOCK_BOOTTIME_ALARM support in can_s2h

Remove CLOCK_BOOTTIME_ALARM task from TODO

remove unnecessary check on clock_supported return
2019-05-28 17:02:36 +02:00
Lennart Poettering
5802d977c9 update TODO 2019-05-24 15:05:27 +02:00
Zbigniew Jędrzejewski-Szmek
390f0875e4 TODO: update 2019-05-22 10:10:51 +02:00
Lennart Poettering
5daeeecf33 update TODO 2019-05-09 14:26:42 -04:00
Ben Boeckel
5238e95759 codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
Lennart Poettering
3f0e934a37
Merge pull request #12226 from poettering/22bit-pids
sysctl: let's by default increase the numeric PID range from 2^16 to …
2019-04-11 18:58:08 +02:00
Lennart Poettering
54f802ff8a
Merge pull request #12037 from poettering/oom-state
add cgroupv2 oom killer event handling to service management
2019-04-11 18:57:47 +02:00
Lennart Poettering
45497f4d3b sysctl: let's by default increase the numeric PID range from 2^16 to 2^22
This should PID collisions a tiny bit less likely, and thus improve
security and robustness.

2^22 isn't particularly a lot either, but it's the current kernel
limitation.

Bumping this limit was suggested by Linus himself:

https://lwn.net/ml/linux-kernel/CAHk-=wiZ40LVjnXSi9iHLE_-ZBsWFGCgdmNiYZUXn1-V5YBg2g@mail.gmail.com/

Let's experiment with this in systemd upstream first. Downstreams and
users can after all still comment this easily.

Besides compat concern the most often heard issue with such high PIDs is
usability, since they are potentially hard to type. I am not entirely sure though
whether 4194304 (as largest new PID) is that much worse to type or to
copy than 65563.

This should also simplify management of per system tasks limits as by
this move the sysctl /proc/sys/kernel/threads-max becomes the primary
knob to control how many processes to have in parallel.
2019-04-09 11:22:52 +02:00
Lennart Poettering
7d1d177b8d update TODO 2019-04-09 11:17:58 +02:00
Zbigniew Jędrzejewski-Szmek
44e6a5ef82 bootctl: check if files specified by boot entry exist, and warn if not
Example output:
        title: Fedora 30 (Workstation Edition) (5.0.5-300.fc30.x86_64)
           id: 08a5690a2eed47cf92ac0a5d2e3cf6b0-5.0.5-bad-300.fc30.x86_64
       source: /boot/efi/loader/entries/08a5690a2eed47cf92ac0a5d2e3cf6b0-5.0.5-bad-300.fc30.x86_64.conf
      version: 5.0.5-300.fc30.x86_64
   machine-id: 08a5690a2eed47cf92ac0a5d2e3cf6b0
        linux: /08a5690a2eed47cf92ac0a/5.0.5-300.fc30.x86_64/linux (No such file or directory)
       initrd: /08a5690a2eed47cf92ac0a/5.0.5-300.fc30.x86_64/initrd (No such file or directory)
               /08a5690a2eed47cf92ac0a/5.0.5-300.fc30.x86_64/initrd2 (No such file or directory)
      options: ...
2019-04-05 13:51:19 +02:00
Zbigniew Jędrzejewski-Szmek
ce4c4f8108 bootctl: replace "type" with "source" in output
I think this is more useful (because it's easy to stick the path into an editor command
when one wants to change the options or inspect the files), and more self-explanatory.

Example output:
        title: Fedora 30 (Workstation Edition) (4.20.16-200.fc29.x86_64)
           id: 08a5690a2eed47cf92ac0a5d2e3cf6b0-4.20.16-200.fc29.x86_64
       source: /boot/efi/loader/entries/08a5690a2eed47cf92ac0a5d2e3cf6b0-4.20.16-200.fc29.x86_64.conf
      version: 4.20.16-200.fc29.x86_64
          ...

        title: Fedora 30 (Workstation Edition)
           id: fedora-30
       source: /boot/efi/EFI/Linux/linux-5.0.5-300.fc30.x86_64-08a5690a2eed47cf92ac0a5d2e3cf6b0.efi
        linux: EFI/Linux/linux-5.0.5-300.fc30.x86_64-08a5690a2eed47cf92ac0a5d2e3cf6b0.efi
          ...

        title: Reboot Into Firmware Interface
           id: auto-reboot-to-firmware-setup
       source: /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
2019-04-05 13:50:34 +02:00
Lennart Poettering
6d85ba7299 update TODO 2019-04-02 16:56:48 +02:00
Lennart Poettering
ee6bb34d4a update TODO 2019-04-02 08:20:10 +02:00
Lennart Poettering
8c73ed754a update TODO 2019-03-29 16:17:55 +01:00
Zbigniew Jędrzejewski-Szmek
6ea07d4fb4
Merge pull request #12140 from poettering/copy-early
chattr/copy.c fixes
2019-03-29 15:02:50 +01:00
Zbigniew Jędrzejewski-Szmek
983616735e
Merge pull request #12137 from poettering/socket-var-run
warn about sockets in /var/run/ too
2019-03-29 15:00:25 +01:00
Lennart Poettering
e19ba205ab update TODO 2019-03-28 18:43:04 +01:00
Lennart Poettering
da3d198563 update TODO 2019-03-28 17:00:46 +01:00
Lennart Poettering
d84520e9d9 update TODO 2019-03-28 12:09:38 +01:00
Lennart Poettering
3dfbf094ac update TODO 2019-03-26 11:17:23 +01:00
Lennart Poettering
13fbfc3013 update TODO 2019-03-20 21:49:33 +01:00
Zbigniew Jędrzejewski-Szmek
631427d622 TODO: add some bootctl items 2019-03-20 13:17:27 +01:00
Lennart Poettering
f3ae265f5c update TODO 2019-03-12 16:10:55 +01:00
Yu Watanabe
8c8b67ffec TODO: update 2019-03-07 17:28:33 +09:00
Lennart Poettering
12be0693eb update TODO 2019-03-05 16:52:46 +01:00
Lennart Poettering
fc420dfbe6 update TODO 2019-03-05 12:21:17 +01:00
Lennart Poettering
ccc45964a4 update TODO 2019-03-01 12:41:32 +01:00
Lennart Poettering
4d422d1f9e
Merge pull request #11226 from keszybz/enable-remount-fs-dynamically
Enable systemd-remount-fs.service dynamically
2019-02-18 12:46:31 +01:00
Zbigniew Jędrzejewski-Szmek
62353f69cc journal: drop _packed_ attribute in a few places
The justification is the safe as for the grandparent commit.
2019-02-04 20:32:44 +01:00
Zbigniew Jędrzejewski-Szmek
17ec531ff0 man: describe better when remount-fs.service and gpt-auto-generator are active 2019-01-03 15:30:56 +01:00
Chris Down
4e1dfa45e9 cgroup: s/cgroups? ?v?([0-9])/cgroup v\1/gI
Nitpicky, but we've used a lot of random spacings and names in the past,
but we're trying to be completely consistent on "cgroup vN" now.

Generated by `fd -0 | xargs -0 -n1 sed -ri --follow-symlinks 's/cgroups?  ?v?([0-9])/cgroup v\1/gI'`.

I manually ignored places where it's not appropriate to replace (eg.
"cgroup2" fstype and in src/shared/linux).
2019-01-03 11:32:40 +09:00
Zbigniew Jędrzejewski-Szmek
6ea05ac99f
Merge pull request #10912 from poettering/gpt-root-rw
make sure to propagate GPT root partition r/w flag into mount r/w flag
2018-12-20 11:37:41 +01:00
Lennart Poettering
e3b6ae8d00 update TODO 2018-12-18 15:03:22 +01:00
Lennart Poettering
7d1353ccf2 update TODO 2018-12-18 14:47:46 +01:00
Lennart Poettering
03ccc7f077 update TODO 2018-12-10 16:09:41 +01:00
Zbigniew Jędrzejewski-Szmek
871fa294ff Merge pull request #10935 from poettering/rlimit-nofile-safe
Merged by hand to resolve a trivial conflict in TODO.
2018-12-06 17:19:21 +01:00
Lennart Poettering
db3cea2219 update TODO 2018-12-01 12:53:26 +01:00
Lennart Poettering
707b3fbd57 update TODO 2018-12-01 12:50:45 +01:00
Lennart Poettering
d96c081aa5 update TODO 2018-11-30 16:48:09 +01:00
Lennart Poettering
8f2eb7302d update TODO 2018-11-29 20:54:31 +01:00
Zbigniew Jędrzejewski-Szmek
401faa3533
Merge pull request #10357 from poettering/import-fs
machinectl import-fs command and other fixes
2018-11-29 16:38:46 +01:00
Lennart Poettering
7154bebb3e update TODO 2018-11-27 09:44:40 +01:00
Lennart Poettering
fe1bff158e update TODO 2018-11-26 18:09:01 +01:00
Lennart Poettering
5f7ecd610c import: drop logic of setting up /var/lib/machines as btrfs loopback mount
Let's simplify things and drop the logic that /var/lib/machines is setup
as auto-growing btrfs loopback file /var/lib/machines.raw.

THis was done in order to make quota available for machine management,
but quite frankly never really worked properly, as we couldn't grow the
file system in sync with its use properly. Moreover philosophically it's
problematic overriding the admin's choice of file system like this.

Let's hence drop this, and simplify things. Deleting code is a good
feeling.

Now that regular file systems provide project quota we could probably
add per-machine quota support based on that, hence the btrfs quota
argument is not that interesting anymore (though btrfs quota is a bit
more powerful as it allows recursive quota, i.e. that the machine pool
gets an overall quota in addition to per-machine quota).
2018-11-26 18:09:01 +01:00
Lennart Poettering
d7b659ef01 update TODO 2018-11-26 13:41:07 +01:00
Zbigniew Jędrzejewski-Szmek
3151a11061 TODO: add entry 2018-11-16 19:47:07 +01:00
Lennart Poettering
6415fecd4c
Merge pull request #10785 from poettering/cgroup-join-removal
remove JoinControllers= setting
2018-11-16 17:53:26 +01:00
Lennart Poettering
f54353406a update TODO 2018-11-16 14:54:13 +01:00
Lennart Poettering
899feb7225 man: let's deprecate PermissionsStartOnly=
The concept is redundant and predates the special chars that do the same
in ExecStar=. Let's settle on advertising just the latter, and hide
PermissionsStartOnly= from the docs (even if we continue supporting it).
2018-11-16 14:31:37 +01:00
Lennart Poettering
8a7cf15733 update TODO 2018-11-14 17:01:55 +01:00
Lennart Poettering
06bd149a71 update TODO 2018-11-13 23:48:53 +01:00
Lennart Poettering
d49881a06a update TODO 2018-11-12 18:57:52 +01:00
Lennart Poettering
cd0504a395 update TODO 2018-11-12 17:44:46 +01:00
Lennart Poettering
bc137cf45d update TODO 2018-11-12 11:44:02 +01:00