Skip to contentSkip to conversation

question about disk caching....

parisc-linux Randolph Chung 1 participant 2 messages Jan 21, 2001 – Jan 22, 2001

lore
Share & tools
lore
#0 lore raw

I got this with the latest kernel bits from cvs:

frodo:/etc# useradd -m randolph                                                 
frodo:/etc# passwd randolph                                                     
passwd: Unknown user randolph                                                   
frodo:/etc# sync                                                                
frodo:/etc# passwd randolph                                                     
Enter new UNIX password:                                                        

seems like a caching issue? This is booting entirely off a local SCSI harddisk. Any ideas what might be causing this?

randolph

Signature · 4 lines
   @..@                                         http://www.TauSq.org/
  (----)
 ( >__< )
 ^^ ~~ ^^
#1 lore raw

Re: [parisc-linux] question about disk caching.... (SOLVED!)

Quoted 1 line

I got this with the latest kernel bits from cvs:

[...]

Quoted 2 lines

seems like a caching issue? This is booting entirely off a local SCSI harddisk. Any ideas what might be causing this?

many thanks for mkp for elucidating this.....

<mkp_> In your case it might be nscd that breaks things
<mkp_> Do you have it running?
<tausq> hrmm... good point, let me turn it off.. i see that nfsroot has it on by default <mkp_> Name Service Caching Daeon
<mkp_> +m
<tausq> ah ha!
* tausq thinks mkp is onto something here..
<ggg> tausq: but would nscd affect local disk? (adduser/passwd prob) <tausq> ggg: it may affect nss...
<ggg> nss? *sigh*
<mkp_> nscd caches getpwent() lookups, among other things
<ggg> ic
<tausq> indeed with nscd on, i get the problem, with it off everything seems to be ok <mkp_> There we go
<tausq> good call mkp
<ggg> tausq: could you reply to your mail?
<tausq> sure, i'll just quote this irc conversation :)

randolph

Signature · 4 lines
   @..@                                         http://www.TauSq.org/
  (----)
 ( >__< )
 ^^ ~~ ^^