Basically the title. Whenever I'm trying to sudo anything, it doesn't even ask me for a password before reporting that some kind of a filename is too long. This issue has appeared purely out of nowhere when I came back to my PC - didn't even reboot it or anything. I am using OpenRC as my init system, if that even matters.
$ sudo pacman
sudo: pacman: File name too long
$ sudo whatever-else
sudo: whatever-else: File name too long
'su' and 'sudo -i' work perfectly fine though.
/var/log/auth:
Nov XX XX:XX:XX artix sudo[4543]: haibane : pacman : File name too long ; TTY=pts/4 ; PWD=/home/haibane ; USER=root ; COMMAND=pacman
uname -a:
Linux artix 5.9.10-artix1-1 #1 SMP PREEMPT Sun, 22 Nov 2020 17:02:30 +0000 x86_64 GNU/Linux
I have not made any upgrades to the system prior to this issue, nor have I changed /etc/sudoers or anything related to PAM.