/mandos/trunk

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

« back to all changes in this revision

Viewing changes to debian/changelog

  • 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).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
mandos (1.8.14-1) unstable; urgency=medium
2
 
 
3
 
  * New upstream release.  Includes workaround for #981302
4
 
  * debian/po/fr.po: Fix msgid to match template.
5
 
 
6
 
 -- Teddy Hogeborn <teddy@recompile.se>  Wed, 03 Feb 2021 09:53:29 +0100
7
 
 
8
 
mandos (1.8.13-1) unstable; urgency=medium
9
 
 
10
 
  * New upstream release.
11
 
  * Fix "password-agent autopkgtest does not seem to be reliable"
12
 
    by making the test more reliable (Closes: #975457)
13
 
  * debian/mandos-client.templates: Rename "_description" header to
14
 
    "_Description".
15
 
  * debian/control (Standards-Version): Change to "4.5.1".
16
 
 
17
 
 -- Teddy Hogeborn <teddy@recompile.se>  Mon, 30 Nov 2020 19:15:43 +0100
18
 
 
19
 
mandos (1.8.12-1) unstable; urgency=medium
20
 
 
21
 
  * New upstream release.
22
 
  * Fix "FTBFS with glibc 2.31 (uses removed stime function)" by using
23
 
    clock_settime() instead. (Closes: #964226)
24
 
  * debian/copyright: Update copyright year to 2020.
25
 
 
26
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 04 Jul 2020 14:58:26 +0200
27
 
 
28
 
mandos (1.8.11-1) unstable; urgency=medium
29
 
 
30
 
  * New upstream release.
31
 
 
32
 
 -- Teddy Hogeborn <teddy@recompile.se>  Wed, 08 Apr 2020 20:37:32 +0200
33
 
 
34
 
mandos (1.8.10-1) unstable; urgency=medium
35
 
 
36
 
  * Fix "[INTL:pt] Updated Portuguese translation - debconf messages"
37
 
    by including the contributed translation (Closes: #942595)
38
 
  * Fix "[INTL:nl] Dutch translation of debconf messages" by including the
39
 
    contributed translation (Closes: #946006)
40
 
  * Fix "flaky autopkgtest on arm64" by skipping the flaky test on
41
 
    non-amd64 (Closes: #953799)
42
 
  * debian/control (Standards-Version): Update to "4.5.0".
43
 
 
44
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 21 Mar 2020 17:45:01 +0100
45
 
 
46
 
mandos (1.8.9-2) unstable; urgency=medium
47
 
 
48
 
  * Fix failing autopkgtest.
49
 
  * debian/tests/control (mandos-check/Restrictions): Add "allow-stderr".
50
 
 
51
 
 -- Teddy Hogeborn <teddy@recompile.se>  Wed, 04 Sep 2019 23:14:06 +0200
52
 
 
53
 
mandos (1.8.9-1) unstable; urgency=medium
54
 
 
55
 
  * New upstream release.
56
 
  * Fix "Python2 removal in sid/bullseye" by using Python 3 instead
57
 
    (Closes: #936987)
58
 
  * debian/control (Build-Depends, Build-Depends-Indep): Move "systemd"
59
 
    from indep to regular build-depends.
60
 
    (Build-Depends-Indep, Package: mandos/Depends): Depend on Python 3 and
61
 
    Python 3 modules instead of Python 2.
62
 
 
63
 
 -- Teddy Hogeborn <teddy@recompile.se>  Tue, 03 Sep 2019 20:58:27 +0200
64
 
 
65
 
mandos (1.8.8-1) unstable; urgency=medium
66
 
 
67
 
  * New upstream release.
68
 
  * debian/po/de.po: New; Fix "[INTL:de] Initial German debconf
69
 
    translation" by including the contributed translation (Closes:
70
 
    #934373)
71
 
  * debian/po/fr.po: New; Fix "[INTL:fr] French debconf templates
72
 
    translation" by including the contributed translation (Closes:
73
 
    #934888)
74
 
  * debian/po/sv.po: New Swedish translation.
75
 
  * debian/mandos.postinst: Only reload D-Bus daemon if new user was
76
 
    created.
77
 
  * debian/mandos.dirs (usr/lib/sysusers.d): New.
78
 
  * debian/mandos-client.dirs (usr/lib/sysusers.d): - '' -
79
 
 
80
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sun, 18 Aug 2019 22:01:13 +0200
81
 
 
82
 
mandos (1.8.7-1) unstable; urgency=medium
83
 
 
84
 
  * New upstream release.
85
 
  * debian/upstream/metadata: New.
86
 
  * debian/mandos-client.postrm: Use the same logic as the
87
 
    update_initramfs function in debian/mandos-client.postinst.
88
 
  * debian/mandos-client.templates (mandos-client/key_id): Line which
89
 
    should not be wrapped should be prefixed by a space.
90
 
  * debian/mandos.templates (mandos/key_id): - '' -
91
 
  * debian/po/en_US.po: New "translation" from ASCII to UTF-8.
92
 
  * debian/po/templates.pot: Updated.
93
 
  * debian/source/lintian-overrides
94
 
    (package-uses-old-debhelper-compat-version): New; set to "10".
95
 
  * debian/mandos-client.lintian-overrides
96
 
    (maintainer-script-supports-ancient-package-version): New.
97
 
    debian/mandos.lintian-overrides
98
 
    (maintainer-script-supports-ancient-package-version): - '' -
99
 
 
100
 
 -- Teddy Hogeborn <teddy@recompile.se>  Mon, 05 Aug 2019 23:22:00 +0200
101
 
 
102
 
mandos (1.8.6-1) unstable; urgency=medium
103
 
 
104
 
  * New upstream release.
105
 
  * Fix "mandos FTCBFS: hard codes build architecture pkg-config"
106
 
    by making pkg-config overridable (Closes: #933701)
107
 
  * debian/mandos.postinst (configure): After creating (or renaming) user
108
 
    & group, reload D-Bus daemon (if present).
109
 
 
110
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 03 Aug 2019 14:51:01 +0200
111
 
 
112
1
mandos (1.8.5-1) unstable; urgency=medium
113
2
 
114
3
  * New upstream release.