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!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
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)
Follow-up to 52117f5af831a816c47ceebb83c8244ee93b72fe
(cherry picked from commit 7c0e0bbb6b13d70500da79ce0270ed6da09327a0)
(cherry picked from commit b0d294099790e75b0d8a1c90847895f5c7925354)
(cherry picked from commit a36677b4a4b473a62d815be0976c8d576228a030)
(cherry picked from commit ff47602f5ee6b3301c24e2baa6449245666f2252)
(cherry picked from commit 056186b038fd465246e7a52ca3b0754bfaada474)
(cherry picked from commit fe62f214fed55c0e6f3211af4b825a652c26bf59)
This footgun should at least be documented, if there's not going
to be a shortcut setting to establish the async `journalctl
--follow` equivalent.
Fixes: https://github.com/systemd/systemd/issues/2815
(cherry picked from commit 165fb931ea1e70460d5ebd30fa22e3aa6ba8861d)
(cherry picked from commit 97237a52c3a0bf541e29d899886bece507972e93)
With the introduction of SetDisplay() method in 4885d7490b2 the Display
property emits a "properties changed" message every time the display is
changed using this method, so mark it appropriately.
Caught by systemd/systemd#30029:
systemd-logind[1366]: Got message type=method_call sender=:1.165 destination=org.freedesktop.login1 path=/org/freedesktop/login1/session/_310 interface=org.freedesktop.login1.Session member=SetDisplay cookie=8 reply_cookie=0 signature=s error-name=n/a error-message=n/a
systemd-logind[1366]: Assertion 'v->vtable->flags & SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE || v->vtable->flags & SD_BUS_VTABLE_PROPERTY_EMITS_INVALIDATION' failed at src/libsystemd/sd-bus/bus-objects.c:2141, function emit_properties_changed_on_interface(). Ignoring.
Follow-up to 4885d7490b2.
(cherry picked from commit 236cb016222288bdf5be5f2d8f9e81d6e4a6adab)
(cherry picked from commit 89a03cfbfce744c6893089bb9cbe1be77534ca9a)
I think it was clear already, but let's be even clearer.
Fixes: #29774
(cherry picked from commit 3cb938bd12b3603984b982e9b73e4cabd4a608e3)
(cherry picked from commit 9ed9bfe6b1e62f3f44bd6968b406bc87051f8539)
This completes/corrects the documentation for the following fields:
COREDUMP_CGROUP= - doc where wrong, actually covered COREDUMP_PROC_CGROUP=
COREDUMP_CMDLINE= → undocumented so far
COREDUMP_PROC_CGROUP= → docs where there but incorrectly assigned to COREDUMP_CGROUP=
COREDUMP_PROC_AUXV= → undocumented so far
COREDUMP_SESSION= → undocumented so far
Fixes: #29832
(cherry picked from commit a9d54de66d62b1180aef845fae2eabde4968dda5)
(cherry picked from commit be694c89f7c2a8415711971f50bef762ae27c5e8)
If one sets the SystemMaxUse=64G by the current documentation would expect that each files size would be around 1/8 of this value (8G), althought if the SystemMaxFileSize is not explicit set, it has a max of 128M per file.
(cherry picked from commit d397191b6d3001c2920e15e3ce3c9e7a31c66436)
(cherry picked from commit 83bc13e77ae5e27e420ca3e1e3b4da7c1c2e17cc)
It confuses users when they cannot find respective environment variables
with config that is supposes for (x)inetd activated service only.
Fix: #29670
(cherry picked from commit 788b7e7630669a47c54c6f3299af14db26ca7fe0)
(cherry picked from commit 136dc1c818aab93301032664931765f6285d0ba8)