Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading libgcc didn't reexec systemd #212

Open
matthew-cline opened this issue Apr 29, 2021 · 3 comments
Open

Upgrading libgcc didn't reexec systemd #212

matthew-cline opened this issue Apr 29, 2021 · 3 comments

Comments

@matthew-cline
Copy link

After upgraded the libgcc package, using fuser showed that systemd (PID 1) wasn't using the new shared library, and fuser only changed to showing it using the new library after manually doing systemctl daemon-reexec.

System/setup:

  • Fedora 33
  • needrestart 3.5-3
  • systemd 246.13-1
  • dnf 4.6.1-1
  • python3-libdnf 0.60.0-1
@liske
Copy link
Owner

liske commented Sep 18, 2021

Could you please provide the output of needrestart -v ?

@liske liske added the bug label Sep 18, 2021
@matthew-cline
Copy link
Author

needrestart -v output:

[main] eval /etc/needrestart/needrestart.conf
[main] needrestart v3.5
[main] running in root mode
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] systemd detected
[Core] #1972 is a NeedRestart::Interp::Python
[Python] #1972: source=/usr/sbin/firewalld
[main] #2575 uses deleted /memfd:JITCode:QtQml
[main] #2575 is a child of #2574
[main] #2700 uses deleted /memfd:JITCode:QtQml
[main] #2700 is a child of #2464
[Core] #2825 is a NeedRestart::Interp::Python
[Python] #2825: source=/usr/bin/seapplet
[main] #3548 uses deleted /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
[main] #3548 is a child of #2806
[main] #3555 uses deleted /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
[main] #3555 is a child of #2806
[main] #3557 uses deleted /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
[main] #3557 is a child of #3555
[main] #3662 uses deleted /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
[main] #3662 is a child of #3557
[main] #2464 exe => /usr/lib/systemd/systemd
[main] trying systemctl status
[main] #2464 is user@1000.service
[main] #2574 exe => /usr/bin/kwin_wayland_wrapper
[main] trying systemctl status
[main] #2574 running /etc/needrestart/hook.d/10-dpkg
[main] #2574 running /etc/needrestart/hook.d/30-pacman
[main] #2574 running /etc/needrestart/hook.d/90-none
[main] #2806 exe => /usr/bin/akregator
[main] trying systemctl status
[main] #2806 is user@1000.service
[main] #3555 exe => /usr/lib64/qt5/libexec/QtWebEngineProcess
[main] trying systemctl status
[main] #3555 is user@1000.service
[main] #3557 exe => /usr/lib64/qt5/libexec/QtWebEngineProcess
[main] trying systemctl status
[main] #3557 is user@1000.service
[ucode] using NeedRestart::uCode::AMD
[ucode] using NeedRestart::uCode::Intel
[uCode/AMD] #0 cpuid 0x00630f01  (/dev/cpu/0/cpuid)
[uCode/AMD] #0 cpuid 0x00630f01  (/proc/cpuinfo)
[uCode/AMD] #0 running ucode 0x06003106
[uCode/AMD] #0 no ucode updates available
[uCode/Intel] #0 current revision: 0x6003106
++ iucode_tool --scan-system
++ grep -oE '[^[:space:]]+$'
+ sig=processor
+ '[' -r /sys/devices/system/cpu/cpu0/microcode/processor_flags ']'
++ cat /sys/devices/system/cpu/cpu0/microcode/processor_flags
+ filter='-s processor,0x0'
+ test -r /etc/needrestart/iucode.sh
+ . /etc/needrestart/iucode.sh
+ type bsdtar
+ IUCODE_TOOL_EXTRA_OPTIONS=
+ test -r /etc/default/intel-microcode
+ . /etc/default/intel-microcode
++ IUCODE_TOOL_EXTRA_OPTIONS=--ignore-broken
+ test '' = no
+ '[' -r '/usr/share/misc/intel-microcode*' ']'
+ iucode_tool -l -s processor,0x0 --ignore-broken --ignore-broken -tb /lib/firmware/intel-ucode
+ grep processor
[uCode/Intel] #0 did not get available microcode version
[Kernel] Linux: kernel release 5.13.19-200.fc34.x86_64, kernel version #1 SMP Sat Sep 18 16:32:24 UTC 2021
[Kernel/Linux] /boot/vmlinuz-5.13.19-200.fc34.x86_64 => 5.13.19-200.fc34.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) #1 SMP Sat Sep 18 16:32:24 UTC 2021 [5.13.19-200.fc34.x86_64]*
[Kernel/Linux] /boot/vmlinuz-5.13.16-200.fc34.x86_64 => 5.13.16-200.fc34.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) #1 SMP Mon Sep 13 12:39:36 UTC 2021 [5.13.16-200.fc34.x86_64]
[Kernel/Linux] /boot/vmlinuz-5.13.15-200.fc34.x86_64 => 5.13.15-200.fc34.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) #1 SMP Wed Sep 8 15:51:46 UTC 2021 [5.13.15-200.fc34.x86_64]
[Kernel/Linux] /boot/vmlinuz-0-rescue-7af4f9532cf346b0abe130fd006973c5 => 5.11.7-200.fc33.x86_64 (mockbuild@bkernel02.iad2.fedoraproject.org) #1 SMP Wed Mar 17 18:55:20 UTC 2021 [5.11.7-200.fc33.x86_64]
[Kernel/Linux] using RPM version sorting
[Kernel/Linux] Expected linux version: 5.13.19-200.fc34.x86_64

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

Restarting services...

Service restarts being deferred:
 systemctl restart user@1000.service

No containers need to be restarted.

No user sessions are running outdated binaries.

@liske
Copy link
Owner

liske commented Jan 27, 2022

Could you please add the output your fuser call (including command parameters) and /proc/1/maps? I would not expect that systemd is linked dynamic against libgcc.

@liske liske added the moreinfo label May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants