Your message dated Sat, 10 Aug 2013 09:33:07 +0000
with message-id <[email protected]>
and subject line Bug#717603: fixed in init-system-helpers 1.8
has caused the Debian Bug report #717603,
regarding How to handle service files, where [Install] has changed
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 [email protected]
immediately.)


-- 
717603: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717603
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-systemd
Version: 1.7
Severity: normal

Atm, we run deb-systemd-helper enable only during the initial
installation of the package (to preserve modifications of the
administrator).

That means, if the [Install] section of a package changes, we don't not
update the symlinks accordingly, which might lead to non-functional
services.

As an example, the latest bluetooth.service file now has
Alias=dbus-org.bluez.service
i.e., the D-Bus activation only works if that symlink is created and the
package would fail after the upgrade.

In a way, that is similar to SysV init scripts, where the LSB header has
changed. The current practice afaicr is, to remove all symlinks via
update-rc.d remove and let update-rc.d defaults re-create the new
symlinks.

A similar solution could be, that we check in pre-inst, if the package
is enabled, remove the symlinks via deb-systemd-helper disable, and let
deb-systemd-helper enable re-create the symlinks in postinst.
I'm not sure, if that covers all possible cases, so we'd have to be
careful when removing the symlinks.

This doesn't necessarily have to be in dh-systemd itself.
We can require that maintainers need to add that code to the maintainer
scripts themselves as part of the upgrade process.

We should have tested example code though and relevant documentation in
either the Systemd/Packaging wiki or the dh-systemd man page (or both).

I'm not sure if we can automatically detect this situation in i-s-h
itself, for that we'd have to keep a copy of the complete .service file
(well, at least of the [Install] section).

Michael


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-systemd depends on:
ii  debhelper  9.20130630
ii  perl       5.14.2-21

dh-systemd recommends no packages.

dh-systemd suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: init-system-helpers
Source-Version: 1.8

We believe that the bug you reported is fixed in the latest version of
init-system-helpers, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Stapelberg <[email protected]> (supplier of updated 
init-system-helpers 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 24 Jul 2013 22:43:08 +0200
Source: init-system-helpers
Binary: init-system-helpers dh-systemd
Architecture: source all
Version: 1.8
Distribution: unstable
Urgency: low
Maintainer: pkg-systemd-maintainers 
<[email protected]>
Changed-By: Michael Stapelberg <[email protected]>
Description: 
 dh-systemd - debhelper add-on to handle systemd unit files
 init-system-helpers - helper tools for all init systems
Closes: 717603
Changes: 
 init-system-helpers (1.8) unstable; urgency=low
 .
   * Add test suite (development-time, not build-time)
   * deb-systemd-helper: implement was-enabled, debian-installed, update-state
   * deb-systemd-helper: update files atomically to be more robust when being
     cancelled
   * dh_systemd_enable: deal with changes to the [Install] section
     (Closes: #717603)
Checksums-Sha1: 
 74c5174f084d44524cd6dee5cd2282b2441b2f63 1828 init-system-helpers_1.8.dsc
 e481404421e31c5c817c92629b0f7afc78cd2f47 16227 init-system-helpers_1.8.tar.gz
 6191910f2f027a074a8547de23ef0987dee04c9a 11236 init-system-helpers_1.8_all.deb
 460a8f7198d64892868356daaef82887398204b4 12024 dh-systemd_1.8_all.deb
Checksums-Sha256: 
 e9e2aec964333e734d37744e50e98456cb630fd4f788add7263d6cbc5d755597 1828 
init-system-helpers_1.8.dsc
 4e4501472cfdf7c567b06737ada5f5dfea97ed49031bb3e578a64af957f479e0 16227 
init-system-helpers_1.8.tar.gz
 157333d0aeda01f0a61d56eb8038cc540dd88426993cf2512750dc05c9242cf6 11236 
init-system-helpers_1.8_all.deb
 4da346a335a3d159ac48223644aaed69def4e0a421797edca195c8f6d3a3f0d5 12024 
dh-systemd_1.8_all.deb
Files: 
 e5fb9a5323d5786998a9e74f4d9323a2 1828 admin extra init-system-helpers_1.8.dsc
 32db02f68a55bcfb1bdcafa834fffda9 16227 admin extra 
init-system-helpers_1.8.tar.gz
 b2505b2cba94281d35d4caf9bd902f94 11236 admin extra 
init-system-helpers_1.8_all.deb
 52f31f5b0ef819729bcef5a8d7f4a202 12024 admin extra dh-systemd_1.8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJSBgTlAAoJEE5xYO1KyO4d2+0P/0Aar1HvHf5HrBz0f7nNz8oH
rU+54uVlI3qF6YgfIIU1zlmjSXxZcwyy06gvVgyVgw4tq2C7tyB85CSfIX1rJrcD
VYiPC69iZonx7WSqebmAT+Nt7LY0rCPkSmyBLFqdXxYuqxQBikjlEJDNFIGBk61r
MB06eKpyI6SbH7KGkvXjMROI47UGCNWajvQgkwOGuaexEQ7lbTCMDVNjQk2Fiu8g
N6Zr4j37e0Rb0qzS1pjlwS/ugcpR1oP+ZGO1ayY8p1N7GK951LjIyqRUnOgIi9Al
mhpZ4TLBip+p2FKGyLR2+eLcePiLca7k1/4u7vY0ibDBTuE3vKMAvmw4vgedNqsc
8/7j5HKU5dD0HgHtnumrW/AFTvoVPjpx0pY9P+rts3mGft0Umwd3BKV43/oeqbak
Tt39+ouMRHGWW//OyghKcCCgod4pJ7HAVoHqnqMuF4hyxnwDHqI4HFO6DtlS+GnV
hb3KG1fCw9GL1b6Dja11jqz9jF30vQFRhwsAxUlRkd+E/M38Irl+4800HxZHPX4B
T2b8ArJeOtrdcZKP2H9hq/Zl/EOxtLiDghpbkHV+Yi/uN/mYe2wcRtwbq18MQ0BD
CfsB7Ech7wt91gYHkn/RvDLKWYLYRSvE4nwwwMm/XSMqb6UN0aMErSWO/s4v93T1
/3+3IQnHbW/grwwwFmy4
=/iEI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to