IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
(cherry picked from commit 56f32d9e782f8ba43f17cb04687c915a7e41d10e)
(cherry picked from commit 5b5f5666b2fd32950325387a3e0bc0b60f0b1808)
(cherry picked from commit 7cc52eb6e10256c0eaf9b2da6083f9f966ce1eac)
(cherry picked from commit c3bcc2f897d6090d7690c2da39d5bf8cbb752d28)
Avoids the need to maintain the same list over and over again, and
link it to the defition table in the implementation as a reminder
too
(cherry picked from commit 3509fe124d3a4fe2934028f83ae156ade050c8fe)
(cherry picked from commit 1075727f7fe9436d2e468147cf663aaa1be867fd)
(cherry picked from commit 42521e2d2d0b8beb59ed58b9bb3135e58468fcd7)
(cherry picked from commit e644a619bf1f66a3627156f4f4548ea62eae60f9)
We had several users, that wrote their unit files with
WantedBy=default.target because it should be started "every time".
But for example in Fedora/CentOS/RHEL, this often breaks for
example selinux relabels (where we just want to do a relabel and reboot).
(cherry picked from commit 67b6404b80cf8078f3d9ec6d4c2f34ac25b15077)
(cherry picked from commit adc57cd81c02e5afc8efcbc64eb3a6305a97c62c)
(cherry picked from commit 02447d28887d01bf8f980c16bd80ea40f30ef73a)
(cherry picked from commit 3f7bf5ac5fb1c68ca68be42e02be9bb1da8e0a38)
fix pointer constness in documentation
(cherry picked from commit fec09ff094670a6903b12b1c599b00b39a2b0c88)
(cherry picked from commit 072ea04e26c84ac25419316c659f4d89d8002f34)
(cherry picked from commit a422935fe076c758b4a05dc495944d798b71b938)
(cherry picked from commit add0dca8d386a3c735c24ab53e33402f13bf0783)
Bit 60 is the one corresponding to ReadOnly, not 50. Fix this.
(cherry picked from commit 932cc94436e653d0487c29e0dd44685610cd7bcb)
(cherry picked from commit 2665618555d08fc3877043cac392f1b6573811b7)
(cherry picked from commit f38c19bc695636700d85c5eb689680b017cc29e8)
(cherry picked from commit 5ae6c773e4e6f3e95db8de7d6b4e1a8ff45f7e10)
(cherry picked from commit 3f24fa57df552accc2a6f9ab4d36724ba7227eff)
(cherry picked from commit ec3f2c8c8ad86004d6048510382167ee5f1ded61)
(cherry picked from commit 8e0cb57134161105f4eceae321a3ad3e51c60639)
(cherry picked from commit 53493370d24ecaa0b49175c9ab5849a193a5935c)
- Improve wording for explanation when these variables are inherited
- Clarify that these variables are not placed in the process environment block,
so /proc/PID/environ cannot be used as a debugging tool
(cherry picked from commit 6c1e0823b04525716d9ee0031a2b6735d3f7dfa4)
(cherry picked from commit 5cf0c45f64079430b0b7c12ad323f238386260b0)
(cherry picked from commit 79f335d0ef2d3c35fdf4c19988c711a3abd31ee0)
(cherry picked from commit bb28a6c0b68a4a9dc2aa33972b3419680d333c05)
Certainly on systemd 252 at least a configuration of
```
MemorySwapMax=40%
```
is supported but this was missing from the man page.
Only MemoryMax was documented as supporting a %.
(cherry picked from commit 8af38e5b0475f514141d314088dcf9fffd7edc37)
(cherry picked from commit 766af3f782299a7cbfba24a4333444ac008c17d2)
(cherry picked from commit 69681c222e8198ed7327173eada85cdd7684546d)
(cherry picked from commit 5ff55bc33c7d8c29ed609e7fe1eb4237566c69b0)
Make the warning for oneshot services (where RuntimeMaxSec= has no
effect) more actionable by pointing to the directive people can use
instead to effectively limit their runtime.
(cherry picked from commit 8c4aa0f1c6a78b35712fa6a7acf6d755d0c0bd86)
(cherry picked from commit 468b0646342986c6cc9bd797b4ba189dc488ee8d)
(cherry picked from commit 017d7fd49085e8f877cfa2510f251b9a6b59f207)
(cherry picked from commit a7e6ebc98418bc28f30f89588127e6dbce526156)
Symlink created by Alias will use the value as the file name.
(cherry picked from commit 3f0e7fd4fd1d20e3f4be18f485c76d25ce10f41b)
(cherry picked from commit a68188e985d29e46cfa6eb2e17419fad90f0b287)
(cherry picked from commit 4b8ce6a18720c2347063b6d681e5a1dac560b6c0)
(cherry picked from commit e8566d7bbfc4f269835ecbcc8c7960e025cdbd2b)
The XDG base dir spec adopted ~/.local/state/ as a thing a while back,
and we updated our docs in b4d6bc63e602048188896110a585aa7de1c70c9b, but
forgot to to update the table at the bottom to fully reflect the update.
Fix that.
(cherry picked from commit 72a6296b16a75d4e26eec972f2999e69c9967b9d)
(cherry picked from commit df1ed3fbe2d03e9c1d0eed7d836c5aa541f4fb52)
(cherry picked from commit 15352fa22315cd76582ae33a63d065c808b9e958)
(cherry picked from commit 083380e814ac5dc773a849315702d0707088aa8b)
(cherry picked from commit 163bb43ceaa1e5bdcda27c4417339b3af9cf28af)
(cherry picked from commit 3e435e970d157271b2378400cbc9c84610d38f06)
(cherry picked from commit b3bc7b8a586171f58ca8a0ba100ebc43ae23079b)
(cherry picked from commit 6e37495d22bd136939e540dd6a8e595f48ad7a2c)
(cherry picked from commit 051d462b42fe6c27824046c15cd3c84fa5afe05b)
(cherry picked from commit 90b5cb35e9901947fca63d82e69b74b2df959258)
(cherry picked from commit 130358d6def563aeb8897a7d9eb8f860f162f7a3)
(cherry picked from commit b54581e10d771b967806d512b4a3d4da164aaff1)
Historically, systemd-tmpfiles was designed to manager temporary
files, but nowadays it has become a generic tool for managing
all kinds of files. To avoid user confusion, let's remove "temporary"
from the tool's description.
As discussed in #33349
(cherry picked from commit b5c8cc0a3b8e4e2fea0539d6420a76b524ea5735)
(cherry picked from commit 1a0e6961cfaed42bda542e111738c136f7b4d73f)
(cherry picked from commit c752efdfbac84cd62ddc54fc6ff7c58361f7f998)
(cherry picked from commit 269fb21700909aa43e3afdde31410304a8192bbb)
(cherry picked from commit d73a47d259be795958c8aa5b65b002f3d7338b6e)
(cherry picked from commit ce25cf6df1c6f86eabb4f35fae13a3c932096eb9)
(cherry picked from commit d1e36e6a35576dc6b328ecac4e12177bf2851ae7)
LinkLocalAddressing accepts a boolean. This can be seen by looking at
`link_local_address_family_from_strong(cont char *s)` in
`src/network/netword-util.c#L102-108` which falls back to
`address_family_from_string`, defined two lines above (L100)
using `DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN`.
(cherry picked from commit 07b6924de4d83c0d66ddfe92d3f2df4995e1e087)
(cherry picked from commit 586e10fa612c4740517acdd67727ed8a4ac9166d)
(cherry picked from commit 2b822b9008b34114e993f221db84caf1873749e1)
(cherry picked from commit 3cb7fc5fcb486a6ac775d637a7edc46afd312358)
(cherry picked from commit 02015cf563ffa39e8c447bf863dacf6ef8ac044f)
(cherry picked from commit e929b3e4f694d87056a219b61740b6a2a6f0fd8b)
And while we are at it reword the introductary sentence a bit to make it
clearer.
Fixes: #30555
(cherry picked from commit 6b7a1a3679f1facbc192d4abd209530002510f34)
(cherry picked from commit 968c569a8e4b6f1cd6c4199dd110828333a562a5)
(cherry picked from commit 4b8fe21619476c0732ae3b5bb662da8a52ba333b)
When an IO event source owns relevant fd, replacing with a new fd leaks
the previously assigned fd.
===
sd_event_add_io(event, &s, fd, ...);
sd_event_source_set_io_fd_own(s, true);
sd_event_source_set_io_fd(s, new_fd); <-- The previous fd is not closed.
sd_event_source_unref(s); <-- new_fd is closed as expected.
===
Without the change, valgrind reports the leak:
==998589==
==998589== FILE DESCRIPTORS: 4 open (3 std) at exit.
==998589== Open file descriptor 4:
==998589== at 0x4F119AB: pipe2 (in /usr/lib64/libc.so.6)
==998589== by 0x408830: test_sd_event_source_set_io_fd (test-event.c:862)
==998589== by 0x403302: run_test_table (tests.h:171)
==998589== by 0x408E31: main (test-event.c:935)
==998589==
==998589==
==998589== HEAP SUMMARY:
==998589== in use at exit: 0 bytes in 0 blocks
==998589== total heap usage: 33,305 allocs, 33,305 frees, 1,283,581 bytes allocated
==998589==
==998589== All heap blocks were freed -- no leaks are possible
==998589==
==998589== For lists of detected and suppressed errors, rerun with: -s
==998589== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
(cherry picked from commit 2fa480592d4f4334881361c5558f563e5ea4c9c3)
(cherry picked from commit 6d2dd436429aafcbb3fd8c99f6b69c9a108bf7f9)
(cherry picked from commit 5f8cf63f17c2ab4fecb0e65e6231ae6931270893)
(cherry picked from commit 41fead40e6b3166f13a3598ab94e3dcb59ed36e1)
(cherry picked from commit 2cc54032fdd8fb80e3c9626daf8cfeecb79aeab3)
(cherry picked from commit 74e96ea95546d29502dd5bcf85059074d6d98a49)
(cherry picked from commit a7d8cacce0cb0451701b81db818d9e5921574f51)
(cherry picked from commit 47b642c4cacd55760902b55ec8cd1502bc82a9af)
(cherry picked from commit 35b716dd23ed7e417ae1240f4dca99852c26d0d6)
(cherry picked from commit 2548ce6a30a1183a7bbbd699aafdf81249a5fe4e)
(cherry picked from commit 52f60014056dcf3e5efd5edf0c67b721a18e723c)
(cherry picked from commit ea8070be46548f23e863504737a01d39fab2050b)
STRLEN() and xsprintf() is our internal macros.
(cherry picked from commit 06d0dcc009f6d8b16d02f65fc20f7e1d76c77721)
(cherry picked from commit ea94162096cef586d3a1b03c45ea530a2dab2652)
(cherry picked from commit 4a7d09423ea721f40da72bef8ba34559f57758bb)
(cherry picked from commit 245bd4af99094e5727727fb0459ed6cb7b78b56a)
(cherry picked from commit 892641af224218a7cae25ddc602d3fa2944de151)
(cherry picked from commit 6a7b65a6182f0ce7c1e663f76996deca5b38d6c6)
The specified vendor UUID is not actually a UUID. This changes it to an actual UUID.
The new value matches the ones from the systemd-boot man page and [The Boot Loader Interface](https://systemd.io/BOOT_LOADER_INTERFACE/).
(cherry picked from commit c6d0c6688ee7b0bb4575ab3e96655fd316543c95)
(cherry picked from commit aa7b8471806136f52287b1737b88bed9d4f221a9)
(cherry picked from commit 53cc058d34a76ccf278ccefd1330a34b033a65bf)
The service parsing/using this directory is systemd-timedated, not
systemd-timesyncd.
(cherry picked from commit 73d8990930b0d84067331c65f0f7731fd76822a4)
(cherry picked from commit 4985c7069e3848009a93791c0ae1d7c9574c93a7)
(cherry picked from commit 9b83f8a2f2f3401dc5998a07073c9daaf2738bf2)
(cherry picked from commit c959e1782316f93464baf4f2fd15484bf84413ba)
(cherry picked from commit 4fb223fdc6c396b16d93f5288fb9a90d88c1a9c5)
(cherry picked from commit cff6c392c14de1a36cd95dbe7b8ae95091727679)
Precedence for example in ac63c8df30/rules.d/99-systemd.rules.in (L75).
Add ENV to the list of keys where string substitutions can be used.
While I'm at it, also sort the list in that paragraph alphabetically.
(cherry picked from commit 793166aea52dfbd06cfa622d5eda0bb31f9da6cf)
(cherry picked from commit 75fb8e6e35ca0f22c449a307f1e77c9a284b4cae)
(cherry picked from commit 0254e0952d8b185973e5a78a883c1c4c7cccf1f5)
Reword the description of the `IgnoreSIGPIPE=` service option to be more grammatical.
(cherry picked from commit 6c6ec5f7284d287c943311718202d87109335f66)
(cherry picked from commit e16154fa69517048cbe9ff893d0906b666da6fae)
(cherry picked from commit 8f191c5c2abacf5f395875f6b3be42ffca9afeaa)
by oneshot services
(cherry picked from commit a5d9df35acbaf618a4fc674a2ee06e63ed5a7a10)
(cherry picked from commit 8fd3a4d90e72db9c33c8a73602d9881e3c37db43)
(cherry picked from commit 4d8c664b2829634a25c7471b579913dd7d839efe)
Common sense says that to "try" something means "to not fail if
something turns out not to be possible", thus do not make this
combination a hard error.
The actual implementation ignores any --link-journal= setting when
--ephemeral is in effect, so the semantics are upheld.
(cherry picked from commit 00fcd79e65305a0d2657312b001467a055b04801)
(cherry picked from commit 9a678a258d94a2fa7c02c8085d500cb07ae5b49e)
(cherry picked from commit ebd92b562d6fdf0bd78adbee5b24f8bea0617e3a)
(cherry picked from commit 803bcc434f2bcd2c76f6d098277ebc61438c7b43)
(cherry picked from commit a0301cbac57180cd8dd8dcb6d7ac0d1e36aa9181)
(cherry picked from commit 239c3c787181cf44604abd60a034d1b5db05d8d5)
This is not immediately clear for users, so spell out the preferred pattern
clearly in the D-Bus documentation.
(cherry picked from commit d156e66f826e3eaa4b7d26212870dcfdfd3a16a3)
(cherry picked from commit 858c2bae36d6fa3eccdd1c6d1fe27b3522d8d645)
(cherry picked from commit 280f5fd3656368b0998fc856146a2ca200cd6b41)
(cherry picked from commit 9fe1f1ca95c57c6fc453ba31f363f8b3230cebeb)
(cherry picked from commit 81bd0e949577f4b99b9dac133ee96d9f17d90063)
(cherry picked from commit 6c814e7b71f50b9ff6442fdf4c3a162f6d551549)
Our dumbed down example PAM stacks do not contain cracklib/pwq modules,
hence using use_authtok on the pam_unix.so password change stack won't
work, because it has the effect that pam_unix.so never asks for a
password on its own, expecting the cracklib/pwq modules to have
queried/validated them beforehand.
I noticed this issue because of #30969: Debian's PAM setup suffers by
the same issue – even though they don't actually use our suggested PAM
fragments at all.
See: #30969
(cherry picked from commit 75f8b0fe70002176b505010d633d95628eb8c40a)
(cherry picked from commit e70b633455622563de1960b34c44b6e55986cf7f)
(cherry picked from commit 9eb38e720d49e3f59b7892a37c78d5ef29ca91ff)
See https://cloud.google.com/run/docs/container-contract#sandbox
(cherry picked from commit 9b0688f491674b53ef7a52bdf561a430c53673d6)
(cherry picked from commit 6610d64197d416dcb112005032886eb3cf4f36cd)
(cherry picked from commit f77ad7abd15529a75936981b53385afd215a015f)
(cherry picked from commit 10b8bb5495f2b57b72cd5e5c2eaccb9ad2efa199)
(cherry picked from commit cbbcdff83ca806170afe9bbc6b444918b678d230)
(cherry picked from commit 9d6912699a3b10592e2b6bf5c9e3c423bfa8e56e)