Skip to content

Troubleshooting Basics on Makalu ​

NOTE

This section applies to the Makalu variant.

Start with the checks below and note any error messages. Administrative commands may require root privileges; see Privilege Escalation.

Services and logs ​

Check for failed services, then inspect the status and logs of a service involved in the problem. Replace sshd.service with the relevant service:

console
$ systemctl --failed
$ systemctl status sshd.service
$ journalctl -b -u sshd.service

-b limits the log to the current boot. If the problem happened before a reboot, journalctl --list-boots shows the available boots; use -b -1 for the previous boot if its logs are available.

Networking ​

Check the interface, its selected configuration and DNS settings. Replace eth0 with the interface name shown by networkctl:

console
$ networkctl
$ networkctl status eth0
$ resolvectl status

If an address or route is missing, check the selected .network file and the networkd logs:

console
$ journalctl -b -u systemd-networkd.service

For Wi-Fi, also check systemctl status wpa_supplicant@wlan0.service, replacing wlan0 with the wireless interface. See Networking for configuration instructions. If a network change disconnects SSH, use a local console or another working connection to inspect and correct the configuration.

Disk space ​

Check free space and inode availability on mounted filesystems:

console
$ df -h
$ df -i

If a filesystem is full, identify and remove unneeded data or expand the storage before retrying. Review what files contain before deleting them.

User login ​

Check a home area's status and the homed service logs, replacing alice with the username:

console
$ homectl inspect alice
$ journalctl -b -u systemd-homed.service

A locked encrypted home area needs a credential to unlock it; SSH public-key authentication alone is not sufficient. See Users for the login workflow.

Update failures ​

Check the current and available versions, then inspect the sysupdate service logs:

console
$ cat /etc/os-release
$ updatectl check
$ journalctl -b -u systemd-sysupdate.service

If an automatic update did not run, check the timer and update service logs:

console
$ systemctl status systemd-sysupdate-update.timer
$ journalctl -b -u systemd-sysupdate-update.service

Check networking and disk space if downloads or installations fail. An installed OS update only takes effect after a reboot; see Updating.

SELinux policy updates ​

NOTE

In the future, SELinux is expected to use updated policies from /usr as well. Until then, after a Makalu update it can be necessary to manually install and reload an updated policy module.

Makalu updates replace /usr, but the SELinux module store persists across updates. If the updated TeamSBC policy is present in /usr but has not been installed in the store, run the following as root:

console
# semodule -s targeted -X 200 -i /usr/share/selinux/packages/targeted/teamsbc.pp.bz2

This installs the TeamSBC module and reloads the running policy. Use priority 200 so that the module does not override future package updates at that priority. Check its installation and priority with:

console
# semodule -s targeted -lfull | grep -w teamsbc

A higher-priority teamsbc module will take precedence. After installation, retry the operation that failed. This procedure updates the TeamSBC module only; it does not synchronize other policy modules or automatically track later image updates and rollbacks.

System extension failures ​

Check whether the feature is enabled, the image is present, and the extension is merged. Replace tmux with the feature you are checking:

console
$ updatectl features tmux
$ systemd-sysext list
$ systemd-sysext status
$ journalctl -b -u systemd-sysext-sysroot.service
$ journalctl -b -u systemd-sysext.service

The sysroot service runs in the initrd when it is included in the booted image; older images may not have it. The other service runs in the main system.

An enabled feature is not necessarily downloaded or active. If an OS update is waiting for a reboot, reboot into it before downloading an extension for the running system. See Applications for the installation and activation steps.