Actions
Bug #2879
closedSome init scripts installed on a Rudder server don't have LSB headers
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
As explained by Gonéri in #2735 :
/etc/init.d/cfengine-community, /etc/init.d/slapd, /etc/init.d/jetty init scripts don't have LSB headers here.
root@srv00015:~# dpkg -l|grep rudder ii rudder-cfengine-community 2.3.8-squeeze0 Configuration management and audit tool - CFEngine server component ii rudder-inventory-endpoint 2.3.8-squeeze0 Configuration management and audit tool - service to receive inventory data ii rudder-inventory-ldap 2.3.8-squeeze0 Configuration management and audit tool - OpenLDAP ii rudder-jetty 2.3.8-squeeze0 Configuration management and audit tool - Jetty application server ii rudder-policy-templates 2.3.8-squeeze0 Configuration management and audit tool - policy templates ii rudder-reports 2.3.8-squeeze0 Configuration management and audit tool - reports database ii rudder-server-root 2.3.8-squeeze0 Configuration management and audit tool - root server base package ii rudder-webapp 2.3.8-squeeze0 Configuration management and audit tool - webapp
root@srv00015:~# for i in `dpkg -l|grep rudder|awk '{print $2}'`; do dpkg -L $i ; done|grep '/etc/init.d/'|xargs head -n 10 ==> /etc/init.d/cfengine-community <== #!/bin/bash #==================================================================== # Start/stop script for Cfengine Community # (http://www.cfengine.org). # # chkconfig: 2345 85 15 # description: Cfengine Community # ### BEGIN INIT INFO ==> /etc/init.d/slapd <== #!/bin/sh #==================================================================== # Start/stop script for OpenLDAP (2.2 minimum) # (http://www.openldap.org). # Use BerkeleyDB utilities and save data in LDIF format. # # chkconfig: 2345 85 15 # description: OpenLDAP # ==> /etc/init.d/jetty <== #!/usr/bin/env bash # # Startup script for jetty under *nix systems (it works under NT/cygwin too). # To get the service to restart correctly on reboot, uncomment below (3 lines): # ======================== # chkconfig: 3 99 99 # description: Jetty 7 webserver # processname: jetty # ======================== ==> /etc/init.d/rudder-server-root <== #!/bin/sh #============================================== # Start/stop script for all Rudder components # #============================================== # ### BEGIN INIT INFO # Provides: rudder # Required-Start: $local_fs $remote_fs $network $syslog # Required-Stop: $local_fs $remote_fs $network $syslog
Actions