Re: Stop in line 888 of Makefile

2008-09-06 Thread Doug Milam
ln /bsd /obsd worked after changing to noschg and rebuilding under 
securelevel -1. 

* *

The most dangerous man, to any government, is the man who is able to think 
things out for himself, without regard to the prevailing superstitions and 
taboos.  --Mencken

--- On Thu, 9/4/08, Doug Milam [EMAIL PROTECTED] wrote:
From: Doug Milam [EMAIL PROTECTED]
Subject: Re: Stop in line 888 of Makefile
To: Misc OpenBSD misc@openbsd.org
Date: Thursday, September 4, 2008, 8:09 PM

It does not, no

 Doug Milam wrote:
  ln: /obsd: Operation not permitted
  *** Error code 1
  
  Stop in /usr/src/sys/arch/i386/compile/GENERIC (line
 888 of Makefile).
  
  --running as root
  
 
 Does make install work when run outside of your script?
 
 Tom



Stop in line 888 of Makefile

2008-09-04 Thread Doug Milam
ln: /obsd: Operation not permitted
*** Error code 1

Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 888 of Makefile).

--running as root



Re: Stop in line 888 of Makefile

2008-09-04 Thread Hannah Schroeter
Hi!

On Thu, Sep 04, 2008 at 08:01:35AM -0700, Doug Milam wrote:
ln: /obsd: Operation not permitted
*** Error code 1

Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 888 of Makefile).

--running as root

Have you ever set an immutable flag? (ls -lo /bsd /nbsd /obsd)

Kind regards,

Hannah.



Re: Stop in line 888 of Makefile

2008-09-04 Thread Tom Rosso

Doug Milam wrote:
 Thanks; that was my best guess since these commands are part of a 
shell script. In any case, this script was run as root (not merely using 
sudo).



 --- On Sun, 8/24/08, Philip Guenther [EMAIL PROTECTED] wrote:

 From: Philip Guenther [EMAIL PROTECTED]
 Subject: Re: ln: /obsd: Operation not permitted
 To: [EMAIL PROTECTED]
 Cc: Misc OpenBSD misc@openbsd.org
 Date: Sunday, August 24, 2008, 10:36 PM
 On Sun, Aug 24, 2008 at 10:26 PM, Doug Milam
 [EMAIL PROTECTED] wrote:
 The following error occurs after the command

 cd /usr/src/sys/arch/i386/compile/GENERIC;
 make clean  make depend  make
 ln /bsd /obsd
 ln: /obsd: Operation not permitted
 *** Error code 1
 You *sure* that was the command you invoked?  That looks
 like the
 result of doing make install as non-root.


 Philip Guenther



Doug Milam wrote:

ln: /obsd: Operation not permitted
*** Error code 1

Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 888 of Makefile).

--running as root



Does make install work when run outside of your script?

Tom



Re: Stop in line 888 of Makefile

2008-09-04 Thread Doug Milam
I have not set an immutable flag, but the current flag is schg for /bsd

 On Thu, Sep 04, 2008 at 08:01:35AM -0700, Doug Milam wrote:
 ln: /obsd: Operation not permitted
 *** Error code 1
 
 Stop in /usr/src/sys/arch/i386/compile/GENERIC (line
 888 of Makefile).
 
 --running as root
 
 Have you ever set an immutable flag? (ls -lo /bsd /nbsd
 /obsd)
 
 Kind regards,
 
 Hannah.



Re: Stop in line 888 of Makefile

2008-09-04 Thread Doug Milam
It does not, no

 Doug Milam wrote:
  ln: /obsd: Operation not permitted
  *** Error code 1
  
  Stop in /usr/src/sys/arch/i386/compile/GENERIC (line
 888 of Makefile).
  
  --running as root
  
 
 Does make install work when run outside of your script?
 
 Tom



Re: Stop in line 888 of Makefile

2008-09-04 Thread Ted Unangst
On Thu, Sep 4, 2008 at 11:09 PM, Doug Milam [EMAIL PROTECTED] wrote:
 I have not set an immutable flag, but the current flag is schg for /bsd

Then you should talk to the person who did set the immutable flag.