systemd / systemd

The systemd System and Service Manager
https://systemd.io
GNU General Public License v2.0
13.33k stars 3.81k forks source link

hostname setting, permissions, crashes (core dumps), failed services (NetworkManager, systemd-coredump, KDE Plasma, GNOME, browsers), kernel module issues, and shutdown timeouts. These issues span systemd-related problems, network, services, and more #28993

Closed bphd closed 1 year ago

bphd commented 1 year ago

systemd version the issue has been seen with

254.1-1

Used distribution

No response

Linux kernel version used

No response

CPU architectures issue was seen on

None

Component

No response

Expected behaviour you didn't see

No response

Unexpected behaviour you saw

No response

Steps to reproduce the problem

No response

Additional program output to the terminal or log subsystem illustrating the issue

NetworkManager[]: <warn>  [0.0] hostname: couldn't set the system hostname to 'archlinux' using hostnamed: GDBus.Error:org.freedesktop.systemd0.ShuttingDown: Refusing activation, D-Bus is shutting down.
NetworkManager[]: <warn>  [0.0] policy: set-hostname: you should use hostnamed when systemd hardening is in effect!
clever_swanson[]: + '[' -x /lib/systemd/systemd-udevd ']'
clever_swanson[]: + '[' -z /lib/systemd/systemd-udevd ']'
clever_swanson[]: + /lib/systemd/systemd-udevd --daemon
clever_swanson[]: + UDEVD=/lib/systemd/systemd-udevd
clever_swanson[]: + for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd
clever_swanson[]: + systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
clever_swanson[]: Starting systemd-udevd version 0.0-0-arch
clever_swanson[]: \x0b[0;0;0m/usr/lib/tmpfiles.d/systemd-network.conf:: Failed to resolve user 'systemd-network': No such process\x0b[0m
clever_swanson[]: \x0b[0;0;0m/usr/lib/tmpfiles.d/systemd.conf:: Failed to resolve group 'systemd-journal'.\x0b[0m
clever_swanson[]: \x0b[0;0;0m/usr/lib/tmpfiles.d/systemd.conf:: Failed to resolve group 'utmp'.\x0b[0m
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-ModemManager.service-OYuHLA/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-ananicy-cpp.service-KvS0Ly/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-bolt.service-0qgwKY/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-iio-sensor-proxy.service-PYogxJ/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-iwd.service-PAIHHe/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-polkit.service-0elWa0/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-power-profiles-daemon.service-0xD0O/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-systemd-logind.service-Jm0ZNk/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-systemd-resolved.service-VG0t0q/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-systemd-timesyncd.service-pVGjaV/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0bb0b0d0a0e0f0a0eb0-upower.service-jadSeG/"
filelight[]: Inadequate access permissions:  "/var/tmp/systemd-private-b0e0e0f0d0b0fceb0d0a0-geoclue.service-JmrNEe/"
kernel: memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=0 'systemd'
systemd-coredump[]: Failed to send coredump datagram: Broken pipe
systemd-coredump[]: Failed to send coredump datagram: Connection reset by peer
systemd-coredump[]: Failed to send coredump fd: Broken pipe
systemd-coredump[]: Failed to send coredump fd: Connection reset by peer
systemd-coredump[]: Process 0 (baloo_file_extr) of user 0 dumped core.
systemd-coredump[]: Process 0 (brave) of user 0 dumped core.
systemd-coredump[]: Process 0 (ccache) of user 0 dumped core.
systemd-coredump[]: Process 0 (codium) of user 0 dumped core.
systemd-coredump[]: Process 0 (electron) of user 0 dumped core.
systemd-coredump[]: Process 0 (gs) of user 0 dumped core.
systemd-coredump[]: Process 0 (iwd) of user 0 dumped core.
systemd-coredump[]: Process 0 (org_kde_powerde) of user 0 dumped core.
systemd-coredump[]: Process 0 (plasmashell) of user 0 dumped core.
systemd-coredump[]: Process 0 (quadrapassel) of user 0 dumped core.
systemd-coredump[]: Process 0 (strace) of user 0 dumped core.
systemd-coredump[]: Process 0 (sudo) of user 0 dumped core.
systemd-coredump[]: Process 0 (vlc) of user 0 dumped core.
systemd-journald[]: Failed to read journal file /var/log/journal/e0e0eaf0fd0f0f0/user-0.journal for rotation, trying to move it out of the way: Device or resource busy
systemd-journald[]: File /var/log/journal/e0e0eaf0fd0f0f0/system.journal corrupted or uncleanly shut down, renaming and replacing.
systemd-journald[]: File /var/log/journal/e0e0eaf0fd0f0f0/user-0.journal corrupted or uncleanly shut down, renaming and replacing.
systemd-logind[]: /etc/systemd/logind.conf.d/luminosite.conf:: Assignment outside of section. Ignoring.
systemd-logind[]: Failed to start autovt@tty0.service: Transaction for getty@tty0.service/start is destructive (reboot.target has 'start' job queued, but 'stop' is included in transaction).
systemd-logind[]: Failed to start autovt@tty0.service: Transaction for getty@tty0.service/start is destructive (shutdown.target has 'start' job queued, but 'stop' is included in transaction).
systemd-logind[]: Failed to start autovt@tty0.service: Transaction for getty@tty0.service/start is destructive (sysinit.target has 'stop' job queued, but 'start' is included in transaction).
systemd-logind[]: Failed to start autovt@tty0.service: Transaction for getty@tty0.service/start is destructive (systemd-reboot.service has 'start' job queued, but 'stop' is included in transaction).
systemd-modules-load[]: Failed to find module 'nvidia-uvm'
systemd-networkd[]: /etc/systemd/network/0-ethernet.network: DHCPv0 client is enabled but IPv0 link-local addressing is disabled. Disabling DHCPv0 client.
systemd-networkd[]: /etc/systemd/network/0-wlan.network: DHCPv0 client is enabled but IPv0 link-local addressing is disabled. Disabling DHCPv0 client.
systemd-networkd[]: /etc/systemd/network/0-wwan.network: DHCPv0 client is enabled but IPv0 link-local addressing is disabled. Disabling DHCPv0 client.
systemd-networkd[]: /usr/lib/systemd/network/0-anbox-bridge.network:: IPMasquerade=yes is deprecated, and it is handled as "ipv0" instead of "both". Please use "ipv0" or "both".
systemd-networkd[]: Could not set hostname: Refusing activation, D-Bus is shutting down.
systemd-networkd[]: enp0s0f0u0: Could not acquire IPv0 link-local address: No such device
systemd-networkd[]: wlan0: Failed
systemd-networkd[]: wlan0: Failed to update wireless LAN interface: No such device
systemd-networkd[]: wlan0: found matching network '/etc/systemd/network/0-wlan.network', based on potentially unpredictable interface name.
systemd-resolved[]: /etc/hosts:: address 'adguard-dns.io' is invalid, ignoring: Invalid argument
systemd-resolved[]: /etc/hosts:: address 'irc.libera.chat' is invalid, ignoring: Invalid argument
systemd-shutdown[]: Syncing filesystems and block devices - timed out, issuing SIGKILL to PID 0.
systemd-tmpfiles[]: fchmod() of /var/lib/geoclue failed: Operation not permitted
systemd-tmpfiles[]: rm_rf(/var/tmp/systemd-private-b0e0e0f0d0b0fceb0d0a0-geoclue.service-JmrNEe): Operation not permitted
systemd-udevd[]: Configuration file /etc/udev/rules.d/0-android.rules is marked executable. Please remove executable permission bits. Proceeding anyway.
systemd-udevd[]: Configuration file /etc/udev/rules.d/0-edl.rules is marked executable. Please remove executable permission bits. Proceeding anyway.
systemd-xdg-autostart-generator[]: Failed to open configuration file '/etc/xdg/autostart/geoclue-demo-agent.desktop': Permission denied
systemd-xdg-autostart-generator[]: Failed to parse /etc/xdg/autostart/geoclue-demo-agent.desktop, ignoring it
systemd[]: /usr/lib/systemd/system/libvirtd.service:: Unknown key name 'LimitNOFile' in section 'Service', ignoring.
systemd[]: /usr/lib/systemd/system/virtlockd.service:: Unknown key name 'LimitNOFile' in section 'Service', ignoring.
systemd[]: /usr/lib/systemd/system/virtlogd.service:: Unknown key name 'LimitNOFile' in section 'Service', ignoring.
systemd[]: Cannot find unit for notify message of PID 0, ignoring.
systemd[]: Configuration file /usr/lib/systemd/system/geoclue.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
systemd[]: Failed to start KDE Plasma Workspace.
systemd[]: Failed to start KDE PolicyKit Authentication Agent.
systemd[]: Failed to start Load the blacklisted sound module to mitigate race condition.
systemd[]: Failed to start Multimedia Service Session Manager.
systemd[]: Failed to start Portal service (GNOME implementation).
systemd[]: Failed to start Powerdevil.
systemd[]: app-Yin\x0dYang@autostart.service: Failed with result 'exit-code'.
systemd[]: app-caffeine@autostart.service: Failed with result 'exit-code'.
systemd[]: app-firefox-0b0a0e0bac0a0a0a0c.scope: Failed with result 'oom-kill'.
systemd[]: app-firefox-0ee0b0b0b0d0dac0ad0ca.scope: Failed to kill control group /user.slice/user-0.slice/user@0.service/app.slice/app-firefox-0ee0b0b0b0d0dac0ad0ca.scope, ignoring: Input/output error
systemd[]: app-firefox-0ee0b0b0b0d0dac0ad0ca.scope: Failed with result 'oom-kill'.
systemd[]: app-kaccess@autostart.service: Failed with result 'exit-code'.
systemd[]: app-kmix_autostart@autostart.service: Failed with result 'exit-code'.
systemd[]: app-koi@autostart.service: Failed with result 'exit-code'.
systemd[]: app-org.gnome.Evolution\x0dalarm\x0dnotify@autostart.service: Failed with result 'exit-code'.
systemd[]: app-org.kde.discover.notifier@autostart.service: Failed with result 'exit-code'.
systemd[]: app-org.kde.kalendarac@autostart.service: Failed with result 'exit-code'.
systemd[]: app-org.kde.kdeconnect.daemon@autostart.service: Failed with result 'exit-code'.
systemd[]: app-org.kde.spectacle.service: Failed with result 'exit-code'.
systemd[]: app-org.kde.yakuake@autostart.service: Failed to kill control group /user.slice/user-0.slice/user@0.service/app.slice/app-org.kde.yakuake@autostart.service, ignoring: Operation not permitted
systemd[]: app-org.kde.yakuake@autostart.service: Failed with result 'exit-code'.
systemd[]: app-org.kde.yakuake@autostart.service: Failed with result 'oom-kill'.
systemd[]: app-org.kde.yakuake@autostart.service: State 'stop-sigterm' timed out. Killing.
systemd[]: app-smartcode\x0dstremio-c0bd0d0c0d0e0baa0ce0e0e0d0.scope: Failed with result 'oom-kill'.
systemd[]: archlinux-keyring-wkd-sync.service: Failed with result 'exit-code'.
systemd[]: graphical-session.target: Failed to enqueue stop job, ignoring: Transaction for graphical-session.target/stop is destructive (plasma-polkit-agent.service has 'start' job queued, but 'stop' is included in transaction).
systemd[]: iwd.service: Failed with result 'core-dump'.
systemd[]: iwd.service: Main process exited, code=dumped, status=0/SEGV
systemd[]: obex.service: Failed with result 'exit-code'.
systemd[]: plasma-baloorunner.service: Failed with result 'exit-code'.
systemd[]: plasma-kactivitymanagerd.service: Failed with result 'exit-code'.
systemd[]: plasma-kded.service: Failed with result 'exit-code'.
systemd[]: plasma-krunner.service: Failed with result 'exit-code'.
systemd[]: plasma-krunner.service: Failed with result 'oom-kill'.
systemd[]: plasma-krunner.service: State 'final-sigterm' timed out. Killing.
systemd[]: plasma-plasmashell.service: Failed to kill control group /user.slice/user-0.slice/user@0.service/session.slice/plasma-plasmashell.service, ignoring: Operation not permitted
systemd[]: plasma-plasmashell.service: Failed with result 'core-dump'.
systemd[]: plasma-plasmashell.service: Failed with result 'exit-code'.
systemd[]: plasma-plasmashell.service: Main process exited, code=dumped, status=0/ABRT
systemd[]: plasma-plasmashell.service: Start request repeated too quickly.
systemd[]: plasma-polkit-agent.service: Failed with result 'exit-code'.
systemd[]: plasma-polkit-agent.service: Failed with result 'signal'.
systemd[]: plasma-polkit-agent.service: Main process exited, code=killed, status=0/ABRT
systemd[]: plasma-polkit-agent.service: Start request repeated too quickly.
systemd[]: plasma-powerdevil.service: Failed with result 'core-dump'.
systemd[]: plasma-powerdevil.service: Failed with result 'exit-code'.
systemd[]: plasma-powerdevil.service: Main process exited, code=dumped, status=0/ABRT
systemd[]: plasma-powerdevil.service: Start request repeated too quickly.
systemd[]: plasma-xdg-desktop-portal-kde.service: Failed with result 'exit-code'.
systemd[]: podman-pause-0c0ee0.scope: (This warning is only shown for the first unit using IP firewalling.)
systemd[]: podman-pause-0c0ee0.scope: unit configures an IP firewall, but not running as root.
systemd[]: session-0.scope: Failed with result 'timeout'.
systemd[]: session-0.scope: Still around after SIGKILL. Ignoring.
systemd[]: session-0.scope: Stopping timed out. Killing.
systemd[]: shadow.service: Failed with result 'exit-code'.
systemd[]: snapd.service: Got notification message from PID 0, but reception only permitted for main PID 0
systemd[]: sound-workaround.service: Failed with result 'exit-code'.
systemd[]: wireplumber.service: Failed with result 'exit-code'.
systemd[]: wireplumber.service: Start request repeated too quickly.
systemd[]: xdg-desktop-portal-gnome.service: Failed with result 'exit-code'.
systemd[]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
systemd[]: xdg-document-portal.service: Failed with result 'exit-code'.
systemd[]: xdg-permission-store.service: Failed with result 'exit-code'.
systemd[]: yin_yang.service: Failed with result 'exit-code'.
mrc0mmand commented 1 year ago

Sorry, but this is not actionable. There's no information about the environment or how to reproduce the issue, and just judging by the logs the system seems to be severely misconfigured. It doesn't seem to be a systemd issue, systemd is just a messenger here.

bphd commented 1 year ago

Env: Arch Didn't do anything for it to happpen, so idk how to reproduce What can be misconfigured?

mrc0mmand commented 1 year ago

Env: Arch

That's not enough. Is that a VM? Bare metal machine? Something else?

Didn't do anything for it to happpen, so idk how to reproduce What can be misconfigured?

Given the amount of OOM kills I'd say the machine runs low on memory. Nevertheless, the provided logs are not enough, we'd need the full journal from the boot.

bphd commented 1 year ago

Bare metal

It's not really about low memory, I even swap and all. It's these program that grow exponentially even when I'm not using them. Those program has a lot of issues reported of being ressource hungry even on big machines

mrc0mmand commented 1 year ago

There's really nothing we can do about this from systemd side. The machine clearly ran out of memory, so you need to investigate what caused that scenario in the first place.

bphd commented 6 months ago

It's these program that grow exponentially even when I'm not using them. Those program has a lot of issues reported of being ressource hungry even on big machines

It's these program that grow exponentially even when I'm not using them. Those program has a lot of issues reported of being ressource hungry even on big machines