package rsyslog 4.2.0-2ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #460876 reported by Seannon on 2009-10-26
58
This bug affects 13 people
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: rsyslog

crashed after upgrading and restarting

ProblemType: Package
Architecture: amd64
Date: Wed Oct 21 13:58:39 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Package: rsyslog 4.2.0-2ubuntu5
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
SourcePackage: rsyslog
Tags: ubuntu-unr
Title: package rsyslog 4.2.0-2ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-9-generic x86_64

Seannon (seannon) wrote :
Michael Vogt (mvo) wrote :

Here is the error:

Setting up rsyslog (4.2.0-2ubuntu5) ...^M
Installing new version of config file /etc/logrotate.d/rsyslog ...^M
Rather than invoking init scripts through /etc/init.d, use the service(8)^M
utility, e.g. service rsyslog restart^M
^M
Since the script you are attempting to invoke has been converted to an^M
Upstart job, you may also use the restart(8) utility, e.g. restart rsyslog^M
restart: Unknown instance: ^M
invoke-rc.d: initscript rsyslog, action "restart" failed.^M
dpkg: error processing rsyslog (--configure):^M
 subprocess installed post-installation script returned error exit status 1^M

Michael Vogt (mvo) wrote :

It looks like that for some reason there is no instance given, upstart will print the instance name for a unknown instance. In this case it seems to be whitespace (a complettely empty one is not accepted by upstart).

Michael Terry (mterry) wrote :

This is the message given when no rsyslog instance is already running when restarting. The bit that restarts rsyslog should probably use '|| true'.

Michael Terry (mterry) wrote :

This is by design... upstart intentionally fails when a restart is requested but the service isn't running. And a package that installs an init file is intentionally restarted. I suspect the debhelper bit that restarts should check first if it's running and not try to restart if not.

Seannon, did you ever manually stop rsyslog or the like?

Changed in rsyslog (Ubuntu):
status: New → Incomplete
Michael Terry (mterry) wrote :

(smarter upstart logic upon upgrading will happen in the Lucid cycle, Keybuk assures me)

Launchpad Janitor (janitor) wrote :

[Expired for rsyslog (Ubuntu) because there has been no activity for 60 days.]

Changed in rsyslog (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers