Your message dated Fri, 19 Sep 2014 21:58:38 +0000
with message-id <e1xv6cm-00064y...@franck.debian.org>
and subject line Bug#753643: fixed in munge 0.5.11-1.1
has caused the Debian Bug report #753643,
regarding munge: post-installation fails with systemd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
753643: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753643
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: munge
Version: 0.5.11-1
Severity: important

Dear Maintainer,

The installation of munge package on Jessie fails because of the bad exit code
of the post-installation script:

# apt-get install munge
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libmunge2
The following NEW packages will be installed:
  libmunge2 munge
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 103 kB of archives.
After this operation, 434 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ftp.fr.debian.org/debian/ jessie/main libmunge2 amd64 0.5.11-1 
[18.9 kB]
Get:2 http://ftp.fr.debian.org/debian/ jessie/main munge amd64 0.5.11-1 [84.2 
kB]                         
Fetched 103 kB in 6s (16.6 kB/s)                                                
                                
Selecting previously unselected package libmunge2.
(Reading database ... 40136 files and directories currently installed.)
Preparing to unpack .../libmunge2_0.5.11-1_amd64.deb ...
Unpacking libmunge2 (0.5.11-1) ...
Selecting previously unselected package munge.
Preparing to unpack .../munge_0.5.11-1_amd64.deb ...
Unpacking munge (0.5.11-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libmunge2 (0.5.11-1) ...
Setting up munge (0.5.11-1) ...
Job for munge.service failed. See 'systemctl status munge.service' and 
'journalctl -xn' for details.
invoke-rc.d: initscript munge, action "start" failed.
dpkg: error processing package munge (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-10) ...
Errors were encountered while processing:
 munge
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is due to systemd not being able to start munge daemon after installation.
Here is what systemctl reports about this service:

root@jessiepkgtest:~# systemctl status munge.service
munge.service - MUNGE authentication service
   Loaded: loaded (/lib/systemd/system/munge.service; disabled)
   Active: failed (Result: exit-code) since Mon 2014-09-15 12:14:25 CEST; 50s 
ago
     Docs: man:munged(8)
  Process: 1572 ExecStart=/usr/sbin/munged (code=exited, status=1/FAILURE)

Sep 15 12:14:25 jessiepkgtest munged[1572]: munged: Error: Failed to check 
keyfile "/etc/munge/munge.key":...tory
Sep 15 12:14:25 jessiepkgtest systemd[1]: munge.service: control process 
exited, code=exited status=1
Sep 15 12:14:25 jessiepkgtest systemd[1]: Failed to start MUNGE authentication 
service.
Sep 15 12:14:25 jessiepkgtest systemd[1]: Unit munge.service entered failed 
state.

Actually, munged process exited with exit code 1 because the munge key was not
available.

I can see 2 ways to fix this bug:

- create the key if not present in post-installation script (similarly to what
  ssh-server does with SSH host keys)
- add a ConditionPathExists on /etc/munge/munge.key in the [Unit] section of
  munged.service

There are probably other solutions though...

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages munge depends on:
ii  adduser      3.113+nmu3
ii  libbz2-1.0   1.0.6-7
ii  libc6        2.19-10
ii  libgcrypt11  1.5.4-2
ii  libmunge2    0.5.11-1
ii  zlib1g       1:1.2.8.dfsg-1

munge recommends no packages.

munge suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: munge
Source-Version: 0.5.11-1.1

We believe that the bug you reported is fixed in the latest version of
munge, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 753...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ana Beatriz Guerrero Lopez <a...@debian.org> (supplier of updated munge package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 17 Sep 2014 23:21:01 +0200
Source: munge
Binary: munge libmunge-dev libmunge2
Architecture: source amd64
Version: 0.5.11-1.1
Distribution: unstable
Urgency: medium
Maintainer: Gennaro Oliva <oliv...@na.icar.cnr.it>
Changed-By: Ana Beatriz Guerrero Lopez <a...@debian.org>
Description:
 libmunge-dev - authentication service for credential -- development package
 libmunge2  - authentication service for credential -- library package
 munge      - authentication service to create and validate credentials
Closes: 734568 753643
Changes:
 munge (0.5.11-1.1) unstable; urgency=medium
 .
   [ RĂ©mi Palancher <r...@rezib.org>]
   * Non-maintainer upload.
   * Fix post-installation by generating new key in case none existed
     previously. (Closes: #753643)
   * Updated README.Debian with instructions for key management
   * Bumped Standards-Version to 3.9.5
 .
   [ Ana Beatriz Guerrero Lopez ]
   * Use dh-autoreconf to fix FTBFS on ppc64el. (Closes: #734568)
Checksums-Sha1:
 b61c4fb01412a56eb484f44191a2a0b3cf4e80c7 1912 munge_0.5.11-1.1.dsc
 5f4b71b2bde404ae11341652b2a92641b6d23519 11764 munge_0.5.11-1.1.debian.tar.xz
 1be4fb154003338f7412ee8bbb3904f4b3a89627 85298 munge_0.5.11-1.1_amd64.deb
 e0d55ed1e5d2d8a6e18978a1d0337d488d5f9e16 35398 
libmunge-dev_0.5.11-1.1_amd64.deb
 4cb52de7d21a8b77d8efb8ad2b7fed03ea8151b6 19394 libmunge2_0.5.11-1.1_amd64.deb
Checksums-Sha256:
 d86af01f7cc95c2868668bbe5cc733fbb479230c1ccdf2f78bccbe2a9199420f 1912 
munge_0.5.11-1.1.dsc
 cfc482083d2cfec40cabd925e3a5f5929f2fd1772ebe5c7d1b08573b8119eb92 11764 
munge_0.5.11-1.1.debian.tar.xz
 db13379b7d957716512971494ce4d615ee11684fc2affccef0c3ff1a0e3486bf 85298 
munge_0.5.11-1.1_amd64.deb
 54d7ebd8bde7c68f97777592e963ce70ffa773c06528e2da1afc7f96f3592e88 35398 
libmunge-dev_0.5.11-1.1_amd64.deb
 e1e739ee4fde0e2066b8d0c23c2c7244e799b4fc4b87d65a0e8b2e56c17df72c 19394 
libmunge2_0.5.11-1.1_amd64.deb
Files:
 7d70cddfdc9bf526c17fea95962ba265 85298 admin extra munge_0.5.11-1.1_amd64.deb
 7e3c8a42068c63c1a5ee364b754b591a 35398 libdevel extra 
libmunge-dev_0.5.11-1.1_amd64.deb
 e9117bc9db789f7e9f0d33edfe710c5b 19394 libs extra 
libmunge2_0.5.11-1.1_amd64.deb
 7ed57014a0305fb9eb3c95019b8593b6 1912 admin extra munge_0.5.11-1.1.dsc
 502d75f99a5fea4812176fc49d7a6e6d 11764 admin extra 
munge_0.5.11-1.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Signed by Ana Guerrero

iQIcBAEBCAAGBQJUGf0uAAoJELNGT4lqoVlIBSMP/2FDA8q3z8FmEGYEauJl35xZ
kfbaA3hwk8N40OQsbpKVK/xrFDhL2Ca6UYMDBJZdkaXQSfazgZ1lGSnn4qj1SQTm
9wlYaJwGV/hgG+4LJo8lyT2xkR9JbmKPW3DKYQFmBqrA0NOhRd3qU7bwCBggAxdW
bhK/Wr1ksC+lPRn08tYSRPjt5iuMrC2WKgCI4/x2hQhbiHZhmFy0SQTjq59Zrc1Y
O9jDhB4N8pCc2pNYYyETBPDk0X4QILjcnC/X4/KCxPteeYjRxxLduL83p+wijLZI
8pYFZ/x0JCXI22g5uW88tm0Smaf4XMp7HKWGo5ywE9YkLaoScgK2vxHqr8pfr7bN
7JxwceD5G9rXU3mg21BF9SX1dD5D0h+LBFK9okyxoZ2ajUjIIYmGJjA2TjaMRV0w
Xfx24qUJKWI/G6qihhgypfU/aoGd0hbX5w8B2xZKZFoVdlN6LAZyRAhj3XgWmboV
UyXWQmeBs7UCMoBj8AggG2FOzHY2cpwU5sqMdwUQ4iI6ENimqPvowTOp/noHJkVR
5ttYIU38j1Un4Swq63RgRNHm8XM4uH7aXCSc0ksnQXpNZYLLvJl8Vwwr1+4WGYGf
byKLAPh4YjGTWesGL3PWFhReotQ54U6v5fhhCqPRVOLcwvRPRAiBtdysy6AUzX/C
YsMinf2fwyimdUqqZP4a
=Hsro
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to