Bug#369893: openssh-server: Allow start-stop-daemon options in /etc/default/ssh (for example: --nicelevel)
Package: openssh-server
Version: 1:4.3p2-2
Severity: wishlist
Currently, administrators who wish to change the startup priority of daemons like ssh need to be modify the stock /etc/init.d script.
start-stop-daemon supports some options like --nicelevel (changing the startup priority).
One suggestion is to include an add'l /etc/default/ssh options similar to SSHD_OPTS= (perhaps SSHD_START_OPTS=)
This could be sourced and included in the start/reload/restart sections of the /etc/init.d/ssh file, before the SSHD_OPTS are included.
IMHO, this would be a great feature for almost any package with an init script and /etc/default file.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.19-i386smp-ipt
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages openssh-server depends on:
ii adduser 3.87 Add and remove users and groups
ii debconf [debc 1.5.1 Debian configuration management sy
ii dpkg 1.13.19 package maintenance system for Deb
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libcomerr2 1.38+1.39-WIP-2006.04.09-2 common error description library
ii libkrb53 1.4.3-7 MIT Kerberos runtime libraries
ii libpam-module 0.79-3.1 Pluggable Authentication Modules f
ii libpam-runtim 0.79-3.1 Runtime support for the PAM librar
ii libpam0g 0.79-3.1 Pluggable Authentication Modules l
ii libselinux1 1.30-1 SELinux shared libraries
ii libssl0.9.8 0.9.8b-2 SSL shared libraries
ii libwrap0 7.6.dbs-9 Wietse Venema's TCP wrappers libra
ii openssh-clien 1:4.3p2-2 Secure shell client, an rlogin/rsh
ii zlib1g 1:1.2.3-11 compression library - runtime
openssh-server recommends no packages.
-- debconf information:
ssh/insecure_rshd:
ssh/insecure_telnetd:
ssh/new_config: true
* ssh/use_old_init_script: true
ssh/encrypted_host_key_but_no_keygen:
ssh/disable_cr_auth: false
Reply to: