public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: problem with lftp 2.6.8-1 postinstall script
@ 2003-11-07 17:39 DePriest, Jason R.
  0 siblings, 0 replies; 4+ messages in thread
From: DePriest, Jason R. @ 2003-11-07 17:39 UTC (permalink / raw)
  To: cygwin

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Andrew Waltman
> Sent: Friday, November 07, 2003 11:14 AM
> To: cygwin@cygwin.com
> Subject: problem with lftp 2.6.8-1 postinstall script
> 
> I don't know if anyone else has run into this, but thought I 
> should send
> something out to let people know to be on the lookout.
> 
> Thanks,
> Andrew
> 

I had this happen to me last night.  Thanks for letting me know it
wasn't "just me".
I didn't debug it as thoroughly as you did (it was late, I was tired).
I just killed processes until it told me the install completed
successfully.

I'll have to check out the setup log files tonight to make sure they
aren't ~huge~.

-Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: problem with lftp 2.6.8-1 postinstall script
  2003-11-08  6:21 ` Mark Blackburn
@ 2003-11-08 16:19   ` Hannu E K Nevalainen
  0 siblings, 0 replies; 4+ messages in thread
From: Hannu E K Nevalainen @ 2003-11-08 16:19 UTC (permalink / raw)
  To: Mark Blackburn, cygwin, cygwin-apps

> From: Mark Blackburn
> Sent: Saturday, November 08, 2003 7:20 AM

> I apologize for the trouble this is causing people. I'm looking into
> this problem now.
> I didn't test the install with setup. I just ran my postinstall script
> by hand to test it. I don't know why installing with setup is having
> this effect.
>
> For now I suggest that no one installs the lftp-2.6.8 package.
>
> I also ask that this package be removed from the cygwin.com ftp server
> until I can package a 2.6.8-2 version.
>
> Mark Blackburn

The problems is:
 lfpt.sh expects to have a console around, a user and keyboard attached. But
this isn't the case for postinstall scripts when they get run from setup.

to get rid of the problem fast:

$ diff -up lftp.sh.original lftp.sh.done
--- lftp.sh.original    2003-11-07 20:42:56.000000000 +0100
+++ lftp.sh.done        2003-11-07 20:54:06.000000000 +0100
@@ -34,6 +34,7 @@ request()
 }

 # Check if lftp.conf exists. If yes, ask for overwriting
+export auto_answer="no"

 if [ -f "${SYSCONFDIR}/lftp.conf" ]
 then


/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problem with lftp 2.6.8-1 postinstall script
  2003-11-07 17:13 Andrew Waltman
@ 2003-11-08  6:21 ` Mark Blackburn
  2003-11-08 16:19   ` Hannu E K Nevalainen
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Blackburn @ 2003-11-08  6:21 UTC (permalink / raw)
  To: cygwin, cygwin-apps

I apologize for the trouble this is causing people. I'm looking into 
this problem now.
I didn't test the install with setup. I just ran my postinstall script 
by hand to test it. I don't know why installing with setup is having 
this effect.

For now I suggest that no one installs the lftp-2.6.8 package.

I also ask that this package be removed from the cygwin.com ftp server 
until I can package a 2.6.8-2 version.

Mark Blackburn

Andrew Waltman wrote:

>For me when installing lftp 2.6.8-1 the postinstall script at
>/etc/postinstall/lftp.sh gets stuck in an infinite loop on lines 23-27 if
>you have and existing /etc/lftp.conf file. The output gets set to the
>/var/log/setup.log.full file filling up the disk. I cancelled the install
>and found that the file was over a 1.5 GB in size! I removed the file,
>reinstalled the package, killed the sh process of the postinstall script
>and the rest of the postinstall scripts for the other packages finished
>successfully. The setup.log.full showed more of the same output from the
>lftp.sh script, but since the sh process was killed did not fill the disk
>again. I guess another workaround would be to move the /etc/lftp.conf out
>of the way before the running the installer and put it back when it is done
>(unless you want the new version).
>
>I don't know if anyone else has run into this, but thought I should send
>something out to let people know to be on the lookout.
>
>Thanks,
>Andrew
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>  
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* problem with lftp 2.6.8-1 postinstall script
@ 2003-11-07 17:13 Andrew Waltman
  2003-11-08  6:21 ` Mark Blackburn
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Waltman @ 2003-11-07 17:13 UTC (permalink / raw)
  To: cygwin

For me when installing lftp 2.6.8-1 the postinstall script at
/etc/postinstall/lftp.sh gets stuck in an infinite loop on lines 23-27 if
you have and existing /etc/lftp.conf file. The output gets set to the
/var/log/setup.log.full file filling up the disk. I cancelled the install
and found that the file was over a 1.5 GB in size! I removed the file,
reinstalled the package, killed the sh process of the postinstall script
and the rest of the postinstall scripts for the other packages finished
successfully. The setup.log.full showed more of the same output from the
lftp.sh script, but since the sh process was killed did not fill the disk
again. I guess another workaround would be to move the /etc/lftp.conf out
of the way before the running the installer and put it back when it is done
(unless you want the new version).

I don't know if anyone else has run into this, but thought I should send
something out to let people know to be on the lookout.

Thanks,
Andrew

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-11-08 16:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-07 17:39 problem with lftp 2.6.8-1 postinstall script DePriest, Jason R.
  -- strict thread matches above, loose matches on Subject: below --
2003-11-07 17:13 Andrew Waltman
2003-11-08  6:21 ` Mark Blackburn
2003-11-08 16:19   ` Hannu E K Nevalainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).