Subject: Re: /etc/services duplicates - suggestion for fixes
To: None <netbsd-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-users
Date: 06/23/2007 01:10:09
In article <4679053E.5010701@optushome.com.au>,
Thilo Jeremias <jeremias@optushome.com.au> wrote:
>One more thought about the db business,
>I believe there is a fallback (if no db available, use plain text file),
>if that is so, it would definetly not hurt to do a time-stamp check and
>if the /etc/services is newer than /var/db/services.db
>
>a) log that the db might be out of sync in syslog
>b) eventually even fallback in that case to use the plaintext
>
>( something like that would have saved me a lot of pain)
>
>Does this make sense?
>
>:-)
>
It does make a lot of sense, but this is not what we do with the other
databases currently. And this will cost 2 more stats...
christos