upstartism in the maintainer script

Bug #1424508 reported by Dimitri John Ledkov
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squid3 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

case "$1" in
 remove|remove-in-favour|deconfigure-in-favour)
  #
  # Stop the daemon
  #
  if status squid3 | grep "start/running" > /dev/null; then
   stop squid3
  fi
  ;;
 upgrade|failed-upgrade)
  ;;
esac

Fails / blocks for a while under systemd.

Seems redundant, as later:

# Automatically added by dh_installinit
if [ -x "/etc/init.d/squid3" ] || [ -e "/etc/init/squid3.conf" ]; then
 invoke-rc.d squid3 stop || exit $?
fi

Is executed.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: squid3 (not installed)
ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
Uname: Linux 3.18.0-9-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Feb 23 02:53:50 2015
InstallationDate: Installed on 2013-08-29 (542 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130829)
SourcePackage: squid3
UpgradeStatus: Upgraded to vivid on 2014-11-16 (98 days ago)

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
tags: added: systemd-boot
Robie Basak (racb)
Changed in squid3 (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-15.04
Revision history for this message
Oleg Strikov (strikov-deactivatedaccount) wrote :

I prepared debdiff for vivid-proposed (attached) and currently looking for sponsorship.

Revision history for this message
Oleg Strikov (strikov-deactivatedaccount) wrote :

I prepared debdiff for vivid-release (attached) and currently looking for sponsorship.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "lp-1424508-proposed.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Oleg Strikov (strikov-deactivatedaccount) wrote :

My reprocase can be found here: http://paste.ubuntu.com/10538557/

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

You should not specify my name, as it makes it appear as if the changes are by me, and you are simply applying a patch that I sent you. This is not the case. Please drop [ Dimitri John Ledkov ].

Revision history for this message
Oleg Strikov (strikov-deactivatedaccount) wrote :

Thanks for pointing that.
Done.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Seems there has been some uploads today on squid3, adapting the changelog to it and sponsored, many thanks!

Changed in squid3 (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package squid3 - 3.3.8-1ubuntu13

---------------
squid3 (3.3.8-1ubuntu13) vivid; urgency=medium

  * d/squid3.prerm: Removed redundant upstart-only code. Equivalent
    operations are carried out by debhelper-generated code in a more
    generic manner. (LP: #1424508)
 -- Oleg Strikov <email address hidden> Thu, 05 Mar 2015 14:24:33 +0300

Changed in squid3 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.