-
Committer:
Teddy Hogeborn
-
Date:
2019-08-02 22:16:53 UTC
-
Revision ID:
teddy@recompile.se-20190802221653-ic1iko9hbefzwsk7
Fix bug in server Debian package: Fails to start on first install
There has been a very long-standing bug where installation of the
server (the "mandos" Debian package) would fail to start the server
properly right after installation. It would work on manual (re)start
after installation, or after reboot, and even after package purge and
reinstall, it would then work the first time. The problem, it turns
out, is when the new "_mandos" user (and corresponding group) is
created, the D-Bus server is not reloaded, and is therefore not aware
of that user, and does not recognize the user and group name in the
/etc/dbus-1/system.d/mandos.conf file. The Mandos server, when it
tries to start and access the D-Bus, is then not permitted to connect
to its D-Bus bus name, and disables D-Bus use as a fallback measure;
i.e. the server works, but it is not controllable via D-Bus commands
(via mandos-ctl or mandos-monitor). The next time the D-Bus daemon is
reloaded for any reason, the new user & group would become visible to
the D-Bus daemon and after that, any restart of the Mandos server
would succeed and it would bind to its D-Bus name properly, and
thereby be visible and controllable by mandos-ctl & mandos-monitor.
This was mostly invisible when using sysvinit, but systemd makes the
problem visible since the systemd service file for the Mandos server
is configured to not consider the Mandos server "started" until the
D-Bus name has been bound; this makes the starting of the service wait
for 90 seconds and then fail with a timeout error.
Fixing this should also make the Debian CI autopkgtest tests work.
* debian/mandos.postinst (configure): After creating (or renaming)
user & group, reload D-Bus
daemon (if present).
..
|
po
|
199
|
17 years ago |
Teddy Hogeborn |
* Makefile: Bug fix: fix syntax error.
* debian/c |
|
|
|
source
|
452.1.1
|
15 years ago |
Teddy Hogeborn |
* debian/source/format: New; contains "3.0 (quilt) |
|
|
|
tests
|
1116
|
6 years ago |
Teddy Hogeborn |
Debian package change: Add autopkgtest support
* |
|
|
|
upstream
|
678
|
11 years ago |
Teddy Hogeborn |
Fix location and format of signing key file.
* de |
|
|
|
changelog |
237.4.116
|
6 years ago |
Teddy Hogeborn |
* Makefile (version): Change to 1.8.5.
* NEWS (Ver |
33.2 KB |
|
|
compat |
921
|
7 years ago |
Teddy Hogeborn |
Update Debian Debhelper compatibility version.
* |
3 bytes |
|
|
control |
1133
|
6 years ago |
Teddy Hogeborn |
Update Debian package standard-version to "4.4.0"
|
3 KB |
|
|
copyright |
969
|
6 years ago |
Teddy Hogeborn |
Update copyright year to 2019
* DBUS-API: Update |
1 KB |
|
|
mandos-client.dirs |
1099
|
6 years ago |
Teddy Hogeborn |
Installation: Fix UMASK even if set by some other |
229 bytes |
|
|
mandos-client.docs |
594
|
13 years ago |
Teddy Hogeborn |
* debian/copyright (Copyright): Join the two lines |
17 bytes |
|
|
mandos-client.examples |
594
|
13 years ago |
Teddy Hogeborn |
* debian/copyright (Copyright): Join the two lines |
16 bytes |
|
|
mandos-client.links |
191
|
17 years ago |
Teddy Hogeborn |
* debian/mandos-client.docs: New. Add README and |
93 bytes |
|
|
mandos-client.lintian-overrides |
1124
|
6 years ago |
Teddy Hogeborn |
Allow line breaks on long lines in plugin-runner m |
2 KB |
|
|
mandos-client.postinst |
1127
|
6 years ago |
Teddy Hogeborn |
Add dracut(8) support
Add support for the dracut( |
5.9 KB |
|
|
mandos-client.postrm |
962
|
6 years ago |
Teddy Hogeborn |
Add support for using raw public keys in TLS (RFC |
1.3 KB |
|
|
mandos-client.README.Debian |
1127
|
6 years ago |
Teddy Hogeborn |
Add dracut(8) support
Add support for the dracut( |
4.9 KB |
|
|
mandos-client.templates |
1128
|
6 years ago |
Teddy Hogeborn |
Add debconf translation support
* debian/mandos-c |
812 bytes |
|
|
mandos.dirs |
841
|
9 years ago |
Teddy Hogeborn |
Server: Debian package bug fix: Include /usr/lib/t |
143 bytes |
|
|
mandos.docs |
423
|
15 years ago |
Teddy Hogeborn |
Documentation changes:
* DBUS-API: New file docum |
26 bytes |
|
|
mandos.lintian-overrides |
1126
|
6 years ago |
Teddy Hogeborn |
Remove unused lintian override for Debian package
|
507 bytes |
|
|
mandos.postinst |
1138
|
6 years ago |
Teddy Hogeborn |
Fix bug in server Debian package: Fails to start o |
3.6 KB |
|
|
mandos.prerm |
770
|
10 years ago |
Teddy Hogeborn |
* debian/mandos.prerm: Don't run init script, use |
759 bytes |
|
|
mandos.README.Debian |
505.1.2
|
14 years ago |
Teddy Hogeborn |
Change "fukt.bsnet.se" to "recompile.se" throughou |
445 bytes |
|
|
mandos.templates |
1128
|
6 years ago |
Teddy Hogeborn |
Add debconf translation support
* debian/mandos-c |
1.2 KB |
|
|
rules |
1101
|
6 years ago |
Teddy Hogeborn |
Debian package: Fix backports package dependency a |
2.1 KB |
|
|
watch |
976
|
6 years ago |
Teddy Hogeborn |
Fix Debian watch file
* debian/watch: Make the ". |
112 bytes |
|
|