package rsyslog 4.2.0-2ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
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
ProcVersionSign
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 : | #1 |
Michael Vogt (mvo) wrote : | #2 |
Michael Vogt (mvo) wrote : | #3 |
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 : | #4 |
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 : | #5 |
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 : | #6 |
(smarter upstart logic upon upgrading will happen in the Lucid cycle, Keybuk assures me)
Launchpad Janitor (janitor) wrote : | #7 |
[Expired for rsyslog (Ubuntu) because there has been no activity for 60 days.]
Changed in rsyslog (Ubuntu): | |
status: | Incomplete → Expired |
Here is the error:
Setting up rsyslog (4.2.0-2ubuntu5) ...^M d/rsyslog ...^M
Installing new version of config file /etc/logrotate.
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