Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 1995 08:54:09 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        asami@cs.berkeley.edu (Satoshi Asami)
Cc:        jbeukema@HK.Super.NET, hackers@FreeBSD.org, jkh@FreeBSD.org
Subject:   Re: damaged file system
Message-ID:  <199507030654.IAA03146@uriah.heep.sax.de>
In-Reply-To: <199507030453.VAA02512@silvia.HIP.Berkeley.EDU> from "Satoshi Asami" at Jul 2, 95 09:53:46 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Satoshi Asami wrote:
> 
>  * I am missing /etc/rc now (and who knows what else).  To see whether I can 
>  * avoid reinstalling the entire binary distribution, can someone send me a 
>  * copy by mail.  I have the sources so I will try and make world after 
>  * getting up multi-user.  I suggest someone who understands pkg_add check 
>  * out the cern_httpd one.  
> 
> I don't claim to understand pkg_add (only Jordan does :) but I can't
> see why pkg_add can damage the filesystem like that, the cern_httpd
> package is just a "regular" package without any fancy frills or
> anything.  (I just tried the 2.0.5 package on our development machine
> (thud), it went fine without destroying anything.)

pkg_add used to remove the temp files after a failure.  I think this
is done by an rm -f (usually run by root).  A single space somewhere
in a PLIST file caused me to trash my entire /usr/local once.  It's
not impossible that there are further hidden gotchas.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



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