/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

  • Committer: Teddy Hogeborn
  • Date: 2026-05-17 23:05:07 UTC
  • Revision ID: teddy@recompile.se-20260517230507-9wgmlfdydkxndwko
Add systemd dependency on dbus.socket

If the Mandos server is installed at the exact same time that the
D-Bus daemon is being installed, it is possible that the D-Bus daemon
is installed, but, crucially, not configured or started, when the
Mandos server is started.  This makes the Mandos server fail to start,
since it can't connect to the D-Bus system bus.  This is only a
problem at that first install time; if the system is restarted,
everything works.  I.e. it is not a problem in the most common case
where the Mandos server is installed after the D-Bus server has
already been installed and is running.

However, it can sometimes be a problem.  In particular, this seems to
be a problem on the Debian CI servers, which installs all required
packages at the same time.

For Debian packages, for strict dependencies, there is a solution for
this in the "Pre-Depends" header in the Debian package "control" file
(deb-control(5)).  There is, however, no such analogous thing for
non-strict dependencies.  The Mandos server does not have a strict
dependency on a D-Bus daemon (since a Mandos server can be configured
to run without using D-Bus at all), so we do not want to introduce
such a dependency.  Debian package dependencies are hard for system
administrators to override, but a systemd service options are
relatively easy to overide.

Therefore, as far as I know, adding this systemd dependency is all we
can do, currently.

* mandos.service ([Unit]/After): Add "dbus.socket".
Filename Latest Rev Last Changed Committer Comment Size
..
po 199 17 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c Diff
source 452.1.1 15 years ago Teddy Hogeborn * debian/source/format: New; contains "3.0 (quilt) Diff
tests 1116 6 years ago Teddy Hogeborn Debian package change: Add autopkgtest support * Diff
upstream 678 12 years ago Teddy Hogeborn Fix location and format of signing key file. * de Diff
changelog 237.4.146 11 months ago Teddy Hogeborn Version 1.8.19-1 * Makefile (version): Change to 43.8 KB Diff Download File
compat 921 8 years ago Teddy Hogeborn Update Debian Debhelper compatibility version. * 3 bytes Diff Download File
control 1320 11 months ago Teddy Hogeborn Update Debian Policy version to 4.7.2; no other ch 3.1 KB Diff Download File
copyright 1325 1 month ago Teddy Hogeborn debian/copyright: Describe files' copyright and li 2.1 KB Diff Download File
mandos-client.dirs 1292 1 year ago Teddy Hogeborn Do not hardcode directory names; get them from pkg 229 bytes Diff Download File
mandos-client.docs 594 14 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 17 bytes Diff Download File
mandos-client.examples 594 14 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 16 bytes Diff Download File
mandos-client.links 191 17 years ago Teddy Hogeborn * debian/mandos-client.docs: New. Add README and 93 bytes Diff Download File
mandos-client.lintian-overrides 1326 1 month ago Teddy Hogeborn Fix kernel command line option "mandos=connect:<ip 3.8 KB Diff Download File
mandos-client.postinst 1288 1 year ago Teddy Hogeborn Fix #1079588 by not outputting to stdout in mainta 6.5 KB Diff Download File
mandos-client.postrm 1288 1 year ago Teddy Hogeborn Fix #1079588 by not outputting to stdout in mainta 1.6 KB Diff Download File
mandos-client.README.Debian 1279 1 year ago Teddy Hogeborn Document how to add options to mandos-client when 5.1 KB Diff Download File
mandos-client.templates 1226 5 years ago teddy at recompile Fix debconf template syntax * debian/mandos-cli 813 bytes Diff Download File
mandos.dirs 1292 1 year ago Teddy Hogeborn Do not hardcode directory names; get them from pkg 111 bytes Diff Download File
mandos.docs 423 15 years ago Teddy Hogeborn Documentation changes: * DBUS-API: New file docum 26 bytes Diff Download File
mandos.lintian-overrides 1295 1 year ago Teddy Hogeborn Change to new lintian override syntax Lintian has 705 bytes Diff Download File
mandos.maintscript 1275 3 years ago Teddy Hogeborn Move D-Bus policy file to /usr/share/dbus-1/sessio 55 bytes Diff Download File
mandos.postinst 1158 6 years ago Teddy Hogeborn Debian package: Only reload dbus daemon if necessa 3.8 KB Diff Download File
mandos.prerm 770 10 years ago Teddy Hogeborn * debian/mandos.prerm: Don't run init script, use 759 bytes Diff Download File
mandos.README.Debian 505.1.2 14 years ago Teddy Hogeborn Change "fukt.bsnet.se" to "recompile.se" throughou 445 bytes Diff Download File
mandos.templates 1225 5 years ago Teddy Hogeborn Revert commit 1222 1.2 KB Diff Download File
File rules 1292 1 year ago Teddy Hogeborn Do not hardcode directory names; get them from pkg 2.5 KB Diff Download File
watch 976 7 years ago Teddy Hogeborn Fix Debian watch file * debian/watch: Make the ". 112 bytes Diff Download File