Re: Text file busy

From: Wesley Morgan <morganw_at_chemikals.org>
Date: Thu, 4 Sep 2003 17:52:07 -0400 (EDT)
On Thu, 4 Sep 2003, Scott M. Likens wrote:

> On Thu, 2003-09-04 at 07:44, Paul Richards wrote:
> > Overwriting a file that's currently executing results in a "Text file
> > busy" error.
> >
> > When did this start happening?
> >
> > This was something that was fixed way back on FreeBSD but it seems to be
> > a problem again.
> >
> > Paul.
>
> this "feature" has always existed in FreeBSD for as long as I remember.
>
> Of course there are ways to bypass this "feature" but it's there for
> your protection.  You shouldn't be upgrading a program that's in
> resident memory.  That's like trying to reinstall X while running in X.
> You're just asking for problems.
>
> turnoff postfix, install the new version and be happy.
>
> Every single 'flavor' of Unix/Unices has always had this feature.  I've
> seen it on HP-UX box's on Solaris Servers, Linux, NetBSD, OpenBSD,
> FreeBSD.  Maybe you wern't paying attention but, that is one of those
> things I think should fall under duh, i shouldn't do that it might make
> things crash hard.

It's also unfortunate that this protection does not seem to extend to
libaries. I've had some in-use X libraries get overwritten with some very
colorful results.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
Received on Thu Sep 04 2003 - 12:52:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC