diff --git a/glibc.spec b/glibc.spec index 88aff45..3a86505 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1,4 +1,4 @@ -%define glibcsrcdir glibc-2.33.9000-866-g7a5db2e82f +%define glibcsrcdir glibc-2.33.9000-906-g72e84d1db2 %define glibcversion 2.33.9000 # Pre-release tarballs are pulled in from git using a command that is # effectively: @@ -111,7 +111,7 @@ Summary: The GNU libc libraries Name: glibc Version: %{glibcversion} -Release: 39%{?dist} +Release: 42%{?dist} # In general, GPLv2+ is used by programs, LGPLv2+ is used for # libraries. @@ -2068,6 +2068,21 @@ else io.stdout:write ("Error: Missing " .. iconv_cache .. " file.\n") end +-- (5) On upgrades, restart systemd if installed. "systemctl -q" does +-- not suppress the error message (which is common in chroots), so +-- open-code post_exec with standard error suppressed. +if tonumber(arg[2]) >= 2 + and posix.access("%{_prefix}/bin/systemctl", "x") +then + local pid = posix.fork() + if pid == 0 then + posix.redirect2null(2) + assert(posix.exec("%{_prefix}/bin/systemctl", "daemon-reexec")) + elseif pid > 0 then + posix.wait(pid) + end +end + %posttrans all-langpacks -e -p -- The old glibc-all-langpacks postun scriptlet deleted the locale-archive -- file, so we may have to resurrect it on upgrades. @@ -2207,6 +2222,59 @@ fi %files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared %changelog +* Tue Jul 13 2021 Florian Weimer - 2.33.9000-42 +- Perform systemd re-exec even if glibc.i686 is installed + +* Tue Jul 13 2021 Florian Weimer - 2.33.9000-41 +- Re-exec systemd on upgrades + +* Mon Jul 12 2021 Florian Weimer - 2.33.9000-40 +- Merge files NSS service module into libc. +- Restore vDSO acceleration for time functions on older kernels for i686. +- Auto-sync with upstream branch master, + commit 72e84d1db22203e01a43268de71ea8669eca2863: +- Linux: Use 32-bit vDSO for clock_gettime, gettimeofday, time (BZ# 28071) +- Reduce pollution due to dynamic PTHREAD_STACK_MIN +- Fix failing nss/tst-nss-files-hosts-long. +- nis: nis_local_group may read from __nisgroup[-1] (bug 28075) +- hurd _Fork: Drop duplicate malloc_fork_lock calls +- support: Replace _SC_MINSIGSTKSZ with _SC_SIGSTKSZ +- support: Replace MINSIGSTKSZ with sysconf (_SC_MINSIGSTKSZ) +- Define PTHREAD_STACK_MIN to sysconf(_SC_THREAD_STACK_MIN) +- Force building with -fno-common +- Add a generic malloc test for MALLOC_ALIGNMENT +- Properly run tst-spawn5 directly [BZ #28067] +- build-many-glibcs.py: Add glibcs-arm-linux-gnueabihf-thumb +- nptl: Use out-of-line wake function in __libc_lock_unlock slow path +- powerpc64le: Fix typo in configure +- powerpc64: Remove strcspn ifunc from the loader +- x86: Remove wcsnlen-sse4_1 from wcslen ifunc-impl-list [BZ #28064] +- x86-64: Test strlen and wcslen with 0 in the RSI register [BZ #28064] +- x86_64: Remove unneeded static PIE check for undefined weak diagnostic +- Add NT_ARM_PAC_ENABLED_KEYS to elf.h +- posix: Add posix_spawn_file_actions_addclosefrom_np +- io: Add closefrom [BZ #10353] +- linux: Add close_range +- support: Add support_stack_alloc +- _int_realloc is static +- Move mcheck symbol from stdlib to malloc +- nss: Do not install static linker input files for libnss_files +- elf/tests: Make thrlock and noload depend on libm +- Harden tcache double-free check +- nss: Access nss_files through direct references +- nss_files: Move into libc +- nss_files: Add generic code for set*ent, end*ent and file open +- nss_files: Allocate nscd file registration data on the heap +- libio: Replace internal _IO_getdelim symbol with __getdelim +- libio: Add hidden prototype for ungetc +- inet: Add hidden prototype for __inet_network +- Update MIPS libm-test-ulps +- Update powerpc-nofpu libm-test-ulps +- soft-fp: Add __extendhfsf2/__extendhfdf2, __truncsfhf2/__truncdfhf2, + __eqhf2/__nehf2 +- Update kernel version to 5.13 in tst-mman-consts.py +- tests-exclude-mcheck: Fix typo + * Wed Jul 07 2021 Florian Weimer - 2.33.9000-39 - Auto-sync with upstream branch master, commit 7a5db2e82fbb6c3a6e3fdae02b7166c5d0e8c7a8: @@ -2305,10 +2373,10 @@ fi - Switch to new version of libthread_db .dynsym patch * Mon Jun 28 2021 Florian Weimer - 2.33.9000-31 -- Further .symtab adjustment: Keep all __GI_* symbols (#1975859) +- Further .symtab adjustment: Keep all __GI_* symbols (#1975895) * Mon Jun 28 2021 Florian Weimer - 2.33.9000-30 -- Keep most of .symtab in libc.so.6 (#1975859) +- Keep most of .symtab in libc.so.6 (#1975895) * Sun Jun 27 2021 Florian Weimer - 2.33.9000-29 - Apply emergency patch to fix iconvconfig corruption diff --git a/sources b/sources index 56ace92..5f03c72 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (glibc-2.33.9000-866-g7a5db2e82f.tar.xz) = 0af6093d139a3e410c9613fa2e974d3c010248145a1e658fbc748f5a3cc7daf0bef50ce494e7742c4f19331d88092754020c385fbff034634fcafefaa48e76dc +SHA512 (glibc-2.33.9000-906-g72e84d1db2.tar.xz) = 9445eb2b819189975bb527058a9366b513c398210a2579daa9067e8c7149901db07d4f7f1b5f5fe175df109f5795a35f685600d86f9d19151934693760141a29