Bug #3176
closedrsyslog "reload" no longer exists on debian wheezy, making rudder server 2.4/2.5 is not installable from packages
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
Updated by Nicolas CHARLES almost 12 years ago
- Category set to 11
- Status changed from New to 8
- Assignee set to Matthieu CERDA
- Priority changed from N/A to 1 (highest)
Matthieu, could you work on this one asap ?
Thanks
Updated by Matthieu CERDA almost 12 years ago
- Status changed from 8 to In progress
- Target version changed from 2.5.0~rc1 to 2.4.3
This bug is likely to impact Rudder 2.4, retargetting.
I'm on it.
Updated by Matthieu CERDA almost 12 years ago
I confirm that Debian Wheezy ceased to support reload as a rsyslog init.d script invocation target.
Updated by Matthieu CERDA almost 12 years ago
- Description updated (diff)
- Status changed from In progress to Pending technical review
- % Done changed from 0 to 100
Pull request sent here: https://github.com/Normation/rudder-packages/pull/11
Updated by Jonathan CLARKE almost 12 years ago
- Status changed from Pending technical review to Pending release
Matthieu CERDA wrote:
Pull request sent here: https://github.com/Normation/rudder-packages/pull/11
Great stuff, merged.
Updated by Matthieu CERDA almost 12 years ago
Applied in changeset commit:f161feca6f0005506e22834f1b11bf2a64ea4f0e.
Updated by Jonathan CLARKE almost 12 years ago
Applied in changeset commit:65c5712b688b425d5bd78f76b3435eda83f7f93a.
Updated by Jonathan CLARKE almost 12 years ago
- Subject changed from rudder server 2.5 is not installable from packages on debian wheezy to rsyslog "reload" no longer exists on debian wheezy, making rudder server 2.4/2.5 is not installable from packages
Updated by Jonathan CLARKE almost 12 years ago
Applied in changeset commit:43a11015065d17a3f7a77ecdbdef1b1b13c5d597.
Updated by Nicolas PERRON almost 12 years ago
- Status changed from Pending release to Released
Updated by Nicolas PERRON almost 12 years ago
- Project changed from Rudder to 34
- Category deleted (
11)
Updated by Benoît PECCATTE almost 10 years ago
- Project changed from 34 to Rudder
- Category set to Packaging