diff --git a/0914-umount-check-LO_FLAGS_AUTOCLEAR-after-LOOP_CLR_FD-cl.patch b/10026-umount-check-LO_FLAGS_AUTOCLEAR-after-LOOP_CLR_FD-cl.patch similarity index 95% rename from 0914-umount-check-LO_FLAGS_AUTOCLEAR-after-LOOP_CLR_FD-cl.patch rename to 10026-umount-check-LO_FLAGS_AUTOCLEAR-after-LOOP_CLR_FD-cl.patch index c24ff51b30e4680359dc8d8fbb5684337b68e7dc..fbc76ac1b5463a29c1360c3b8343d0595eaea902 100644 --- a/0914-umount-check-LO_FLAGS_AUTOCLEAR-after-LOOP_CLR_FD-cl.patch +++ b/10026-umount-check-LO_FLAGS_AUTOCLEAR-after-LOOP_CLR_FD-cl.patch @@ -7,6 +7,9 @@ Subject: [PATCH] umount: check LO_FLAGS_AUTOCLEAR after LOOP_CLR_FD claimed Fixes: #14410 Replaces: #14386 +For Lifsea-ng, this patch fixes the problem that the system occasionally +fail to shutdown caused by /sysroot unable to umount. + --- systemd-239/src/core/umount.c | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7d30ca3822af00b29d4d6bb31fa4e7e219039650 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# systemd-239 + +This is the repository of systemd-239 for Anolis OS 8. + +## Patch index convention + +Below is the patch index convention of this repository: + +- 0001 ... 0xxx : patches from upstream srpm +- 10001 ... 10xxx : patches cherry-picked from systemd github upstream +- 20001 ... 20xxx : original patch by OpenAnolis community \ No newline at end of file diff --git a/systemd.spec b/systemd.spec index 64383fe6a0e995616ac039e292f4c3949fac4c8a..7bbb2326c9d9ae302a49b7dab8c9a850cc4cb8f6 100644 --- a/systemd.spec +++ b/systemd.spec @@ -964,7 +964,6 @@ Patch0910: 0910-ci-workflow-for-gathering-metadata-for-source-git-au.patch Patch0911: 0911-ci-first-part-of-the-source-git-automation-commit-li.patch Patch0912: 0912-login-add-a-missing-error-check-for-session_set_lead.patch Patch0913: 0913-logind-reset-session-leader-if-we-know-for-a-fact-th.patch -Patch0914: 0914-umount-check-LO_FLAGS_AUTOCLEAR-after-LOOP_CLR_FD-cl.patch Patch10000: 10000-core-fix-a-null-reference-case-in-load_from_path.patch Patch10001: 10001-sysctl-Don-t-pass-null-directive-argument-to-s.patch @@ -992,6 +991,7 @@ Patch10022: 10022-fileio-add-support-for-read_full_file-on-AF_UNIX-st.patch Patch10023: 10023-fileio-beef-up-READ_FULL_FILE_CONNECT_SOCKET-to-all.patch Patch10024: 10024-fileio-teach-read_full_file_full-to-read-from-offse.patch Patch10025: 10025-cryptsetup-port-cryptsetup-s-main-key-file-logic-ov.patch +Patch10026: 10026-umount-check-LO_FLAGS_AUTOCLEAR-after-LOOP_CLR_FD-cl.patch Patch20001: 20001-hwdb-parse_hwdb_dot_py.patch Patch20002: 20002-cgroup-do-not-refresh-cgroup-devices-config-when-dae.patch