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

images:archlinux -- lot of systemd services failed / no network #839

Open
return42 opened this issue Aug 9, 2024 · 2 comments
Open

images:archlinux -- lot of systemd services failed / no network #839

return42 opened this issue Aug 9, 2024 · 2 comments
Labels
Incomplete Waiting on more information from reporter

Comments

@return42
Copy link

return42 commented Aug 9, 2024

Hope its the right place to post, I realized that so many service are not running when I noticed that I have no IPv4 in the archlinux container. You can reproduce it by:

$ incus launch images:archlinux myarch
...
$ incus exec myarch -- systemctl --failed
  UNIT                                     LOAD   ACTIVE SUB    DESCRIPTION
● tmp.mount                                loaded failed failed Temporary Directory /tmp
● console-getty.service                    loaded failed failed Console Getty
● dbus-broker.service                      loaded failed failed D-Bus System Message Bus
● ldconfig.service                         loaded failed failed Rebuild Dynamic Linker Cache
● [email protected]                loaded failed failed Load Kernel Module configfs
● modprobe@dm_mod.service                  loaded failed failed Load Kernel Module dm_mod
● [email protected]                     loaded failed failed Load Kernel Module drm
● [email protected]                    loaded failed failed Load Kernel Module fuse
● [email protected]                    loaded failed failed Load Kernel Module loop
● systemd-boot-update.service              loaded failed failed Automatic Boot Loader Update
● systemd-homed.service                    loaded failed failed Home Area Manager
● systemd-journal-catalog-update.service   loaded failed failed Rebuild Journal Catalog
● systemd-journal-flush.service            loaded failed failed Flush Journal to Persistent Storage
● systemd-journald.service                 loaded failed failed Journal Service
● systemd-logind.service                   loaded failed failed User Login Management
● systemd-machine-id-commit.service        loaded failed failed Save Transient machine-id to Disk
● systemd-network-generator.service        loaded failed failed Generate network units from Kernel command line
● systemd-networkd.service                 loaded failed failed Network Configuration
● systemd-remount-fs.service               loaded failed failed Remount Root and Kernel File Systems
● systemd-resolved.service                 loaded failed failed Network Name Resolution
● systemd-sysctl.service                   loaded failed failed Apply Kernel Variables
● systemd-sysusers.service                 loaded failed failed Create System Users
● systemd-tmpfiles-clean.service           loaded failed failed Cleanup of Temporary Directories
● systemd-tmpfiles-setup-dev-early.service loaded failed failed Create Static Device Nodes in /dev gracefully
● systemd-tmpfiles-setup-dev.service       loaded failed failed Create Static Device Nodes in /dev
● systemd-tmpfiles-setup.service           loaded failed failed Create System Files and Directories
● systemd-udev-load-credentials.service    loaded failed failed Load udev Rules from Credentials
● systemd-udev-trigger.service             loaded failed failed Coldplug All udev Devices
● systemd-udevd.service                    loaded failed failed Rule-based Manager for Device Events and Files
● systemd-update-done.service              loaded failed failed Update is Completed
● systemd-update-utmp.service              loaded failed failed Record System Boot/Shutdown in UTMP
● systemd-user-sessions.service            loaded failed failed Permit User Sessions
● systemd-journald-dev-log.socket          loaded failed failed Journal Socket (/dev/log)
● systemd-journald.socket                  loaded failed failed Journal Sockets
● systemd-networkd.socket                  loaded failed failed Network Service Netlink Socket
● systemd-udevd-control.socket             loaded failed failed udev Control Socket
● systemd-udevd-kernel.socket              loaded failed failed udev Kernel Socket

Legend: LOAD   → Reflects whether the unit definition was properly loaded.
        ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
        SUB    → The low-level unit activation state, values depend on unit type.

37 loaded units listed.
@stgraber
Copy link
Member

stgraber commented Aug 9, 2024

stgraber@dakara:~$ incus launch images:archlinux myarch
Launching myarch
stgraber@dakara:~$ incus exec myarch bash
[root@myarch ~]# systemctl --failed
  UNIT LOAD ACTIVE SUB DESCRIPTION

0 loaded units listed.
[root@myarch ~]# 

Note that we have automated testing for all our images validating that any image we publish has a fully clean systemd setup. So this suggests some other environmental issue with your system.

@stgraber stgraber added the Incomplete Waiting on more information from reporter label Aug 9, 2024
@return42
Copy link
Author

return42 commented Aug 9, 2024

Yeah I was also wondering that I should be the only one having this issue with archlinux ... I have tested several other images (voidlinux, ubu, alpine ..) and they did not show such issues.

I'll do some more research to find out what could be the cause and come back here ... thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Incomplete Waiting on more information from reporter
Development

No branches or pull requests

2 participants