Re: Bug#241957: woody to sid apache upgrade hang

2004-04-06 Thread Fabio Massimo Di Nitto

Hi guys,
the problem has been hunted down in ucf and fixed in version 1.02
of ucf it self.

Have fun!
Fabio

On Sun, 4 Apr 2004, Bill Allombert wrote:

 Package: apache
 Version: 1.3.29.0.2-4
 Severity: important

 Hello Debian Apache maintainers,

 During the latest woody to sid upgrade test I performed (under
 user-mode-linux, the upgrade process get stalled:

 Setting up apache (1.3.29.0.2-4) ...
 Configuration file `/etc/apache/httpd.conf'
  == File on system created by you or by a script.
  == File also in package provided by package maintainer.
What would you like to do about it ?  Your options are:
 Y or I  : install the package maintainer's version
 N or O  : keep your currently-installed version
   D : show the differences between the versions
   Z : start a new shell to examine the situation
  The default action is to keep your current version.
 ***  httpd.conf  (Y/I/N/O/D/Z) [default=N] ?

 Whatever optionI choose, the upgrade process hang.
 Doing a ^Z and ps auwwx I get:

 root  6926  0.0  2.8  8836 7228 tty1 T18:17   0:00 apt-get 
 install apache-common
 root  6930  0.0  7.0 19292 17808 tty1T18:17   0:00 /usr/bin/dpkg 
 --configure apache
 root  6931  0.0  2.5  8252 6420 tty1 T18:17   0:00 /usr/bin/perl 
 -w
 /usr/share/debconf/frontend /var/lib/dpkg/info/apache.postinst configure 
 1.3.26-0woody3
 root  6938  0.0  0.5  2480 1288 tty1 T18:17   0:00 /bin/bash 
 /var/lib/dpkg/info/apache.postinst configure 1.3.26-0woody3
 root  7890  0.0  0.4  2400 1208 tty1 T18:17   0:00 /bin/bash 
 /usr/bin/ucf --debconf-ok /etc/apache/httpd.conf.dpkg-inst.queue 
 /etc/apache/httpd.conf

 So maybe it is related to ucf/debconf.

 There is the definite possibility I have a poorly configured
 user-mode-linux system, but I perform regularly such upgrading test and
 it is the first time it hangs there.

 Cheers,


-- 
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.




Bug#241957: woody to sid apache upgrade hang

2004-04-06 Thread Bill Allombert
On Sun, Apr 04, 2004 at 06:35:58PM +0200, Fabio Massimo Di Nitto wrote:
 On Sun, 4 Apr 2004, Bill Allombert wrote:
 hmmm as i stated before apache doesn't use directly tty anymore. Anyway a
 lot of subsystems have changed recently and we will have to review the
 entire woody - sarge upgrade process again. I tested personally a few
 releases ago and it was ok.. apparently it isn't anymore and it needs love
 absolutely. It would be nice if you have other uml systems like that one
 where to reproduce the upgrade with some debugging stuff enabled here and
 there.

Here is the transcript.
For some reason ucf decide against using debconf for input but
it look like debconf eat stdin so ucf hang.

Script started on Tue Apr  6 18:29:58 2004
pari-uml:~# apt-get upgrade
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up apache (1.3.29.0.2-4) ...
ucf: The Source directory is /etc/apache
ucf: The State directory is /var/lib/ucf
The hash file exists
egrep [[:space:]]/etc/apache/httpd.conf$ /var/lib/ucf/hashfile
The new start file is  `/etc/apache/httpd.conf.dpkg-inst.queue\'
The destination is `/etc/apache/httpd.conf\'
The history is kept under  \'/etc/apache\'
The file may be cached at \'/var/lib/ucf/cache/:etc:apache:httpd.conf\'
The destination file exists, and has md5sum:
450cf7273df6d99dde919e4d31f3a066  /etc/apache/httpd.conf
The old md5sum does not exist.
The new file exists, and has md5sum:
4d5b83b197868e7d14a78ca559521114  /etc/apache/httpd.conf.dpkg-inst.queue
Historical md5sums are not available
No match found, we shall ask.
Configuration file `/etc/apache/httpd.conf'
 == File on system created by you or by a script.
 == File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
Y or I  : install the package maintainer's version
N or O  : keep your currently-installed version
  D : show the differences between the versions
  Z : start a new shell to examine the situation
 The default action is to keep your current version.
***  httpd.conf  (Y/I/N/O/D/Z) [default=N] ?I
Script done on Tue Apr  6 18:32:42 2004

root   290  0.0  2.5  8244 6420 tty1 T22:21   0:00 /usr/bin/perl -w
/usr/share/debconf/frontend /var/lib/dpkg/info/apache.postinst configure 
1.3.26-0woody3
root   297  0.0  0.5  2480 1288 tty1 T22:21   0:00 /bin/bash 
/var/lib/dpkg/info/apache.postinst configure 1.3.26-0woody3
root  1249  0.0  0.4  2404 1212 tty1 T22:21   0:00 /bin/bash 
/usr/bin/ucf --debconf-ok /etc/apache/httpd.conf.dpkg-inst.queue 
/etc/apache/httpd.conf

Cheers,
-- 
Bill. [EMAIL PROTECTED]

Imagine a large red swirl here. 




Re: Bug#241957: woody to sid apache upgrade hang

2004-04-04 Thread Fabio Massimo Di Nitto
On Sun, 4 Apr 2004, Fabio Massimo Di Nitto wrote:

 Which frontenf are you using?

Sorry I meant to ask which version of ucf you have installed??

Thanks
Fabio

-- 
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.




Bug#241957: woody to sid apache upgrade hang

2004-04-04 Thread Bill Allombert
On Sun, Apr 04, 2004 at 02:06:17PM +0200, Fabio Massimo Di Nitto wrote:
 On Sun, 4 Apr 2004, Fabio Massimo Di Nitto wrote:
 
  Which frontenf are you using?
 
 Sorry I meant to ask which version of ucf you have installed??

Package: ucf
Version: 1.00

More generally I used the latest sid version at the date I did the
report since I was doing a clean woody to sid upgrade.

Also I am using the linux console _inside_ the uml:
# tty
/dev/tty1

Cheers,
-- 
Bill. [EMAIL PROTECTED]

Imagine a large red swirl here. 




Re: Bug#241957: woody to sid apache upgrade hang

2004-04-04 Thread Fabio Massimo Di Nitto
On Sat, 3 Apr 2004, Matt Zimmerman wrote:

 On Sun, Apr 04, 2004 at 02:02:42AM +0200, Bill Allombert wrote:

  Package: apache
  Version: 1.3.29.0.2-4
  Severity: important
 
  Hello Debian Apache maintainers,
 
  During the latest woody to sid upgrade test I performed (under
  user-mode-linux, the upgrade process get stalled:
 
  Setting up apache (1.3.29.0.2-4) ...
  Configuration file `/etc/apache/httpd.conf'
   == File on system created by you or by a script.
   == File also in package provided by package maintainer.
 What would you like to do about it ?  Your options are:
  Y or I  : install the package maintainer's version
  N or O  : keep your currently-installed version
D : show the differences between the versions
Z : start a new shell to examine the situation
   The default action is to keep your current version.
  ***  httpd.conf  (Y/I/N/O/D/Z) [default=N] ?
 
  Whatever optionI choose, the upgrade process hang.
  Doing a ^Z and ps auwwx I get:

Which frontenf are you using?

 
  So maybe it is related to ucf/debconf.

For sure it is not apache but before reassigning i want to be sure.

  There is the definite possibility I have a poorly configured
  user-mode-linux system, but I perform regularly such upgrading test and
  it is the first time it hangs there.

 Sounds similar to #237181.

It could be but apache doesn't use tty since a long while.

Fabio

-- 
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.




Bug#241957: woody to sid apache upgrade hang

2004-04-03 Thread Matt Zimmerman
On Sun, Apr 04, 2004 at 02:02:42AM +0200, Bill Allombert wrote:

 Package: apache
 Version: 1.3.29.0.2-4
 Severity: important
 
 Hello Debian Apache maintainers,
 
 During the latest woody to sid upgrade test I performed (under
 user-mode-linux, the upgrade process get stalled:
 
 Setting up apache (1.3.29.0.2-4) ...
 Configuration file `/etc/apache/httpd.conf'
  == File on system created by you or by a script.
  == File also in package provided by package maintainer.
What would you like to do about it ?  Your options are:
 Y or I  : install the package maintainer's version
 N or O  : keep your currently-installed version
   D : show the differences between the versions
   Z : start a new shell to examine the situation
  The default action is to keep your current version.
 ***  httpd.conf  (Y/I/N/O/D/Z) [default=N] ?
 
 Whatever optionI choose, the upgrade process hang.
 Doing a ^Z and ps auwwx I get:
 
 root  6926  0.0  2.8  8836 7228 tty1 T18:17   0:00 apt-get 
 install apache-common
 root  6930  0.0  7.0 19292 17808 tty1T18:17   0:00 /usr/bin/dpkg 
 --configure apache
 root  6931  0.0  2.5  8252 6420 tty1 T18:17   0:00 /usr/bin/perl 
 -w
 /usr/share/debconf/frontend /var/lib/dpkg/info/apache.postinst configure 
 1.3.26-0woody3
 root  6938  0.0  0.5  2480 1288 tty1 T18:17   0:00 /bin/bash 
 /var/lib/dpkg/info/apache.postinst configure 1.3.26-0woody3
 root  7890  0.0  0.4  2400 1208 tty1 T18:17   0:00 /bin/bash 
 /usr/bin/ucf --debconf-ok /etc/apache/httpd.conf.dpkg-inst.queue 
 /etc/apache/httpd.conf
 
 So maybe it is related to ucf/debconf.
 
 There is the definite possibility I have a poorly configured
 user-mode-linux system, but I perform regularly such upgrading test and
 it is the first time it hangs there.

Sounds similar to #237181.

-- 
 - mdz