Re: objcopy "text file busy" build failure with populated /usr/obj

2020-09-21 Thread Frederic Chardon
legacy/usr/sbin:/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/bin:/usr/obj/usr/src/arm64.aarch64/tmp/legacy/bin:/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin > SYSROOT=/usr/obj/usr/src/arm64.aarch64/tmp make -f Makefile.inc1 > BWPHASE=ev

Re: objcopy "text file busy" build failure with populated /usr/obj

2020-09-20 Thread Michael Butler
/ legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin SYSROOT=/usr/obj/usr/src/arm64.aarch64/tmp make -f Makefile.inc1 BWPHASE=everything DESTDIR=/usr/obj/usr/src/arm64.aarch64/tmp all Anyone else seeing this? objcopy --strip-debug --add-gnu-debuglink=objcopy.debug objcopy.full objcopy ob

objcopy "text file busy" build failure with populated /usr/obj

2020-09-20 Thread Mark Murray
r/sbin:/usr/bin SYSROOT=/usr/obj/usr/src/arm64.aarch64/tmp make -f Makefile.inc1 BWPHASE=everything DESTDIR=/usr/obj/usr/src/arm64.aarch64/tmp all Anyone else seeing this? objcopy --strip-debug --add-gnu-debuglink=objcopy.debug objcopy.full objcopy objcopy: open objcopy fai

Re: Text file busy

2003-09-15 Thread Peter Edwards
Terry Lambert wrote: Wesley Morgan wrote: 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. So send patches. I did a year ago :-) See PR 37554. (Not the original patch, the

Re: Text file busy

2003-09-05 Thread Terry Lambert
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. You are opening an existing file for write. You need to rename

Re: Text file busy

2003-09-05 Thread Terry Lambert
Wesley Morgan wrote: 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. this feature has always existed in FreeBSD for as long as I remember. It's also

Re: Text file busy

2003-09-05 Thread Paul Richards
On Thu, 2003-09-04 at 19:20, Tim Kientzle wrote: Depends on how you're installing the binary. It has always been safe to do either of the following: * Rename the current executable and then install the new one. * Unlink the current executable and then install the new one. Many tools

Text file busy

2003-09-04 Thread Paul Richards
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. intY has scanned this email for all known viruses (www.inty.com

Re: Text file busy

2003-09-04 Thread Sheldon Hearn
On (2003/09/04 14: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. Really? I've never seen it fixed. I've

Re: Text file busy

2003-09-04 Thread Scott M. Likens
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

Re: Text file busy

2003-09-04 Thread Stijn Hoop
On Thu, Sep 04, 2003 at 08:02:50AM -0700, Scott M. Likens wrote: That's like trying to reinstall X while running in X. You're just asking for problems. This has worked for me many times in the past :) Of course it's on a (essentially) single user desktop, and I do a restart after portupgrade

Re: Text file busy

2003-09-04 Thread John Polstra
On 04-Sep-2003 William K. Josephson wrote: On Thu, Sep 04, 2003 at 08:02:50AM -0700, Scott M. Likens wrote: Every single 'flavor' of Unix/Unices has always had this feature. I've No, just recent ones. One use to be able to page in from the wrong binary with rather entertaining results.

Re: Text file busy

2003-09-04 Thread John Polstra
On 04-Sep-2003 John Polstra wrote: On 04-Sep-2003 William K. Josephson wrote: On Thu, Sep 04, 2003 at 08:02:50AM -0700, Scott M. Likens wrote: Every single 'flavor' of Unix/Unices has always had this feature. I've No, just recent ones. One use to be able to page in from the wrong binary

Re: Text file busy

2003-09-04 Thread Mikko Työläjärvi
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

Re: Text file busy

2003-09-04 Thread Ruslan Ermilov
On Thu, Sep 04, 2003 at 02:44:13PM +, 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. cp -f Cheers

Re: Text file busy

2003-09-04 Thread Tim Kientzle
Paul Richards wrote: Overwriting a file that's currently executing results in a Text file busy error. I guess there are folks around who don't know this: When you execute a program, the program is not simply copied into memory. Instead, the kernel keeps the file open and pages the executable

Re: Text file busy

2003-09-04 Thread Matthew Dillon
: :Tim : :P.S. I wonder if demand-paging of executables is still a win for :program startup on modern systems with dynamically-linked executables? :Large reads are a lot more efficient, and it seems that dynamic :linking might cause more startup thrashing. Hmmm... Yes, they are a big win 95%

Re: Text file busy

2003-09-04 Thread Wesley Morgan
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

Re: Text file busy

2003-09-04 Thread Matthew D. Fuller
On Thu, Sep 04, 2003 at 09:36:31AM -0700 I heard the voice of Mikko Ty?l?j?rvi, and lo! it spake thus: If you are into foot shooting, you can always overwrite a shared lib, such as libc.so, and watch (almost) all your programs crash and burn :-) *raise hand* Yup. Got the t-shirt. Nothing