/etc/X11/xdm/Xsetup_0 has pidof -s kdm > /dev/null 2>&1 which seems not to be the path, so I think it should read /sbin/pidof -s kdm > /dev/null 2>&1
I've verified that this bug exists, but it belongs to the xinitrc package.
Fixed in rawhide.