[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Once patched 3.5 as root, now can't apply 025_getcwd



Stephen,

Thanks for your input. At risk of being told to follow your help or
don't ask for it, observe the following output:

% find / -name .depend | xargs ls -adol
-rw-------  1 software  wsrc  - 338262 Feb  2 11:22 /usr/src/lib/libc/.depend

As you can see, there's only one .depend file on the whole system, and
its correctly owned. Also...

% find /usr/src ! -user software | xargs ls -adol
drwxrwxr-x  7 root  wsrc  - 512 Feb  2 11:14 /usr/src

I'm stumped...

Regards,
Damon

Date: Wed, 2 Feb 2005 01:50:21 +0000
From: Stephen Marley <stephen_(_dot_)_marley_(_at_)_catwoman_(_dot_)_cl-is_(_dot_)_com>
To: misc_(_at_)_openbsd_(_dot_)_org
Subject: Re: Once patched 3.5 as root, now can't apply 025_getcwd
Message-ID: <20050202015021_(_dot_)_GA10497_(_at_)_catwoman_(_dot_)_in_(_dot_)_cl-is_(_dot_)_com>

On Wed, Feb 02, 2005 at 11:35:57AM +1030, Damon McMahon wrote:
> Jason,
> 
> Thanks for your continuing response. Unfortunately that didn't work -
> I removed everything in both /usr/obj and /usr/src , untared and
> patched the source, same problem.

You must be running make depend as root somewhere. Are you following
release(8) perhaps? 
> 
> I appreciate your time, and if you can give me any tips on further
> troubleshooting I'm happy to do so

Remove the (root owned) .depend files

cd /usr/src/sys/arch/`machine`/compile/GENERIC
make clean
find . -name .depend | xargs rm
make depend

or just fix ownership of everything:

find /usr/src -user root | xargs sudo chown software:wsrc

(run find command above as root if sudo is not set up)

Kind Regards,
Stephen Marley

-- 
Network Systems Engineer, Datacentre Operations
Campbell Lee Internet Solutions <http://cl-is.com>


------------------------------



Visit your host, monkey.org