[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
- To: misc@openbsd.org
- Subject: Re: Re: Once patched 3.5 as root, now can't apply 025_getcwd
- From: Damon McMahon <damon.mcmahon@gmail.com>
- Date: Thu, 3 Feb 2005 11:20:36 +1030
- Cc: Stephen Marley <stephen.marley@catwoman.cl-is.com>
- DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=iTC7IdfLQ71S3bD4AHgWpMV4p9p50/SY6weoGUsJlLDGm539UXKjepJGyk81q/Wlk/T63SPZvxZqh7/KgVdyXdJtF5u9JKIUOYBZt7P4VwE9e6hcoWU1fKq7/mYPqBTfQ0dNKL2O6reTd3x1LnMq+jfP+5hm35amdt3x3Fa4CL4=
- References: <200502021322.j12DM2Oi029075@shear.ucar.edu>
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.marley@catwoman.cl-is.com>
To: misc@openbsd.org
Subject: Re: Once patched 3.5 as root, now can't apply 025_getcwd
Message-ID: <20050202015021.GA10497@catwoman.in.cl-is.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>
------------------------------