Public bug reported:

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

** Affects: libpam-ssh (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- pam_ssh does not support keys stored on xfs volumes
+ pam-ssh does not support keys stored on xfs volumes

** Description changed:

  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  6 15:49:17 bastion-133 pam_ssh[21446]: init authentication module
- Feb  6 15:49:17 bastion-133 pam_ssh[21446]: file 'id_rsa' discarded.
- Feb  6 15:49:17 bastion-133 pam_ssh[21446]: Asking for SSH key passphrase.
+ 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 73.61.21.103
  
  [pid 26549] open("/vol/ebs1/home/msmith/.ssh/login-keys.d", 
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
  [pid 26549] fstat(4, {st_mode=S_IFDIR|0750, st_size=36, ...}) = 0
  [pid 26549] getdents(4, /* 4 entries */, 32768) = 112
  [pid 26549] brk(0x55ebbbb55000)         = 0x55ebbbb55000
  [pid 26549] brk(0x55ebbbb53000)         = 0x55ebbbb53000
  [pid 26549] socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 9
  [pid 26549] connect(9, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
  [pid 26549] sendto(9, "<87>Feb  6 16:09:21 pam_ssh[26549]: file 'id_rsa.bak' 
discarded.", 64, MSG_NOSIGNAL, NULL, 0) = 64
  [pid 26549] close(9)                    = 0
  [pid 26549] socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 9
  [pid 26549] connect(9, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
  [pid 26549] sendto(9, "<87>Feb  6 16:09:21 pam_ssh[26549]: file 'id_rsa' 
discarded.", 60, MSG_NOSIGNAL, NULL, 0) = 60

** Description changed:

  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 73.61.21.103
+ Feb  2 16:53:36 bastion-133 bastion-sshd[4516]: error: PAM: Authentication 
failure for msmith from 
  
  [pid 26549] open("/vol/ebs1/home/msmith/.ssh/login-keys.d", 
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
  [pid 26549] fstat(4, {st_mode=S_IFDIR|0750, st_size=36, ...}) = 0
  [pid 26549] getdents(4, /* 4 entries */, 32768) = 112
  [pid 26549] brk(0x55ebbbb55000)         = 0x55ebbbb55000
  [pid 26549] brk(0x55ebbbb53000)         = 0x55ebbbb53000
  [pid 26549] socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 9
  [pid 26549] connect(9, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
  [pid 26549] sendto(9, "<87>Feb  6 16:09:21 pam_ssh[26549]: file 'id_rsa.bak' 
discarded.", 64, MSG_NOSIGNAL, NULL, 0) = 64
  [pid 26549] close(9)                    = 0
  [pid 26549] socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 9
  [pid 26549] connect(9, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
  [pid 26549] sendto(9, "<87>Feb  6 16:09:21 pam_ssh[26549]: file 'id_rsa' 
discarded.", 60, MSG_NOSIGNAL, NULL, 0) = 60

** Description changed:

  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 
- 
- [pid 26549] open("/vol/ebs1/home/msmith/.ssh/login-keys.d", 
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
- [pid 26549] fstat(4, {st_mode=S_IFDIR|0750, st_size=36, ...}) = 0
- [pid 26549] getdents(4, /* 4 entries */, 32768) = 112
- [pid 26549] brk(0x55ebbbb55000)         = 0x55ebbbb55000
- [pid 26549] brk(0x55ebbbb53000)         = 0x55ebbbb53000
- [pid 26549] socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 9
- [pid 26549] connect(9, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
- [pid 26549] sendto(9, "<87>Feb  6 16:09:21 pam_ssh[26549]: file 'id_rsa.bak' 
discarded.", 64, MSG_NOSIGNAL, NULL, 0) = 64
- [pid 26549] close(9)                    = 0
- [pid 26549] socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 9
- [pid 26549] connect(9, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
- [pid 26549] sendto(9, "<87>Feb  6 16:09:21 pam_ssh[26549]: file 'id_rsa' 
discarded.", 60, MSG_NOSIGNAL, NULL, 0) = 60
+ Feb  2 16:53:36 bastion-133 bastion-sshd[4516]: error: PAM: Authentication 
failure for msmith from

** Summary changed:

- pam-ssh does not support keys stored on xfs volumes
+ libpam-ssh does not support keys stored on xfs volumes

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747710

Title:
  libpam-ssh does not support keys stored on xfs volumes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-ssh/+bug/1747710/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to