Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 18:04:22 -0700 (PDT)
From:      "Joe Christy" <joe@digital-integrity.com>
To:        freebsd-stable@freebsd.org
Cc:        joe@eshu.net
Subject:   make installkernel fails ...
Message-ID:  <1071.216.233.203.110.969411862.squirrel@webmail.digital-integrity.com>

next in thread | raw e-mail | index | archive | help
	I'm still beating on the 3.3-STABLE => 4.1-STABLE upgrade.

	Now make install kernel is failing:

elegba(src)# make installkernel KERNEL=ELEGBA41
cd /usr/obj/usr/src/sys/ELEGBA41;  MAKEOBJDIRPREFIX=/usr/obj 
COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin 
LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib 
OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec 
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 MACHINE=i386 make
KERNEL=kernel install
chflags noschg /kernel
chflags: /kernel: Operation not permitted
*** Error code 1 (ignored)
mv /kernel /kernel.old
mv: rename /kernel to /kernel.old: Operation not permitted
*** Error code 1
 
Stop.
*** Error code 1
 
Stop.
*** Error code 1
 
Stop.

	Apparently, chflags is whacky:

elegba(tmp)# whoami
root
elegba(tmp)# touch foo
elegba(tmp)# ls -lo foo;chflags schg foo;ls -lo foo
-rw-r--r--  1 root  wheel  - 0 Sep 19 17:42 foo
-rw-r--r--  1 root  wheel  schg 0 Sep 19 17:42 foo
elegba(tmp)# ls -lo foo;chflags noschg foo;ls -lo foo
-rw-r--r--  1 root  wheel  schg 0 Sep 19 17:42 foo
chflags: foo: Operation not permitted
-rw-r--r--  1 root  wheel  schg 0 Sep 19 17:42 foo

	I though that this was due to ssh-ing in as toor, but logging in as root on
the console gives the same results.

	What am I missing?

		Joe                                                             





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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