/mandos/trunk

To get this branch, use:
bzr branch http://term.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
..
ca.po 1322 8 months ago Teddy Hogeborn From: Carles Pina i Estany <carles@pina.cat> Add 5.8 KB Diff Download File
de.po 1155 6 years ago Teddy Hogeborn From: Chris Leick <c.leick@vollbio.de> Add German 5.9 KB Diff Download File
en_US.po 1150 6 years ago Teddy Hogeborn Create a debconf translation file * debian/mandos 5.4 KB Diff Download File
es.po 1260 4 years ago Teddy Hogeborn From: Camaleón <noelamac@gmail.com> Add Spanish d 5.8 KB Diff Download File
fr.po 1270 3 years ago Teddy Hogeborn Fix issue with french translation Initial white s 5.9 KB Diff Download File
nl.po 1194 6 years ago teddy at recompile From: Frans Spiesschaert <Frans.Spiesschaert@yucom 5.8 KB Diff Download File
POTFILES.in 1128 6 years ago Teddy Hogeborn Add debconf translation support * debian/mandos-c 93 bytes Diff Download File
pt.po 1180 6 years ago Teddy Hogeborn From: Américo Monteiro <a_monteiro@gmx.com> Add P 5.7 KB Diff Download File
pt_BR.po 1269 3 years ago Teddy Hogeborn From: Paulo Henrique de Lima Santana <phls@debian. 5.8 KB Diff Download File
sv.po 1157 6 years ago Teddy Hogeborn Add Swedish debconf translation * debian/po/sv.po 5.7 KB Diff Download File
templates.pot 1150 6 years ago Teddy Hogeborn Create a debconf translation file * debian/mandos 3.5 KB Diff Download File