If we start a systemd based qemumips64 target with 'pam' enabled in DISTRO_FEATURES, we could not login in successfully. After you provide username and password to the login prompt, the login prompt just comes up again. Below is some error information. Received SIGCHLD from PID 175 (login). Child 175 (login) died (code=dumped, status=10/BUS) serial-getty@ttyS0.service: Child 175 belongs to serial-getty@ttyS0.service serial-getty@ttyS0.service: Main process exited, code=dumped, status=10/BUS
Patch has been sent. In addition, I've tested with latest systemd repo, and there's no such issue for that.
After upgrading systemd to new version, no such issue any more.