What is running as soon as you login? Something in .zlogin maybe?
I have testing too but I don't get this error, but if I run /etc/profile.d/perlbin.sh I get the same output.
Corrected, I got this same error today, I have other things printing when I log on and I must have missed the early error.
It is only on actual login, if you use su username or just su or restart a shell it is not showing up.
My machine seems to work ok, so I guess it’s not a big deal. That file you mentioned is the cause, it has the “append_path” command in it.
So I take back saying my machine runs fine. I tried to get my AMD sway machine up and couldn’t launch sway. My input devices would not have the correct permission. I even made a post about it on GitHub (https://github.com/swaywm/sway/issues/5694). I think i’ll have to report my findings on the Arch forums.
It sounds like a wayland problem and the permissions it needs to run as user.

Have you tried replacing sway by sway-git see if it makes a difference and if some logind issue pops its ugly dependency head to systemd?
Reverting back to the stable repo perl package fixed everything. The new perl package in testing that just got released (5.32.0-3) fixes the input bug, but the “append_path” bug is still present.

Powered by Obarun