| 1330
|
|
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".
|
Teddy Hogeborn |
8 hours ago
|
 |
|
| 1203
|
|
|
teddy at recompile |
6 years ago
|
 |
|
| 905
|
|
|
Teddy Hogeborn |
8 years ago
|
 |
|
| 887
|
|
|
Teddy Hogeborn |
9 years ago
|
 |
|
| 831
|
|
|
Teddy Hogeborn |
10 years ago
|
 |
|
| 826
|
|
|
Teddy Hogeborn |
10 years ago
|
 |
|
| 825
|
|
|
Teddy Hogeborn |
10 years ago
|
 |
|
| 818
|
|
|
Teddy Hogeborn |
10 years ago
|
 |
|
| 787
|
|
|
Teddy Hogeborn |
10 years ago
|
 |
|
| 761
|
|
|
Teddy Hogeborn |
10 years ago
|
 |
|
| 757
|
|
|
Teddy Hogeborn |
10 years ago
|
 |
|
| 734
|
|
|
Teddy Hogeborn |
11 years ago
|
 |
|
| 726
|
|
|
Teddy Hogeborn |
11 years ago
|
 |
|
| 647
|
|
|
Teddy Hogeborn |
12 years ago
|
 |
|
| 638
|
|
|
Teddy Hogeborn |
12 years ago
|
 |
|