Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!news.dacom.co.kr!usenet.seri.re.kr!news.imnet.ad.jp!wnoc-tyo-news!jingw!cc-jindai-news!kochi!taroh From: taroh@kani.cc.kanagawa-u.ac.jp (Taroh Sasaki 101499) Subject: Re: SunOS -> FreeBSD lockf() problems In-Reply-To: Andrew Gordon's message of Mon, 23 Oct 1995 00:12:54 GMT Message-ID: <TAROH.95Oct24012444@kani.cc.kanagawa-u.ac.jp> Sender: news@kochi.cc.kanagawa-u.ac.jp (News Manager) Organization: Computer Center, Kanagawa University, Kanagawa, Japan References: <TAROH.95Oct23033356@kani.cc.kanagawa-u.ac.jp> <814407174.20210@pencotts.demon.co.uk> Date: Mon, 23 Oct 1995 16:24:44 GMT Lines: 45 In article <814407174.20210@pencotts.demon.co.uk> Andrew Gordon <andrew.gordon@net-tel.co.uk> writes: > From: Andrew Gordon <andrew.gordon@net-tel.co.uk> > > I'm using FreeBSD machines and one of them is a /var/mail > > file server through NFS. From other FreeBSD machines, > > lockf() works well in MH (with compile option LOCKF), > > but a Sun SPARC fails. Isn't there compatibility between > > FreeBSD (2.1.0-951005-SNAP) and SunOS (4.1.3) lockf()s? > > And should we give up locking from SunOS client? > FreeBSD does not currently support NFS file locking - so if your application > allows you to disable it safely, then you should do so. I've done a quick hack with MH sources (on Sun --- client) to comment out all lockf()s and made it always success (i.e. a file seems to be never locked). Now I'm afraid of collision of MH and sendmail... Anyway, isn't there any other famous program which uses lockf()s? Today there's another problem; I don't have confidence that this is concerned with lockf() (or rpc.statd). A mailing-list driver shell script is denyed to execute by sendmail because it is ``unsafe'' (sendmail says the script is chmod-able while I don't think so). The script is on a FreeBSD machine exported through NFS, and sendmail is executed on a Sun SPARC. Anybody has idea? (please do not say I should discard the SPARC (-_^) ). > If anybody wants the pieces so far to hack > at, please let me know. Hmmm... I could hack that... --- taroh@kohnolab.dnj.ynu.ac.jp ??? +----------------+ Dr. Taroh SASAKI, Assistant % |Art, Esthetics | Dept. of Industrial Eng. and Manag., *** ** | and Philosophy| Fac. of Eng., Kanagawa Univ. **** +----------------+ -- --- taroh@math.ie.kanagawa-u.ac.jp ??? +----------------+ $B:4!9LZB@NI(B ($B?@F`@nBg3X(B % |$B7]=Q!&H~3X!&E/3X(B| $B9)3XIt7P1D9)3X2J(B ***** ** | | $B@.ED8&5f<<=u<j(B) **** | | http://www.math.ie.kanagawa-u.ac.jp/people/taroh ----+