Subject: bin/22943: R/O source tree problem whith etcupdate
To: None <gnats-bugs@gnats.netbsd.org>
From: None <xavier@xavhome.fr.eu.org>
List: netbsd-bugs
Date: 09/25/2003 08:54:09
>Number: 22943
>Category: bin
>Synopsis: When using a read-only source tree, /usr/sbin/etcupdate fails within sendmail/cf
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 25 06:55:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Xavier HUMBERT
>Release: NetBSD 1.6Z
>Organization:
>Environment:
System: NetBSD arnor.xavhome.fr.eu.org 1.6Z NetBSD 1.6Z (XAVIER) #2: Tue Sep 9 23:45:04 CEST 2003 root@arnor.xavhome.fr.eu.org:/usr/obj.i386/sys/arch/i386/compile/XAVIER i386
Architecture: i386
Machine: i386
>Description:
My source tree is mounted read-only from a NFS server. Building goes flawlessly, as well as install process, but
etcupdate fails, claiming to write into /usr/src/gnu/usr.sbin/sendmail/cf/cf/ :
| (cd /usr/src/gnu/usr.sbin/sendmail/cf/cf; make distribution)
| rm -f netbsd-proto.cf
| (cd /usr/src/gnu/dist/sendmail/cf/cf && /usr/tools.i386/bin/nbm4 /usr/src/gnu/dist/sendmail/cf/m4/cf.m4 /usr/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.mc > /usr/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.cf)
| cannot create /usr/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.cf: read-only file system
|
| *** Failed target: netbsd-proto.cf
| *** Failed command: (cd /usr/src/gnu/dist/sendmail/cf/cf && /usr/tools.i386/bin/nbm4 /usr/src/gnu/dist/sendmail/cf/m4/cf.m4 /usr/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.mc > /usr/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.cf)
>How-To-Repeat:
run /usr/sbin/etcupdate on a clean source-tree, mounted read-only :
[root]# TOOLDIR=/usr/tools.i386 /usr/sbin/etcupdate
>Fix:
Remount the source tree read-write.
But next CVS update complains about an unknown file :
"? /usr/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.cf"
Regards,
--
Xav
http://www.freetibet.org
http://www.tibet.fr/
>Release-Note:
>Audit-Trail:
>Unformatted: