Project

General

Profile

Actions

Bug #3176

closed

rsyslog "reload" no longer exists on debian wheezy, making rudder server 2.4/2.5 is not installable from packages

Added by Jean Remond almost 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

On a fresh install of debian wheezy :
root@rudder:~# apt-get install rudder-server-root
Reading package lists... Done
Building dependency tree
Reading state information... Done
rudder-server-root is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 101 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up rudder-inventory-endpoint (2.5.0~beta1-wheezy0) ...
Usage: /etc/init.d/rsyslog {start|stop|rotate|restart|force-reload|status}
invoke-rc.d: initscript rsyslog, action "reload" failed.
dpkg: error processing rudder-inventory-endpoint (--configure):
subprocess installed post-installation script returned error exit status 3
Setting up rudder-reports (2.5.0~beta1-wheezy0) ...
Usage: /etc/init.d/rsyslog {start|stop|rotate|restart|force-reload|status}
invoke-rc.d: initscript rsyslog, action "reload" failed.
dpkg: error processing rudder-reports (--configure):
subprocess installed post-installation script returned error exit status 3
dpkg: dependency problems prevent configuration of rudder-webapp:
rudder-webapp depends on rudder-inventory-endpoint (= 2.5.0~beta1-wheezy0); however:
Package rudder-inventory-endpoint is not configured yet.
rudder-webapp depends on rudder-reports (= 2.5.0~beta1-wheezy0); however:
Package rudder-reports is not configured yet.

dpkg: error processing rudder-webapp (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rudder-server-root:
rudder-server-root depends on rudder-webapp (= 2.5.0~beta1-wheezy0); however:
Package rudder-webapp is not configured yet.

dpkg: error processing rudder-server-root (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
rudder-inventory-endpoint
rudder-reports
rudder-webapp
rudder-server-root
E: Sub-process /usr/bin/dpkg returned an error code (1)

root@rudder:~# dpkg -l rudder*
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description
+++-======================================-========================-========================-==================================================================================
ii rudder-agent 2.5.0~beta1-wheezy0 amd64 Configuration management and audit tool - agent
un rudder-cfengine-community <none> (no description available)
iF rudder-inventory-endpoint 2.5.0~beta1-wheezy0 all Configuration management and audit tool - service to receive inventory data
ii rudder-inventory-ldap 2.5.0~beta1-wheezy0 amd64 Configuration management and audit tool - OpenLDAP
ii rudder-jetty 2.5.0~beta1-wheezy0 all Configuration management and audit tool - Jetty application server
un rudder-policy-templates <none> (no description available)
iF rudder-reports 2.5.0~beta1-wheezy0 all Configuration management and audit tool - reports database
iU rudder-server-root 2.5.0~beta1-wheezy0 all Configuration management and audit tool - root server base package
ii rudder-techniques 2.5.0~beta1-wheezy0 all Configuration management and audit tool - techniques
iU rudder-webapp 2.5.0~beta1-wheezy0 all Configuration management and audit tool - webapp
root@rudder:~# grep reload /var/lib/dpkg/info/rudder-*
/var/lib/dpkg/info/rudder-inventory-endpoint.postinst: invoke-rc.d rsyslog reload
/var/lib/dpkg/info/rudder-reports.postinst: invoke-rc.d rsyslog reload
/var/lib/dpkg/info/rudder-webapp.postinst: invoke-rc.d rsyslog reload
root@rudder:~#

The init script of rsyslog does not include reload action.

Workaround :
sed i 's/reload/restart/' /var/lib/dpkg/info/rudder*

Pull request: https://github.com/Normation/rudder-packages/pull/11


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #3900: Postinstall script of rudder-inventory-endpoint display a warning about fail of rsyslog restart at first install on RHEL/CentOSReleasedJonathan CLARKE2013-09-03Actions
Actions

Also available in: Atom PDF