]> gitweb.fluxo.info Git - puppet-sshd.git/log
puppet-sshd.git
12 years agoreplaces shared-lsb by puppetlabs/stdlib
Tomas Barton [Sun, 26 Jan 2014 08:36:35 +0000 (09:36 +0100)]
replaces shared-lsb by puppetlabs/stdlib

12 years agoadjust readme
mh [Sun, 26 Jan 2014 14:33:18 +0000 (15:33 +0100)]
adjust readme

12 years agofix broken tests
mh [Sun, 26 Jan 2014 14:25:48 +0000 (15:25 +0100)]
fix broken tests

These tests were broken before, because they didn't mock the right
method.

12 years agoremoved files directory
Tomas Barton [Sat, 25 Jan 2014 18:08:49 +0000 (19:08 +0100)]
removed files directory

12 years agotesting infastructure, rspec tests
Tomas Barton [Sat, 25 Jan 2014 18:08:04 +0000 (19:08 +0100)]
testing infastructure, rspec tests

12 years agoMerge pull request #5 from deric/master
duritong [Sat, 25 Jan 2014 14:19:05 +0000 (06:19 -0800)]
Merge pull request #5 from deric/master

removed global variables from readme

12 years agodefault values formatting
Tomas Barton [Sat, 25 Jan 2014 12:41:08 +0000 (13:41 +0100)]
default values formatting

12 years agoformatting
Tomas Barton [Sat, 25 Jan 2014 12:30:49 +0000 (13:30 +0100)]
formatting

12 years agoremoved global variables from documentation, converted to markdown
Tomas Barton [Sat, 25 Jan 2014 12:23:27 +0000 (13:23 +0100)]
removed global variables from documentation, converted to markdown

12 years agono need to have these quotes
mh [Wed, 4 Dec 2013 21:57:47 +0000 (22:57 +0100)]
no need to have these quotes

12 years agofix deprecation warning 'Puppet::Util.execute is deprecated; please use Puppet::Util...
mh [Wed, 4 Dec 2013 21:54:44 +0000 (22:54 +0100)]
fix deprecation warning 'Puppet::Util.execute is deprecated; please use Puppet::Util::Execution.execute'

12 years agounify centos sshd config and update it to latest upstream
mh [Fri, 29 Nov 2013 10:17:31 +0000 (11:17 +0100)]
unify centos sshd config and update it to latest upstream

12 years agoget ecdsa host keys in Debian Wheezy
kwadronaut [Fri, 8 Nov 2013 20:59:25 +0000 (21:59 +0100)]
get ecdsa host keys in Debian Wheezy

12 years agoBack to hmac-sha1 as hmac-sha2-512 prevented squeeze systems to connect
Silvio Rhatto [Sat, 20 Jul 2013 15:43:46 +0000 (12:43 -0300)]
Back to hmac-sha1 as hmac-sha2-512 prevented squeeze systems to connect

12 years agoRollback: hmac-sha2-512 is just supported on newer systems
Silvio Rhatto [Tue, 16 Jul 2013 18:38:34 +0000 (15:38 -0300)]
Rollback: hmac-sha2-512 is just supported on newer systems

12 years agoOpenSSH HMAC: SHA1 -> SHA2-512 (suggested by duraconf)
Silvio Rhatto [Tue, 16 Jul 2013 18:26:56 +0000 (15:26 -0300)]
OpenSSH HMAC: SHA1 -> SHA2-512 (suggested by duraconf)

12 years agorather match the correct service than the parent pid
mh [Wed, 29 May 2013 21:46:37 +0000 (23:46 +0200)]
rather match the correct service than the parent pid

the last approach only matched if someone was logged in
with ssh. :/

12 years agoNagios disabled by default
Yoann Laissus [Sun, 26 May 2013 11:31:27 +0000 (13:31 +0200)]
Nagios disabled by default

12 years agoon newer puppet version the openbsd service provider changed slightly making this...
mh [Mon, 20 May 2013 18:43:51 +0000 (20:43 +0200)]
on newer puppet version the openbsd service provider changed slightly making this necessary

12 years agoMerge remote-tracking branch 'githubmirror/master'
mh [Mon, 4 Feb 2013 20:41:05 +0000 (21:41 +0100)]
Merge remote-tracking branch 'githubmirror/master'

12 years agoMerge pull request #2 from mmoll/style
duritong [Mon, 4 Feb 2013 20:40:26 +0000 (12:40 -0800)]
Merge pull request #2 from mmoll/style

style fixes

12 years agostyle fixes
Michael Moll [Sat, 2 Feb 2013 23:30:54 +0000 (00:30 +0100)]
style fixes

silence puppet-lint

13 years agoAvoiding UTF-8 string due to puppet issue #11860
Silvio Rhatto [Sun, 20 Jan 2013 23:13:01 +0000 (21:13 -0200)]
Avoiding UTF-8 string due to puppet issue #11860

13 years agoMerge branch 'master' of git://labs.riseup.net/shared-sshd
Silvio Rhatto [Thu, 17 Jan 2013 23:43:33 +0000 (21:43 -0200)]
Merge branch 'master' of git://labs.riseup.net/shared-sshd

Conflicts:
templates/sshd_config/Ubuntu_precise.erb

13 years agoREADME upgrade notice
varac [Tue, 8 Jan 2013 23:01:15 +0000 (00:01 +0100)]
README upgrade notice

13 years agoMerge commit '42fce2a4576dd97a270d4d875531b39920655edb'
mh [Wed, 2 Jan 2013 15:02:48 +0000 (16:02 +0100)]
Merge commit '42fce2a4576dd97a270d4d875531b39920655edb'

13 years agoMerge remote-tracking branch 'shared/master'
mh [Wed, 2 Jan 2013 14:53:41 +0000 (15:53 +0100)]
Merge remote-tracking branch 'shared/master'

13 years agoadded Ubuntu precise support
nadir [Wed, 7 Nov 2012 17:17:27 +0000 (18:17 +0100)]
added Ubuntu precise support

13 years agofix variable name
mh [Sun, 26 Aug 2012 17:10:26 +0000 (19:10 +0200)]
fix variable name

13 years agocorrect variable naming
mh [Mon, 18 Jun 2012 20:43:42 +0000 (17:43 -0300)]
correct variable naming

13 years agomigrate away from hiera stuff
mh [Thu, 14 Jun 2012 00:52:44 +0000 (21:52 -0300)]
migrate away from hiera stuff

13 years agorecmkdir is gone
mh [Fri, 8 Jun 2012 16:17:23 +0000 (13:17 -0300)]
recmkdir is gone

13 years agonew style for 2.7
mh [Tue, 5 Jun 2012 21:46:39 +0000 (18:46 -0300)]
new style for 2.7

13 years agonew style for 2.7
mh [Tue, 5 Jun 2012 21:23:03 +0000 (18:23 -0300)]
new style for 2.7

13 years agoAdding precise template
Silvio Rhatto [Wed, 9 May 2012 16:05:00 +0000 (13:05 -0300)]
Adding precise template

13 years agoAdding sshd_config for oneiric
Silvio Rhatto [Fri, 3 Feb 2012 17:10:42 +0000 (15:10 -0200)]
Adding sshd_config for oneiric

14 years agoremove legacy facts
mh [Fri, 29 Jul 2011 17:35:00 +0000 (19:35 +0200)]
remove legacy facts

14 years agoMerge remote-tracking branch 'shared/master'
mh [Fri, 29 Jul 2011 17:31:41 +0000 (19:31 +0200)]
Merge remote-tracking branch 'shared/master'

14 years agoAdding PrintMotd parameter to all templates and setting per-distro default value
Silvio Rhatto [Thu, 21 Jul 2011 14:01:33 +0000 (11:01 -0300)]
Adding PrintMotd parameter to all templates and setting per-distro default value

14 years agoDocument the $sshd_shared_ip variable in the README
Gabriel Filion [Sun, 17 Jul 2011 04:38:25 +0000 (00:38 -0400)]
Document the $sshd_shared_ip variable in the README

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
14 years agoDocument the $sshd_print_motd variable in the README
Gabriel Filion [Sun, 17 Jul 2011 04:28:54 +0000 (00:28 -0400)]
Document the $sshd_print_motd variable in the README

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
14 years agoProvide a default value for $sshd_shared_ip in sshd::client
Gabriel Filion [Sun, 17 Jul 2011 04:21:44 +0000 (00:21 -0400)]
Provide a default value for $sshd_shared_ip in sshd::client

Since it's possible to "include sshd::client" without using "include
sshd" (e.g. installing/managing ssh client but not the server) provide a
default value for $sshd_shared_ip also in the sshd::client class.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
14 years agoClean out $ssh_use_strong_ciphers
Gabriel Filion [Sun, 17 Jul 2011 03:49:11 +0000 (23:49 -0400)]
Clean out $ssh_use_strong_ciphers

A tentative option from rhatto using the variable named
$ssh_use_strong_ciphers still has two lines in init.pp

Since the same functionality is provided by the variable
$ssh_hardened_ssl that was merged in the shared repository, rhatto
removed his feature. But there are still two lines left, so simply
remove them.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
14 years agoEnable $ssh_hardened_ssl for FreeBSD
Gabriel Filion [Sun, 17 Jul 2011 03:45:24 +0000 (23:45 -0400)]
Enable $ssh_hardened_ssl for FreeBSD

It is the only sshd_config template that didn't have this option, so
copy it from the other templates.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
14 years agoUpdating FreeBSD template for new sshd_ports variable
Silvio Rhatto [Thu, 14 Jul 2011 16:15:27 +0000 (13:15 -0300)]
Updating FreeBSD template for new sshd_ports variable

14 years agoRemoving sshd_use_strong_ciphers parameter as sshd_hardened_ssl does the job
Silvio Rhatto [Wed, 13 Jul 2011 21:41:59 +0000 (18:41 -0300)]
Removing sshd_use_strong_ciphers parameter as sshd_hardened_ssl does the job

14 years agoMerge branch 'master' of git://labs.riseup.net/shared-sshd
Silvio Rhatto [Wed, 13 Jul 2011 21:39:18 +0000 (18:39 -0300)]
Merge branch 'master' of git://labs.riseup.net/shared-sshd

14 years agoMerge remote-tracking branch 'lelutin/freebsd'
Micah Anderson [Tue, 21 Jun 2011 15:46:42 +0000 (11:46 -0400)]
Merge remote-tracking branch 'lelutin/freebsd'

14 years agoMerge branch 'feature/debian_wheezy'
intrigeri [Mon, 20 Jun 2011 22:28:44 +0000 (00:28 +0200)]
Merge branch 'feature/debian_wheezy'

14 years agoAdd sshd_config template for Debian Wheezy.
intrigeri [Mon, 20 Jun 2011 18:21:16 +0000 (20:21 +0200)]
Add sshd_config template for Debian Wheezy.

Currently, this is a symlink to the Debian sid's one, which I've recently
resync'd. Once Wheezy is frozen, we'll want to fork its own template.

14 years agoNew opt-in support to only use strong SSL ciphers and MACs.
intrigeri [Sun, 6 Mar 2011 08:10:44 +0000 (09:10 +0100)]
New opt-in support to only use strong SSL ciphers and MACs.

The new configuration variable is $sshd_hardened_ssl.
Settings were stolen from https://github.com/ioerror/duraconf.git.

14 years agowe should pass the architecture to devel packages
mh [Sun, 3 Apr 2011 10:52:46 +0000 (12:52 +0200)]
we should pass the architecture to devel packages

14 years agoChanging strong cipher to aes128-crt
Silvio Rhatto [Wed, 23 Feb 2011 17:46:20 +0000 (14:46 -0300)]
Changing strong cipher to aes128-crt

14 years agoAdding sshd_use_strong_ciphers to all sshd_config templates
Silvio Rhatto [Wed, 23 Feb 2011 17:40:02 +0000 (14:40 -0300)]
Adding sshd_use_strong_ciphers to all sshd_config templates

14 years agoChanging parameter name sshd_perfect_forward_secrecy to sshd_use_strong_ciphers as...
Silvio Rhatto [Wed, 23 Feb 2011 17:25:18 +0000 (14:25 -0300)]
Changing parameter name sshd_perfect_forward_secrecy to sshd_use_strong_ciphers as sshd already does PFS

14 years agoMerge remote-tracking branch 'lelutin/ubuntu'
Micah Anderson [Tue, 22 Feb 2011 21:11:36 +0000 (16:11 -0500)]
Merge remote-tracking branch 'lelutin/ubuntu'

14 years agoFreeBSD: Use variables for the Kerberos options
Gabriel Filion [Mon, 21 Feb 2011 20:18:14 +0000 (15:18 -0500)]
FreeBSD: Use variables for the Kerberos options

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
14 years agoremove HostbasedUsesNameFromPacketOnly yes from Debian sshd_config templates. This...
Micah Anderson [Mon, 21 Feb 2011 17:45:49 +0000 (12:45 -0500)]
remove HostbasedUsesNameFromPacketOnly yes from Debian sshd_config templates. This is not set in the Debian templates by default, and the default is actually no, not yes. If someone wishes to make a configuration variable they can, otherwise head/tail_additional options can be used

14 years agoResync Debian sid template with the Squeeze's one.
intrigeri [Mon, 21 Feb 2011 17:29:25 +0000 (18:29 +0100)]
Resync Debian sid template with the Squeeze's one.

Currently, the only difference is LoginGraceTime, that defaults to 600 in sid.

14 years agoMerge remote branch 'lelutin/debian_template'
intrigeri [Mon, 21 Feb 2011 17:20:46 +0000 (18:20 +0100)]
Merge remote branch 'lelutin/debian_template'

14 years agoUpdating lucid template with new ssh port scheme
Silvio Rhatto [Sat, 19 Feb 2011 20:48:59 +0000 (18:48 -0200)]
Updating lucid template with new ssh port scheme

14 years agoMerge branch 'master' of git://labs.riseup.net/shared-sshd
Silvio Rhatto [Sat, 19 Feb 2011 20:08:02 +0000 (18:08 -0200)]
Merge branch 'master' of git://labs.riseup.net/shared-sshd

Conflicts:
templates/sshd_config/Debian_squeeze.erb

14 years agoUpdate README to include the ssh_keygen function
Micah Anderson [Sat, 19 Feb 2011 19:18:02 +0000 (14:18 -0500)]
Update README to include the ssh_keygen function

14 years agoPull together a more comprehensive README, moving the configurable variables from...
Micah Anderson [Sat, 19 Feb 2011 19:12:04 +0000 (14:12 -0500)]
Pull together a more comprehensive README, moving the configurable variables from init.pp into the README, and detailing the other features, and requirements, of the module

14 years agoMerge remote branch 'shared/master'
intrigeri [Mon, 14 Feb 2011 16:17:31 +0000 (17:17 +0100)]
Merge remote branch 'shared/master'

Conflicts:
templates/sshd_config/Debian_squeeze.erb

I always picked the shared repository version when conflicts arose.
The only exception to this rule was:
I kept my branch's "HostbasedUsesNameFromPacketOnly yes" in order
to be consistent with existing Etch and Lenny templates.
This is not the default Debian setting, but I would find it weird if a host
had this setting changed by Puppet after upgrading to Squeeze.
The right way to proceed would probably be to make this configurable.

14 years agoMerge remote branch 'immerda/master'
intrigeri [Mon, 14 Feb 2011 16:01:04 +0000 (17:01 +0100)]
Merge remote branch 'immerda/master'

14 years agoPerfect forward secrecy config at squeeze template
Silvio Rhatto [Sun, 13 Feb 2011 20:42:36 +0000 (18:42 -0200)]
Perfect forward secrecy config at squeeze template

14 years agoMerge branch 'master' of git://labs.riseup.net/shared-sshd
Silvio Rhatto [Sun, 13 Feb 2011 17:13:10 +0000 (15:13 -0200)]
Merge branch 'master' of git://labs.riseup.net/shared-sshd

15 years agoEnable support for Ubuntu
Gabriel Filion [Mon, 27 Dec 2010 23:24:43 +0000 (18:24 -0500)]
Enable support for Ubuntu

The sshd class currently has a mechanism to make resources for Ubuntu
similar to the ones for Debian, but the sshd::client class doesn't.

Also, There are no templates for sshd_config on Ubuntu so provide for
them. Since Ubuntu releases almost all use ssh versions that are as
recent as the Debian squeeze one, and the default sshd_config file is
usually the same as on Debian, add a default (Ubuntu.erb) template so
that it fits all Ubuntu releases.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
15 years agoAdd sshd_config template for Debian sid
Gabriel Filion [Mon, 31 Jan 2011 02:28:36 +0000 (21:28 -0500)]
Add sshd_config template for Debian sid

Debian's unstable branch currently has no template for sshd_config, and
thus cannot use the sshd class.

Add a template for Debian sid.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
15 years agoFinish fixing ChallengeResponseAuthentication
Gabriel Filion [Mon, 31 Jan 2011 02:24:00 +0000 (21:24 -0500)]
Finish fixing ChallengeResponseAuthentication

This value was hardcoded in both the Debian lenny and etch templates.
The lenny template was fixed with commit 167cf532711ac88 but the etch
template was left out.

Fix the etch template so that the ChallengeResponseAuthentication
instruction is not overridden.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
15 years agossh_authorized_key: use $name for user by default
Gabriel Filion [Thu, 20 Jan 2011 07:25:32 +0000 (02:25 -0500)]
ssh_authorized_key: use $name for user by default

Currently ssh_authorized_key has some logic about $user being false or
'', but it sets its value to default to 'root'.
So, in order to use the name as the user's name, one has to clear the
user parameter, which is totally redundant.

Since it is sometimes useful to publish multiple keys for a user, the
$user parameter is useful.

To make using ssh_authorized_key for one-key normal users simpler, make
$user default to being empty (which will use $name as the user name).
'root' can always be specified either via the name or by the $user
paramter.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
15 years agoFix ssh_authorized_key
Gabriel Filion [Thu, 20 Jan 2011 01:45:59 +0000 (20:45 -0500)]
Fix ssh_authorized_key

When one uses the $name to define the user that should receive an SSH
key, setting $user to a negative value, ssh_authorized_key currently
creates the authorized_keys file under /home/.ssh/authorized_keys

Fix this by changing ${user} to ${real_user} in the key's path.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
15 years agoAdd an sshd_config template for FreeBSD
Gabriel Filion [Wed, 19 Jan 2011 22:13:39 +0000 (17:13 -0500)]
Add an sshd_config template for FreeBSD

Since there is no "catch-all" default configuration file for sshd, we
need to add for each OS.

Add a template for FreeBSD so that sshd can be configured on this OS.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
15 years agoFix inclusion for default os
Gabriel Filion [Wed, 19 Jan 2011 21:41:18 +0000 (16:41 -0500)]
Fix inclusion for default os

When the os of a client is not one of those that use a specialized
class, (e.g. FreeBSD) the inclusion is currently broken: it tries to
include sshd::default which does not exist.

Change this to include sshd::base instead.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
15 years agofix debian squeeze sshd_config template to add a missing newline
Micah Anderson [Mon, 20 Dec 2010 19:18:30 +0000 (14:18 -0500)]
fix debian squeeze sshd_config template to add a missing newline

15 years agoIntroducing perfect forward secrecy for SSH
Silvio Rhatto [Thu, 16 Dec 2010 22:20:53 +0000 (20:20 -0200)]
Introducing perfect forward secrecy for SSH

15 years agodo some trickery as arguments from puppet are passed as an array
mh [Thu, 16 Dec 2010 16:33:04 +0000 (17:33 +0100)]
do some trickery as arguments from puppet are passed as an array

15 years agomade error mesage a bit more verbose
mh [Thu, 16 Dec 2010 16:15:36 +0000 (17:15 +0100)]
made error mesage a bit more verbose

15 years agoremove stupid swap
mh [Thu, 16 Dec 2010 16:12:56 +0000 (17:12 +0100)]
remove stupid swap

15 years agoAdd a function to create ssh keys on the fly
mh [Thu, 16 Dec 2010 15:22:24 +0000 (16:22 +0100)]
Add a function to create ssh keys on the fly

This allows you to use content of ssh keys within your manifests
and generate them automatically if they don't exist yet.

15 years agoremote KerberosGetAFSToken, its actually not a functional configuration option, even...
Micah Anderson [Thu, 16 Dec 2010 01:38:07 +0000 (20:38 -0500)]
remote KerberosGetAFSToken, its actually not a functional configuration option, even though it is listed in the man page, and commented out in the default config file. I filed a bug with debian (#607238)

15 years ago"ChallengeResponseAuthentication no" was being hardcoded later in the Debian Lenny...
Micah Anderson [Tue, 14 Dec 2010 18:41:05 +0000 (13:41 -0500)]
"ChallengeResponseAuthentication no" was being hardcoded later in the Debian Lenny sshd_config template, even though we offer it as a variable. With this commit, the variable will actually work, rather than be overriden

15 years agoadd Debian Squeeze sshd template. Enabled kerberos and gssapi options, using the...
Micah Anderson [Tue, 14 Dec 2010 18:22:43 +0000 (13:22 -0500)]
add Debian Squeeze sshd template. Enabled kerberos and gssapi options, using the defaults when not specified

15 years agoMention dependency on lsb module.
intrigeri [Sat, 11 Dec 2010 10:34:11 +0000 (11:34 +0100)]
Mention dependency on lsb module.

15 years agolenny already has AcceptEnv by default
mh [Thu, 21 Oct 2010 13:31:31 +0000 (15:31 +0200)]
lenny already has AcceptEnv by default

15 years agouse realport
mh [Thu, 21 Oct 2010 00:49:11 +0000 (02:49 +0200)]
use realport

15 years agouse parametrized class to pass ssh_ports to open up things
mh [Wed, 20 Oct 2010 21:46:14 +0000 (23:46 +0200)]
use parametrized class to pass ssh_ports to open up things

15 years agointroduce that port also can't be the name, fix ensure problem
mh [Wed, 20 Oct 2010 21:12:43 +0000 (23:12 +0200)]
introduce that port also can't be the name, fix ensure problem

15 years agoextend sshd::nagios with ensure param
mh [Wed, 20 Oct 2010 20:57:15 +0000 (22:57 +0200)]
extend sshd::nagios with ensure param

15 years agoadd nagios_check_ssh_hostname to tweak the hostname which whould be monitored, as...
mh [Wed, 20 Oct 2010 19:17:16 +0000 (21:17 +0200)]
add nagios_check_ssh_hostname to tweak the hostname which whould be monitored, as this one might actually differ

15 years agomove define to own class
mh [Wed, 20 Oct 2010 18:56:15 +0000 (20:56 +0200)]
move define to own class

15 years agoBugfix
intrigeri [Mon, 18 Oct 2010 17:13:59 +0000 (19:13 +0200)]
Bugfix

15 years agoMerge remote branch 'nadir/master'
intrigeri [Sun, 17 Oct 2010 00:34:50 +0000 (02:34 +0200)]
Merge remote branch 'nadir/master'

Conflicts:
manifests/init.pp

15 years agoSyntax fix.
intrigeri [Sat, 16 Oct 2010 20:32:25 +0000 (22:32 +0200)]
Syntax fix.

15 years agobugfix
intrigeri [Sat, 16 Oct 2010 19:55:44 +0000 (21:55 +0200)]
bugfix

15 years agobugfix
intrigeri [Sat, 16 Oct 2010 19:54:24 +0000 (21:54 +0200)]
bugfix

15 years agoNew option sshd_ports that obsoletes sshd_port.
intrigeri [Sat, 16 Oct 2010 14:05:00 +0000 (16:05 +0200)]
New option sshd_ports that obsoletes sshd_port.

Backward compatibility is preserved.

15 years agoCleanup templates: sshd_port is guaranteed by init.pp not to be empty.
intrigeri [Sat, 16 Oct 2010 14:01:24 +0000 (16:01 +0200)]
Cleanup templates: sshd_port is guaranteed by init.pp not to be empty.

15 years agosshd service has status and restart commands in post-etch Debian releases.
intrigeri [Wed, 13 Oct 2010 21:48:39 +0000 (23:48 +0200)]
sshd service has status and restart commands in post-etch Debian releases.