Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 1995 21:07:55 -0800 (PST)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        ponds!rivers@dg-rtp.dg.com (Thomas David Rivers)
Cc:        allen@ripley.radio.net, bugs@FreeBSD.org
Subject:   Re: Better check NFS server as well
Message-ID:  <199503080507.VAA27234@gndrsh.aac.dev.com>
In-Reply-To: <199503080223.VAA02740@lakes> from "Thomas David Rivers" at Mar 7, 95 09:23:41 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> > 
> > It complains on startup about not finding /var/db/mountdtab.
> 
>  I get this message from 2.0R - in case anyone else hasn't seen it there.
> 
> > 
> > Also, check /etc/termcap.  It is a symbolic link to something non-
> > existent in /usr/tmp/...
> > 

This is caused by the following change made by UCB for some reason to
the mountd sources: [This is a clip out of a very large diff]

1.1.5.1 sources:
!       if (((mlfile = fopen(_PATH_RMOUNTLIST, "r")) == NULL) &&
!           ((mlfile = fopen(_PATH_RMOUNTLIST, "w")) == NULL)) {
!               syslog(LOG_WARNING, "Can't open %s", _PATH_RMOUNTLIST);

2.1-current sources:
!       if ((mlfile = fopen(_PATH_RMOUNTLIST, "r")) == NULL) {
!               syslog(LOG_ERR, "Can't open %s", _PATH_RMOUNTLIST);


This may have been done as more than likely allowing mountd to create
the file ends up with a file that has the wrong modes on it.  [Having
a world readable /var/db/mountdtab is not always a very good idea, it
tells hackers where to go to attack you via NFS :-)]

> 	- Dave R. -


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503080507.VAA27234>