[Bug 1227420] Re: apt-xapian-index's postinst runs a background process which causes automation problems

OpenStack Infra 1227420 at bugs.launchpad.net
Thu Sep 19 00:33:37 UTC 2013


Reviewed:  https://review.openstack.org/47293
Committed: http://github.com/openstack/diskimage-builder/commit/2d70812e81a6e807dcf4c2336f93f65f5e5ecf36
Submitter: Jenkins
Branch:    master

commit 2d70812e81a6e807dcf4c2336f93f65f5e5ecf36
Author: Clint Byrum <clint at fewbar.com>
Date:   Wed Sep 18 17:22:59 2013 -0700

    Remove apt-xapian-index from ubuntu cloud images
    
    This package recently caused us some very large headaches when it
    was updated for a security issue. It is completely unnecessary and
    should be removed.
    
    Note that we have recommended that it be removed from the cloud images
    in launchpad bug #1227425.
    
    fixes bug #1227420
    
    Change-Id: Ic0d4efa7b44c46271d19576f5191c9421d07c015


** Changed in: diskimage-builder
       Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-xapian-index in Ubuntu.
https://bugs.launchpad.net/bugs/1227420

Title:
  apt-xapian-index's postinst runs a background process which causes
  automation problems

Status in Openstack disk image builder:
  Fix Committed
Status in “apt-xapian-index” package in Ubuntu:
  New

Bug description:
  The postinst starts the index update in the background using the '&'
  shell operator. This seems sloppy to me, and it leaves things running
  after apt-get has exitted which causes problems for automated systems.
  Specifically this broke diskimage-builder
  (https://git.openstack.org/cgit/diskimage-builder) in really awful
  ways when apt-xapian-index was updated.

  This is a violation of policy IMO, as the script should run invoke-
  rc.d. The use of policy-rc.d directly seems improper.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: apt-xapian-index 0.45ubuntu2
  ProcVersionSignature: Ubuntu 3.8.0-30.44-generic 3.8.13.6
  Uname: Linux 3.8.0-30-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  Date: Wed Sep 18 17:02:22 2013
  InstallationDate: Installed on 2013-01-14 (247 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64+mac (20121017.3)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: apt-xapian-index
  UpgradeStatus: Upgraded to raring on 2013-04-30 (141 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/diskimage-builder/+bug/1227420/+subscriptions



More information about the foundations-bugs mailing list