I do not seem to have permission to nominate for SRU.  Nevertheless,
subscribing ubuntu-sru.

** Description changed:

  Binary package hint: global
  
  Package: global
  Version: 5.7.1-1
  
  The following command in the postinst fails:
  
  hostname --fqdn
  
  outputing this:
  
  hostname: Unknown host
  
  Indeed, my fqdn was unknown at the time, but that shouldn't
  have caused my upgrade to Jaunty to fail.
  
+ [Impact]
+ This bug causes upgrades to fail.  At this time, the bug has 23 duplicates, 
and there is a steady trickle of reports from affected users on Lucid and other 
old releases.
+ 
+ While there are no reverse dependencies, Apt reports the upgrade as
+ failed, and dpkg reports broken packages.
+ 
+ [Development Fix]
+ Package 5.7.1-2 contains this patch:
+ 
+ --- global-5.7.1/debian/global.postinst
+ +++ global-5.7.1/debian/global.postinst
+ @@ -2,7 +2,7 @@
+  set -e
+  if [ "$1" = "configure" ];
+  then
+ -     HOST=`hostname --fqdn`
+ +     HOST=$(hostname --fqdn) || HOST="localhost"
+       htconfig -I -a http://${HOST}/cgi-bin/gsearch.cgi -p 
/var/lib/gsearch/pathdata /usr/lib/cgi-bin
+  fi
+ 
+ The only other change is 5.7.1-2 is an update of the Depends: in the
+ control file.
+ 
+ [Stable Fix]
+ See [Development Fix]
+ 
+ [Test Case]
+ The postinst script should succeed on a system where /etc/hostname contains 
an unqualified hostname.
+ 
+ [Regression Potential]
+ Fail to identify how this could be harmful.  (They all say that, don't they?)
+ 
  ProblemType: Package
  Architecture: i386
  Dependencies:
-  libgcc1 1:4.3.3-5ubuntu4
-  gcc-4.3-base 4.3.3-5ubuntu4
-  findutils 4.4.0-2ubuntu4
-  libc6 2.9-4ubuntu6
+  libgcc1 1:4.3.3-5ubuntu4
+  gcc-4.3-base 4.3.3-5ubuntu4
+  findutils 4.4.0-2ubuntu4
+  libc6 2.9-4ubuntu6
  DistroRelease: Ubuntu 9.04
  ErrorMessage:
-  ErrorMessage: subprocess post-installation script returned error exit status 
1
+  ErrorMessage: subprocess post-installation script returned error exit status 
1
  Package: global 5.7.1-1
  SourcePackage: global
  Title: package global 5.7.1-1 failed to install/upgrade:
  Uname: Linux 2.6.27-14-generic i686

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/398009

Title:
  global: pkg fails to configure if FQDN unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/global/+bug/398009/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to