Project

General

Profile

Actions

Bug #5144

closed

OpenSSH Technique cannot configure SSH Server on boot on Debian 3 and 4 - branch 2.9

Added by Nicolas CHARLES almost 10 years ago. Updated over 8 years ago.

Status:
Released
Priority:
1
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

On Debian 3 and 4, the command used to configure OpenSSHServer on boot fails

2014-06-25T18:42:48+0200     info: /rudder_openssh_server/methods/'any'/rudder_openssh_server_configuration/commands/'${rudder_openssh_server_startup_init_activation_command}': Finished command related to promiser '/usr/sbin/update-rc.d ssh remove && /usr/sbin/update-rc.d ssh defaults' -- an error occurred, returned 1
2014-06-25T18:42:48+0200  verbose: Defining promise result class 'rudder_openssh_server_activated_on_boot_error'
2014-06-25T18:42:48+0200   notice: Q: "...pdate-rc.d ssh ": update-rc.d: /etc/init.d/ssh exists during rc.d purge (use -f to force)

The right solution is to add -f in the update-rc.d

Actions

Also available in: Atom PDF