/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
..
.bzr-builddeb 185 17 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
debian 185 17 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
dracut-module 1127 6 years ago Teddy Hogeborn Add dracut(8) support Add support for the dracut( Diff
network-hooks.d 505.3.10 14 years ago Teddy Hogeborn * network-hooks.d: New directory. * network-hooks. Diff
plugin-helpers 738.1.1 10 years ago Teddy Hogeborn Add a plugin helper directory, available to all pl Diff
plugins.d 13 17 years ago Björn Påhlsson Added following support: Pluginbased client handle Diff
.bzrignore 1301 1 year ago Teddy Hogeborn Ignore some more files * .bzrignore: Ignore "cl", 285 bytes Diff Download File
bugs.xml 821 10 years ago Teddy Hogeborn Add bug reporting information to manual pages * b 539 bytes Diff Download File
clients.conf 1265 3 years ago Teddy Hogeborn Clarify documentation and a comment about GnuTLS v 3.5 KB Diff Download File
common.ent 237.4.146 10 months ago Teddy Hogeborn Version 1.8.19-1 * Makefile (version): Change to 94 bytes Diff Download File
COPYING 24.1.51 17 years ago Björn Påhlsson Added configuration files support for mandos-clien 34.2 KB Diff Download File
DBUS-API 1218 5 years ago teddy at recompile Update copyright year * DBUS-API: Update copyrigh 5.9 KB Diff Download File
dbus-mandos.conf 24.1.186 14 years ago Björn Påhlsson transitional stuff actually working documented cha 820 bytes Diff Download File
default-mandos 185 17 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 174 bytes Diff Download File
init.d-mandos 927 8 years ago Teddy Hogeborn Remove unnecessary text left from old example init 4.2 KB Diff Download File
initramfs-tools-conf 954 7 years ago Teddy Hogeborn Move UMASK setting to more proper place * Makefil 695 bytes Diff Download File
initramfs-tools-conf-hook 1099 7 years ago Teddy Hogeborn Installation: Fix UMASK even if set by some other 647 bytes Diff Download File
File initramfs-tools-hook 1328 3 days ago Teddy Hogeborn Use "IFS= read" in shell scripts In shell scripts 7.7 KB Diff Download File
File initramfs-tools-script 1215 5 years ago teddy at recompile In initramfs-tools boots, only use setsid when ava 4.6 KB Diff Download File
File initramfs-tools-script-stop 956 7 years ago Teddy Hogeborn Set executable permissions on new files * initram 1.8 KB Diff Download File
File initramfs-unpack 1319 10 months ago Teddy Hogeborn Update copyright year * dracut-module/ask-passwor 2.8 KB Diff Download File
INSTALL 1186 6 years ago Teddy Hogeborn INSTALL: Add "-" argument to "su" invocations. 5.8 KB Diff Download File
intro.xml 1259 4 years ago Teddy Hogeborn Update copyright year * debian/copyright: Update 17.9 KB Diff Download File
legalnotice.xml 907 8 years ago Teddy Hogeborn Alter copyright notices slightly. Actual license 1 KB Diff Download File
Makefile 1326 18 days ago Teddy Hogeborn Fix kernel command line option "mandos=connect:<ip 22.8 KB Diff Download File
File mandos 237.4.146 10 months ago Teddy Hogeborn Version 1.8.19-1 * Makefile (version): Change to 148 KB Diff Download File
mandos-clients.conf.xml 1319 10 months ago Teddy Hogeborn Update copyright year * dracut-module/ask-passwor 19.7 KB Diff Download File
File mandos-ctl 237.4.146 10 months ago Teddy Hogeborn Version 1.8.19-1 * Makefile (version): Change to 109 KB Diff Download File
mandos-ctl.xml 1131 6 years ago Teddy Hogeborn Make tests and man page examples match Make the t 17.8 KB Diff Download File
File mandos-keygen 1323 6 months ago Teddy Hogeborn mandos-keygen: Do not strip whitespace from beginn 12.8 KB Diff Download File
mandos-keygen.xml 1323 6 months ago Teddy Hogeborn mandos-keygen: Do not strip whitespace from beginn 16.4 KB Diff Download File
File mandos-monitor 1324 2 months ago Teddy Hogeborn mandos-monitor: Improve checker result messages in 29.5 KB Diff Download File
mandos-monitor.xml 969 7 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 6.3 KB Diff Download File
mandos-options.xml 1123 6 years ago Teddy Hogeborn Use hexadecimal unicode character references, not 5.1 KB Diff Download File
File mandos-to-cryptroot-unlock 1218 5 years ago teddy at recompile Update copyright year * DBUS-API: Update copyrigh 2.5 KB Diff Download File
mandos.conf 777 10 years ago Teddy Hogeborn Bug fix for GnuTLS 3: be compatible with old 2048- 1.6 KB Diff Download File
mandos.conf.xml 1329 3 days ago Teddy Hogeborn Add some missing documentation Add missing docume 9.9 KB Diff Download File
mandos.lsm 237.4.146 10 months ago Teddy Hogeborn Version 1.8.19-1 * Makefile (version): Change to 910 bytes Diff Download File
mandos.service 1330 2 days ago Teddy Hogeborn Add systemd dependency on dbus.socket If the Mand 1.5 KB Diff Download File
mandos.xml 1319 10 months ago Teddy Hogeborn Update copyright year * dracut-module/ask-passwor 24.1 KB Diff Download File
NEWS 237.4.146 10 months ago Teddy Hogeborn Version 1.8.19-1 * Makefile (version): Change to 23.1 KB Diff Download File
overview.xml 962 7 years ago Teddy Hogeborn Add support for using raw public keys in TLS (RFC 923 bytes Diff Download File
plugin-runner.c 1259 4 years ago Teddy Hogeborn Update copyright year * debian/copyright: Update 36.3 KB Diff Download File
plugin-runner.conf 342 17 years ago Teddy Hogeborn * initramfs-tools-hook: Bug fix: Add "--userid" an 380 bytes Diff Download File
plugin-runner.xml 1319 10 months ago Teddy Hogeborn Update copyright year * dracut-module/ask-passwor 22.7 KB Diff Download File
README 844 10 years ago Teddy Hogeborn Use HTTPS in home page links Since we have a real 410 bytes Diff Download File
sysusers.d-mandos.conf 1160 6 years ago Teddy Hogeborn Client: Use the systemd sysusers.d mechanism, if p 167 bytes Diff Download File
tmpfiles.d-mandos.conf 838 10 years ago Teddy Hogeborn Server: New tmpfiles.d file for persistent state d 38 bytes Diff Download File
TODO 1278 1 year ago Teddy Hogeborn Minor documentation improvements * TODO (mandos- 5 KB Diff Download File