Subject: Re: strange behaviour (mabye cauesed by I did not RTFM)
To: None <>
From: Christos Zoulas <>
List: current-users
Date: 10/14/2005 16:50:14
In article <>,
Roine Thunberg  <> wrote:
>I'm new to current-builds and I experienced an anoying behaviour.
>I've build current yesterday from sources.
> "NetBSD bsdhora.home 3.99.9 NetBSD 3.99.9 (GENERIC) #0: Thu Oct 13 
>19:02:55 CEST 2005  
>artee@bsdhora.home:/usr/obj/sys/arch/i386/compile/GENERIC i386"
>Almost everything went on smoothly as I expected, until I rebooted with 
>the new userland. Authification error due to "pam" could not be started. 
>Now was the question how to login. I couldn't login as user nor root in 
>console. However, I could login via ssh as user (?). Could not "su" 
>myself. ...pam-error.
>I got help from though.
>I found out with some help that /etc/pam.d was empty (even after a 
>"/etc/postinstall"). Had to boot up in single-user mode, edit some 
>nessecary files to put in /etc/pam.d and suddenly it worked.
>I didn't see any post of this behaviour in "src/BUILDING". If I had, I 
>could have edit the nessecay files before rebooting after "./ -U 
>...or was there error in my source when building which made this 
>"error". Seems running fine now and it has a nice version number. What 
>would be the next ? =)

I think that this is caused because postinstall moved from /etc to /usr/sbin
and you were running the old postinstall. We should really find a way to fix