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

996 Commits

Author SHA1 Message Date
hulkoba
565e2396fd
docs/FAQ: update logind man page link and fix relative link 2024-03-27 07:11:52 +01:00
hulkoba
b058563a54
docs/PORTABILITY_AND_STABILITY: update internal links 2024-03-27 07:11:52 +01:00
hulkoba
a90c3a9eb2
docs/JOURNAL_FILE_FORMAT: update journal links 2024-03-27 07:11:52 +01:00
hulkoba
2cc483482e
docs/INITRD_INTERFACE: update link
separate usr is broken
2024-03-27 07:11:51 +01:00
hulkoba
67ae7f6e73
docs/CONTAINER_INTERACE: update vm-or-container-manager link 2024-03-27 07:11:51 +01:00
hulkoba
9adb7cd99d
docs/GROUP_DELEGATION: update links
to The New Control Group Interfaces and Writing VM and Container Managers
2024-03-27 07:11:50 +01:00
hulkoba
fd50b326a4
docs/WRITING_RESOLVER_CLIENTS: update manpage link 2024-03-27 07:11:50 +01:00
hulkoba
9f985a6cfc
docs/WRITING_RESOLVER_CLIENTS: format text 2024-03-27 07:11:39 +01:00
Mariano Giménez
d3421bd4e4
docs: add pax control groups
and adapt links
2024-03-27 06:53:47 +01:00
Mariano Giménez
151c22e873
docs/TIPS_AND_TRICKS: update faq link 2024-03-27 06:53:46 +01:00
Mariano Giménez
ed8998d372
docs/DEBUGGING: add screenshot and fix path to it 2024-03-27 06:53:46 +01:00
Mariano Giménez
cc7ec2cab4
docs/WRITING VM_AND_CONTAINER_MANAGERS: update manpage link
and container interface link
2024-03-27 06:53:46 +01:00
Mariano Giménez
288816c503
docs/WRITING_NETWORK_CONFIGURATION_MANAGERS: update manpage links 2024-03-27 06:53:45 +01:00
Mariano Giménez
b479ff876f
docs/WRITING_DISPLAY_MANAGERS: update links
to desktop environments and logind manpage
2024-03-27 06:53:45 +01:00
Mariano Giménez
48c43dbe1c
docs/WRITING_DESKTOP_ENV: update links
to 'bus api of logind' and 'inhitor locks'
2024-03-27 06:53:45 +01:00
Mariano Giménez
14ca3f421e
docs/THE_CASE_FOR_THE_USR_MERGE): update link to 'seprate usr is broken' 2024-03-27 06:53:44 +01:00
Mariano Giménez
cc9977da03
docs/MINIMAL_BUILDS: remove last sentence due to missing link
http://kdzbn.homelinux.net/libcap-add-pkg-config.patch
This link is a 404, so we removed the whole sentence.
2024-03-27 06:53:44 +01:00
Mariano Giménez
adf0eb641a
docs/INHIBITOR_LOCKS: update logind d-bus api link
and fix freedesktop wiki link
2024-03-27 06:53:44 +01:00
Mariano Giménez
f9be794ace
docs/CONTROL_GROUP_INTERFACE: update links 2024-03-27 06:53:43 +01:00
Mariano Giménez
5f1b83d240
docs/BOOT: update bootloader specification link 2024-03-27 06:53:43 +01:00
Mariano Giménez
101c4ff939
docs/BACKPORTS: close parenthesis 2024-03-27 06:53:42 +01:00
hulkoba
257889efb3
docs/HACKING: fix jinja link 2024-03-27 06:53:42 +01:00
hulkoba
517fd35f94
docs/HACKING: link mkosi webpage
and remove one of two mkosi github links
2024-03-27 06:53:29 +01:00
hulkoba
f757c5a4bf
docs/CODING_STYLE: remove whitespace 2024-03-27 06:49:16 +01:00
hulkoba
4ba04a050a
docs/ARCHITECTURE: link test/readme.testsuite 2024-03-27 06:49:16 +01:00
Krzesimir Nowak
33cb10f68d docs: Document SYSTEMD_SYSEXT_MUTABLE_MODE env var 2024-03-25 08:14:36 +01:00
Daan De Meyer
e33d43b059 docs: Add one more git submodule setting to configure 2024-03-21 23:02:52 +00:00
Matthias Lisin
8c2440dd42 docs: fix keys in wrong section 2024-03-21 02:32:26 +01:00
Daan De Meyer
db7374e156 Document new vsock literals
Fixes #31849
2024-03-19 12:31:36 +00:00
Luca Boccassi
15d4bedf3d
Merge pull request #31778 from yuwata/kbd-util
kbd-util: allow to override the default keymap directories
2024-03-18 12:20:36 +00:00
Luca Boccassi
48570c9273
Merge pull request #31811 from yuwata/network-pin-persistent-storage
network: pin file descriptor of persistent storage
2024-03-18 11:08:21 +00:00
Tycho Andersen
af668ab10a docs: update footer to 2024 2024-03-16 03:14:23 +09:00
Daan De Meyer
6233a76932 meson: Rename add-git-hook.sh to git-setup.sh and configure git in it
Let's automatically apply the recommended git config with meson.
2024-03-15 17:27:49 +01:00
Daan De Meyer
c735424908 docs: Update HACKING guide with recommended git config 2024-03-15 17:27:49 +01:00
Yu Watanabe
013359ac65 network: pin file descriptor of persistent storage
This also drop the support of /run/systemd/netif/persistent-storage-ready,
as the file is anyway removed when networkd is stopped.
Let's use $SYSTEMD_NETWORK_PERSISTENT_STORAGE_READY=1 instead on testing.
2024-03-16 01:12:05 +09:00
Yu Watanabe
6e0abf5fb3 docs: fix typo
Follow-up for 34c6b7d9de.
2024-03-15 04:04:01 +09:00
Yu Watanabe
e852f10cb4 kbd-util: allow to override the default keymap directories
This introduces $SYSTEMD_KEYMAP_DIRECTORIES environment variable to
override the hardcoded keymap directories.

I think it is not necessary to provide the first class configuration
option for controlling the keymap directories, but it is not good to
hardcode the paths. So, let's introduce an environment variable to
override that.

Prompted by #31759.

Closes #31759.
2024-03-15 03:19:45 +09:00
Lennart Poettering
34c6b7d9de docs: add a new document describing the VM interface of systemd
This mirrors the existing CONTAINER_INTERFACE.md document, but describes
extension points of systemd running in a VM with a machine manager
supervising it.
2024-03-14 17:25:04 +01:00
Lennart Poettering
83797ece91 docs: update various links 2024-03-14 17:25:00 +01:00
Lennart Poettering
b6a24b87c1 docs: properly line break WRITING_VM_AND_CONTAINER_MANAGERS.md 2024-03-14 17:24:57 +01:00
Lennart Poettering
1e785c50c9 docs: document new sd_notify() extensions 2024-03-14 17:24:24 +01:00
Daan De Meyer
61fbdd441f
Merge pull request #31345 from DaanDeMeyer/mkosi-packages
Build distribution packages in mkosi
2024-03-07 11:12:14 +01:00
Daan De Meyer
4d0f1451b5 Build distribution packages in mkosi
Instead of running meson install and hoping for the best, let's build
distribution packages from the downstream packaging specs. This gets
us the following:

- Vastly simplified mkosi scripts since we don't need a separate initrd
  image anymore but can just reuse the default mkosi initrd.
- Almost everything can move to the base image as its not the basis
  anymore for the initrd and as such we don't need to care about the
  size anymore.
- The systemd packages that get pulled in as dependencies of other
  packages get properly uninstalled and replaced with our packages that
  we built instead of just installing on top of an existing systemd
  installation with no guarantee that everything from that previous
  installation was removed.
- Much better testing coverage as what we're testing is much closer
  to what will actually be deployed in distributions.
- Immediate feedback if something we change breaks distribution packaging
- We get integration with the distribution for free as we'll automatically
  use the proper directories and such instead of having to hack this
  into a mkosi build script.
- ...
2024-03-07 10:47:19 +01:00
Lennart Poettering
74d142ff3a
Merge pull request #30612 from AdrianVovk/sleep-freeze-user-seesions
Freeze user sessions for all types of sleep
2024-03-06 18:52:57 +01:00
Luca Boccassi
ba6ec879bb
Merge pull request #31621 from poettering/resolved-proxy-do
resolved: proxy upstream local requests to our stub with DO bit set
2024-03-06 13:55:14 +00:00
Christian Wesselhoeft
da95494ca3 PORTABLE_SERVICES.md: Improve grammar 2024-03-06 10:02:38 +00:00
Adrian Vovk
a5b009d935
homework: Lock/Unlock: Freeze/Thaw user session
Whenever a home directory is in a locked state, accessing the files of
the home directory is extremely likely to cause the thread to hang. This
will put the session in a strange state, where some threads are hanging
due to file access and others are not hanging because they are not
trying to access any of the user's files.

This can lead to a whole slew of consequences. For example, imagine a
likely situation where the Wayland compositor is not hanging, but the
user's open apps are. Eventually, the compositor will detect that none
of the apps are responding to its pings, assume that they're frozen
(which they are), and kill them. The systemd user instance can end up in
a similarly confused state and start killing user services. In the worst
case, killing an app at an unexpected moment can lead to data loss.

The solution is to suspend execution of the whole user session by
freezing the user's slice.
2024-03-05 12:12:36 -05:00
Adrian Vovk
0b958bb3ee
sleep: Always freeze user.slice
Previously, we'd only freeze user.slice in the case of s2h, because we
didn't want the user session to resume while systemd was transitioning
from suspend to hibernate.

This commit extends this freezing behavior to all sleep modes.

We also have an environment variable to disable the freezing behavior
outright. This is a necessary workaround for someone that has hooks
in /usr/lib/systemd/system-sleep/ which communicate with some
process running under user.slice, or if someone is using the proprietary
NVIDIA driver which breaks when user.slice is frozen (issue #27559)

Fixes #27559
2024-03-05 12:12:35 -05:00
Lennart Poettering
6399be223b resolved: make resolved authoritative in resolveing our local host name
This is a kinda a follow-up for ce266330fc: it
makes resolved authoritative on our local hostname, and never contacts
DNS anymore for it.

We effectively already were authoritative for it, except if the user
queried for other RR types than just A/AAAA. This closes the gap and
refuses routing other RR type queries to DNS.

Fixes: #23662
2024-03-05 15:31:32 +01:00
Max Gautier
7360be92ad Fixing bad link to Debian packages tests 2024-03-05 11:22:13 +01:00