Re: Hosed system during package build

1999-09-19 Thread Steve Greenland
On 17-Sep-99, 04:35 (CDT), "J.H.M. Dassen (Ray)" <[EMAIL PROTECTED]> wrote: 
> On Thu, Sep 16, 1999 at 20:26:15 -0500, Steve Greenland wrote:
> > I saw much talk about fakeroot not working with the new glibc, much talk
> > about it being difficult to fix, and no talk about it being fixed.
> 
> Actually, AFAIK most of this talk was about /libtricks/ which was a new
> approach to doing what fakeroot does (it provided a "fakeroot" binary as
> well); that approach did turn out not to be usable for glibc2.1. The current
> fakeroot in potato is based on the old approach, and works fine.

Aaah. Understanding is.

Thanks,
sg

-- 
Steve Greenland <[EMAIL PROTECTED]>
(Please do not CC me on mail sent to this list; I subscribe to and read
every list I post to.)



Re: Hosed system during package build

1999-09-17 Thread J.H.M. Dassen \(Ray\)
On Thu, Sep 16, 1999 at 20:26:15 -0500, Steve Greenland wrote:
> I saw much talk about fakeroot not working with the new glibc, much talk
> about it being difficult to fix, and no talk about it being fixed.

Actually, AFAIK most of this talk was about /libtricks/ which was a new
approach to doing what fakeroot does (it provided a "fakeroot" binary as
well); that approach did turn out not to be usable for glibc2.1. The current
fakeroot in potato is based on the old approach, and works fine.

Ray
-- 
Obsig: developing a new sig



Re: Hosed system during package build

1999-09-17 Thread Matt Porter
On Thu, Sep 16, 1999 at 08:26:15PM -0500, Steve Greenland wrote:
> On 16-Sep-99, 13:21 (CDT), Ben Gertzfield <[EMAIL PROTECTED]> wrote: 
> > > "Dale" == Dale Scheetz <[EMAIL PROTECTED]> writes:
> > 
> > Dale> I'm going to take my time "recovering" from this, as there
> > Dale> are things still on hda1 that I am likely to want saved. Any
> > Dale> helpful hints about how to keep such things from happening
> > Dale> in the future would be greatfully appreciated.
> > 
> > Fakeroot, fakeroot, fakeroot. What I tell you three times is true. :)
> 
> I saw much talk about fakeroot not working with the new glibc, much talk
> about it being difficult to fix, and no talk about it being fixed.
> 
> So, it is working again?

I didn't know it was broken.  I use it with glibc 2.1.2 on PowerPC every
day to manually build packages.

--
Matt Porter
[EMAIL PROTECTED]
This is Linux Country. On a quiet night, you can hear Windows reboot.



Re: Hosed system during package build

1999-09-17 Thread Ben Collins
On Thu, Sep 16, 1999 at 08:26:15PM -0500, Steve Greenland wrote:
> On 16-Sep-99, 13:21 (CDT), Ben Gertzfield <[EMAIL PROTECTED]> wrote: 
> > > "Dale" == Dale Scheetz <[EMAIL PROTECTED]> writes:
> > 
> > Dale> I'm going to take my time "recovering" from this, as there
> > Dale> are things still on hda1 that I am likely to want saved. Any
> > Dale> helpful hints about how to keep such things from happening
> > Dale> in the future would be greatfully appreciated.
> > 
> > Fakeroot, fakeroot, fakeroot. What I tell you three times is true. :)
> 
> I saw much talk about fakeroot not working with the new glibc, much talk
> about it being difficult to fix, and no talk about it being fixed.
> 
> So, it is working again?

The sparc build uses fakeroot completely for builds, with no problems.

Ben



Re: Hosed system during package build

1999-09-17 Thread Steve Greenland
On 16-Sep-99, 13:21 (CDT), Ben Gertzfield <[EMAIL PROTECTED]> wrote: 
> > "Dale" == Dale Scheetz <[EMAIL PROTECTED]> writes:
> 
> Dale> I'm going to take my time "recovering" from this, as there
> Dale> are things still on hda1 that I am likely to want saved. Any
> Dale> helpful hints about how to keep such things from happening
> Dale> in the future would be greatfully appreciated.
> 
> Fakeroot, fakeroot, fakeroot. What I tell you three times is true. :)

I saw much talk about fakeroot not working with the new glibc, much talk
about it being difficult to fix, and no talk about it being fixed.

So, it is working again?

Steve

-- 
Steve Greenland <[EMAIL PROTECTED]>
(Please do not CC me on mail sent to this list; I subscribe to and read
every list I post to.)



Re: Hosed system during package build

1999-09-16 Thread Dale Scheetz
On Thu, 16 Sep 1999, Ben Collins wrote:

> On Thu, Sep 16, 1999 at 04:38:56PM +, Dale Scheetz wrote:
> > This is a first for me! As you may have noted from earlier postings, I
> > have been working on a source build process for distribution construction.
> > During the build of one of the source packages, the system "went away".
> 
> What kernel version were you using? It's possible that you hit some sort
> of ext2 corruption completely unrelated to what you were doing at the time.
> 
Well, it _was_ a 2.2.X kernel (I think a .10), and since the script was
doing a 'dpkg-source -x' at the time, your suggestion has merrit. 

Do you know of any other reports of file corruption, and with which
kernels?

Thanks,

Dwarf
--
_-_-_-_-_-   Author of "The Debian Linux User's Guide"  _-_-_-_-_-_-

aka   Dale Scheetz   Phone:   1 (850) 656-9769
  Flexible Software  11000 McCrackin Road
  e-mail:  [EMAIL PROTECTED] Tallahassee, FL  32308

_-_-_-_-_-_- See www.linuxpress.com for more details  _-_-_-_-_-_-_-



Re: Hosed system during package build

1999-09-16 Thread Dale Scheetz
On Thu, 16 Sep 1999, Ben Collins wrote:

> On Thu, Sep 16, 1999 at 11:21:17AM -0700, Ben Gertzfield wrote:
> > > "Dale" == Dale Scheetz <[EMAIL PROTECTED]> writes:
> > 
> > Dale> I'm going to take my time "recovering" from this, as there
> > Dale> are things still on hda1 that I am likely to want saved. Any
> > Dale> helpful hints about how to keep such things from happening
> > Dale> in the future would be greatfully appreciated.
> > 
> > Fakeroot, fakeroot, fakeroot. What I tell you three times is true. :)
> 
> Ummm, running fakeroot as a normal user, can't kill directories...sorry.

I believe that he was suggesting that I should be using fakeroot to avoid
such problems.

As the script also installs the packages it builds, I would at least need
to use sudo to get past the install. This is a script still under
construction, so I hadn't gotten to the point of making it safe. Sounds
like I better ;-)

Time to create a user for building and installing packages...

Thanks,

Dwarf
--
_-_-_-_-_-   Author of "The Debian Linux User's Guide"  _-_-_-_-_-_-

aka   Dale Scheetz   Phone:   1 (850) 656-9769
  Flexible Software  11000 McCrackin Road
  e-mail:  [EMAIL PROTECTED] Tallahassee, FL  32308

_-_-_-_-_-_- See www.linuxpress.com for more details  _-_-_-_-_-_-_-



Re: Hosed system during package build

1999-09-16 Thread Ben Collins
On Thu, Sep 16, 1999 at 11:21:17AM -0700, Ben Gertzfield wrote:
> > "Dale" == Dale Scheetz <[EMAIL PROTECTED]> writes:
> 
> Dale> I'm going to take my time "recovering" from this, as there
> Dale> are things still on hda1 that I am likely to want saved. Any
> Dale> helpful hints about how to keep such things from happening
> Dale> in the future would be greatfully appreciated.
> 
> Fakeroot, fakeroot, fakeroot. What I tell you three times is true. :)

Ummm, running fakeroot as a normal user, can't kill directories...sorry.

Ben



Re: Hosed system during package build

1999-09-16 Thread Ben Collins
On Thu, Sep 16, 1999 at 04:38:56PM +, Dale Scheetz wrote:
> This is a first for me! As you may have noted from earlier postings, I
> have been working on a source build process for distribution construction.
> During the build of one of the source packages, the system "went away".

What kernel version were you using? It's possible that you hit some sort
of ext2 corruption completely unrelated to what you were doing at the time.

Ben



Re: Hosed system during package build

1999-09-16 Thread tony mancill
On Thu, 16 Sep 1999, Dale Scheetz wrote:

> Upon rebooting the system, I got told that there was no console device, so
> I rebooted to my "emergency" slink system. (My normal development system
> is on hda1, with hda2 for swap, and hda3 for the slink system)
> 
> /dev contained the empty directory /pty, and a |init* file.
> Recovering /dev from hda3 just brought up further errors:
> /etc/init.d and /etc/resolv.conf are gone, but most of /etc is still
> there.
> 
> /bin is completely gone, as is /boot, although the system will still boot
> on either the hda3 kernel or the hda1 kernel (both of which reside in
> /dev/hda1/boot), so although the file system doesn't seem to know about
> these files, they are still there for LILO to use.

Saving the possibility of filesystem corruption based on disk failure (you
didn't mention a long complicated fsck, so I'll assume that there was not
one), the first thing that comes to mind is to ask you:

   You don't run your build script as the root user, do you?

In other words, you are using fakeroot to build your packages, right?  My
guess is that an errant "rm -fr *" started and ran until it whacked a
library it (or the "find" or whatever invoked it) was using.


  [EMAIL PROTECTED] |  I am a concientious man. 
http://www.debian.org  |  When I throw rocks at seabirds,
   |  I leave no tern unstoned.  (Ogden Nash)



Re: Hosed system during package build

1999-09-16 Thread Ben Gertzfield
> "Dale" == Dale Scheetz <[EMAIL PROTECTED]> writes:

Dale> I'm going to take my time "recovering" from this, as there
Dale> are things still on hda1 that I am likely to want saved. Any
Dale> helpful hints about how to keep such things from happening
Dale> in the future would be greatfully appreciated.

Fakeroot, fakeroot, fakeroot. What I tell you three times is true. :)

-- 
Brought to you by the letters O and Y and the number 16.
"I wanna be Twist Barbie!"
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/