Actually, it's not clear to me why we would want to set passwd to
'compat', which differs from 'files' only in NIS handling which would
seem to be irrelevant in the initramfs environment.  Both plymouth and
mountall already have initramfs hooks in Ubuntu which set up
/etc/nsswitch.conf to use 'passwd: files'; and the 'compat' nss module
only works if the 'files' nss module is already present, which this
initramfs hook doesn't guarantee to be the case at all.

The only reason this would *happen* to work is because cryptsetup on the
system triggers plymouth's initramfs hook, which pulls in this nss
configuration with nss_files.  So I think the updated dropbear hook is
actually broken and not appropriate for SRU as is.  This needs to be
made to work like the plymouth initramfs hook, using nss_files instead
for consistency.

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

Title:
  cannot login via ssh when using dropbear in initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/834174/+subscriptions

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

Reply via email to