libpam-ssh does not support keys stored on xfs volumes

Bug #1747710 reported by Matt Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libpam-ssh (Ubuntu)
New
Undecided
Unassigned

Bug Description

Presumably this is because xfs does not support returning the d_type field as described here: http://man7.org/linux/man-pages/man2/getdents.2.html resulting in a return of DT_UNKNOWN that goes unhandled.

Feb 2 16:53:32 bastion-133 pam_ssh[4911]: init authentication module
Feb 2 16:53:32 bastion-133 pam_ssh[4911]: file 'id_rsa' discarded.
Feb 2 16:53:32 bastion-133 pam_ssh[4911]: Asking for SSH key passphrase.
Feb 2 16:53:33 bastion-133 root: root : TTY=/dev/pts/0 ; PWD=/root/.ssh ; USER=root ; COMMAND=cd .ssh
Feb 2 16:53:34 bastion-133 root: root : TTY=/dev/pts/0 ; PWD=/root/.ssh ; USER=root ; COMMAND=ls
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: Looking for SSH keys in '/vol/ebs1/home/msmith/.ssh/session-keys.d'.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: No SSH session-keys directory.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: Looking for SSH keys in '/vol/ebs1/home/msmith/.ssh/login-keys.d'.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: Looking for SSH keys in '/vol/ebs1/home/msmith/.ssh'.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: SSH key candidate 'id_ed25519'.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: debug1: key_load_private: No such file or directory
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: SSH key candidate 'id_ed25519' failed.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: SSH key candidate 'id_ecdsa'.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: debug1: key_load_private: No such file or directory
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: SSH key candidate 'id_ecdsa' failed.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: SSH key candidate 'id_dsa'.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: debug1: key_load_private: No such file or directory
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: SSH key candidate 'id_dsa' failed.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: SSH key candidate 'id_rsa'.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: SSH key 'id_rsa' decrypted.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: SSH key candidate 'identity'.
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: debug1: key_load_private: No such file or directory
Feb 2 16:53:36 bastion-133 pam_ssh[4911]: SSH key candidate 'identity' failed.
Feb 2 16:53:36 bastion-133 bastion-sshd[4516]: error: PAM: Authentication failure for msmith from

summary: - pam_ssh does not support keys stored on xfs volumes
+ pam-ssh does not support keys stored on xfs volumes
description: updated
description: updated
description: updated
summary: - pam-ssh does not support keys stored on xfs volumes
+ libpam-ssh does not support keys stored on xfs volumes
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.