[Stable Update] 2022-01-02 - Kernels, Systemd, KDE Frameworks, Mesa, Xorg-Server, Wine, Python 3.10

I bumped into this one:
FS#73208 - Systemd-homed fails with systemd-250

Trying to solve it now, hopefully quickly. :slight_smile:

EDIT: Seems like the link states, downgrading to 249 solves the issue. So, I ran

pacman -U /var/cache/pacman/pkg/systemd-249.7-2-x86_64.pkg.tar.zst

and now I could login to that system.

As a further detail, this didn’t happen on my laptop yesterday where the LUKS encrypted storage doesn’t have a dedicated drive, only on my two desktops that have dedicated disk storage for my user home.

Everything is working except Kodi hanging up after the start. Hope the bug mentioned above gets fixed soon. :frowning:

2 Likes

The optimus manager was moved to the AUR with the last update. Just a strange coincidence?

1 Like

I have problem too,
My two monitors stopped working … NVIDIA offloading was broken with kernel ?
My optimus-manager is broken with new kernel.

Some minor problems with pip libraries … fixed with uninstall and install again … especially shodan shodan · PyPI

Fix roll back to LTS 5.10.89-1 version.
Don’t know if it’s needed, but I also reinstalled optimus-manager

ulauncher ist not working anymore. Error reported is:

Traceback (most recent call last):
  File "/usr/bin/ulauncher", line 27, in <module>
    from ulauncher.main import main
ModuleNotFoundError: No module named 'ulauncher'

I have no idea what that means…

I re-installed ulauncher and it’s working again; so this issue is resolved.

3 posts were split to a new topic: Errors during update; metadata, bad message, structure needs cleaning

Since this update (I guess due the new systemd) I got a lot of errors/warnings never seen before and the boot time is increased.

The errors/warnings:

gen 03 13:59:58 manjaro systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
gen 03 13:59:58 manjaro systemd[1]: Create List of Static Device Nodes was skipped because of a failed condition check (ConditionFileNotEmpty=/lib/modules/4.14.260-1-MANJARO/modules.devname).
gen 03 13:59:59 manjaro systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
gen 03 12:59:59 hal9000 systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
gen 03 12:59:59 hal9000 systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
gen 03 12:59:59 hal9000 systemd[1]: First Boot Wizard was skipped because of a failed condition check (ConditionFirstBoot=yes).
gen 03 12:59:59 hal9000 systemd[1]: First Boot Complete was skipped because of a failed condition check (ConditionFirstBoot=yes).
gen 03 12:59:59 hal9000 systemd[1]: Rebuild Hardware Database was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
gen 03 12:59:59 hal9000 systemd[1]: Create System Users was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
gen 03 12:59:59 hal9000 systemd[1]: Virtual Machine and Container Storage (Compatibility) was skipped because of a failed condition check (ConditionPathExists=/var/lib/machines.raw).
gen 03 12:59:59 hal9000 systemd[1]: Rebuild Dynamic Linker Cache was skipped because all trigger condition checks failed.
gen 03 12:59:59 hal9000 systemd[1]: Store a System Token in an EFI Variable was skipped because of a failed condition check (ConditionPathExists=/sys/firmware/efi/efivars/LoaderFeatures-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
gen 03 12:59:59 hal9000 systemd[1]: Commit a transient machine-id on disk was skipped because of a failed condition check (ConditionPathIsMountPoint=/etc/machine-id).
gen 03 12:59:59 hal9000 systemd[1]: Rebuild Journal Catalog was skipped because of a failed condition check (ConditionNeedsUpdate=/var).
gen 03 12:59:59 hal9000 systemd[1]: Update is Completed was skipped because all trigger condition checks failed.
gen 03 13:00:00 hal9000 systemd[1]: Rebuild Dynamic Linker Cache was skipped because all trigger condition checks failed.
gen 03 13:00:00 hal9000 systemd[1]: Store a System Token in an EFI Variable was skipped because of a failed condition check (ConditionPathExists=/sys/firmware/efi/efivars/LoaderFeatures-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
gen 03 13:00:00 hal9000 systemd[1]: First Boot Wizard was skipped because of a failed condition check (ConditionFirstBoot=yes).
gen 03 13:00:00 hal9000 systemd[1]: First Boot Complete was skipped because of a failed condition check (ConditionFirstBoot=yes).
gen 03 13:00:00 hal9000 systemd[1]: Rebuild Hardware Database was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
gen 03 13:00:00 hal9000 systemd[1]: Rebuild Journal Catalog was skipped because of a failed condition check (ConditionNeedsUpdate=/var).
gen 03 13:00:00 hal9000 systemd[1]: Commit a transient machine-id on disk was skipped because of a failed condition check (ConditionPathIsMountPoint=/etc/machine-id).
gen 03 13:00:00 hal9000 systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
gen 03 13:00:00 hal9000 systemd[1]: Create System Users was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
gen 03 13:00:00 hal9000 systemd[1]: Update is Completed was skipped because all trigger condition checks failed.
gen 03 13:00:00 hal9000 systemd[1]: Manage Sound Card State (restore and store) was skipped because of a failed condition check (ConditionPathExists=/etc/alsa/state-daemon.conf).

And the slow boot time is due systemd-binfmt.service which now tooks about two seconds during system startup.

EDIT:

I also get:

dbus-daemon[956]: writing oom_score_adj error: Permission denied
dbus-daemon[962]: writing oom_score_adj error: Permission denied
dbus-daemon[1002]: writing oom_score_adj error: Permission denied

But systemd-oomd.service, on my system, is disabled.

Never was an issue - part of using the AUR is rebuilding packages after certain system updates.

1 Like

What version of systemd do you have?
pacman -Qs systemd

local/lib32-systemd 250-1
    system and service manager (32-bit)
local/systemd 250-5
    system and service manager
local/systemd-fsck-silent 239-1
    File system checks for SystemD (silent)
local/systemd-libs 250-5
    systemd client libraries
local/systemd-sysvcompat 250-5
    sysvinit compat for systemd
local/systemdgenie 0.99.0-4
    Systemd management utility

Upgrade was fine for most parts, but one of python apps is broken now. I use Rummage ( Rummage - Rummage Documentation ) which is a cross platform search and replace tool (like GUI for grep) and it worked perfectly before. Right after upgrade, it didn’t start, so I re-installed app. Now it works, but GUI is terribly broken. This is how app should look like - https://facelessuser.github.io/Rummage/images/preview.png

This is how it looks after upgrade - rummage — ImgBB (notice tons of empty space at the bottom - this is where all the options should be). If I move mouse cursor over empty space, some options appear for a second and then disappear again. My guess it’s probably related to Python 3.10…

Systemd drop-in config for unit files in user context is not loaded when the drop-in directory is a symlink. Reported it as systemd issue. Drop-in config not recognized when .d directory for a unit is a symlink · Issue #21979 · systemd/systemd · GitHub

For now my workaround is to symlink the config files instead of the directories.

1 Like

After this update my Telegram icon doesn’t show the number of Unread Messages anymore.

KDE Plasma

#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
export LC_ALL="C"
export EDITOR=/usr/bin/nano
export QT_STYLE_OVERRIDE=gtk
export QT_SCALE_FACTOR=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0
[[ "$XDG_CURRENT_DESKTOP" == "KDE" ]] || export QT_QPA_PLATFORMTHEME="qt5ct"
[[ -f ~/.extend.profile ]] && . ~/.extend.profile

Hello. I’ve got a broken pip after the update.

➜  ~ pip                      
Traceback (most recent call last):
  File "/usr/bin/pip", line 33, in <module>
    sys.exit(load_entry_point('pip==20.3.4', 'console_scripts', 'pip')())
  File "/usr/bin/pip", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/main.py", line 10, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/autocompletion.py", line 9, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
    from pip._internal.cli import cmdoptions
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/cmdoptions.py", line 25, in <module>
    from pip._internal.cli.progress_bars import BAR_TYPES
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py", line 12, in <module>
    from pip._internal.utils.logging import get_indentation
  File "/usr/lib/python3.10/site-packages/pip/_internal/utils/logging.py", line 18, in <module>
    from pip._internal.utils.misc import ensure_dir
  File "/usr/lib/python3.10/site-packages/pip/_internal/utils/misc.py", line 21, in <module>
    from pip._vendor import pkg_resources
ImportError: cannot import name 'pkg_resources' from 'pip._vendor' (/usr/lib/python3.10/site-packages/pip/_vendor/__init__.py)

Already followed some instructions to uninstall and install again, and no luck in there.

Commands that I’ve tried:

sudo pacman -Rns python-pip
yay -s python-pip
sudo paccache -r

Also, all my envs using python3.9 got broken, I have installed it again using yay.

sudo pacman -S python-pip

AFAIK its just the way it is going forward and should be nothing of concern, systemd does a host of flag checks/decisions and all negative results has word “failed” in them.

I have two or three packages installed via pip and I forgot to run this command…I haven’t noticed anything out of the ordinary so far but I’m curious about what types of problems I might bump into/what their workarounds are.

I cannot turn on Bluetooth after this update. The Bluetooth option is still there in Gnome menu but clicking it does nothing.

Use Cinnamon and this update seems to break my setup of nemo (did not start and no desktop icons), I had two aur packages I was not aware of (nemo-media-columns and nemo-compare), did a pamac build $(pacman -Qoq /usr/lib/python3.9) --no-confirm
and all worked fine again after that.
Thank you for a great update! :slight_smile:

1 Like

Telegram is built with Qt6 now, see:

FS#73234 - [telegram-desktop] v3.4.2-2 Qt6 build does not apply the system tray icon theme

1 Like