Comment 19 for bug 834174

Revision history for this message
Steve Langasek (vorlon) wrote :

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.