Your message dated Tue, 08 Mar 2016 09:53:54 +0000
with message-id <e1adekw-0000iw...@franck.debian.org>
and subject line Bug#817006: fixed in openrc 0.20.4-2.1
has caused the Debian Bug report #817006,
regarding openrc: dangling diversion of /usr/sbin/{invoke,update}-rc.d
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.)


-- 
817006: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817006
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: openrc
Version: 0.20.4-2
Severity: critical
Justification: breaks unrelated software


I'm afrad the removal of diversions of /usr/sbin/{invoke,update}-rc.d
without undiverting them breaks anything that uses those scripts.  This
makes many packages uninstallable:
.--=======================================================================
Setting up virtualbox (5.0.16-dfsg-2) ...
/var/lib/dpkg/info/virtualbox.postinst: 34: 
/var/lib/dpkg/info/virtualbox.postinst: update-rc.d: not found
dpkg: error processing package virtualbox (--configure):
 subprocess installed post-installation script returned error exit status 127
Setting up exim4-base (4.86.2-2) ...
/var/lib/dpkg/info/exim4-base.postinst: 88: 
/var/lib/dpkg/info/exim4-base.postinst: update-rc.d: not found
dpkg: error processing package exim4-base (--configure):
 subprocess installed post-installation script returned error exit status 127
`--=======================================================================

Another casualty is logrotate:
.--=======================================================================
/etc/cron.daily/logrotate:
logrotate_script: 2: logrotate_script: invoke-rc.d: not found
error: error running non-shared postrotate script for /var/log/syslog of 
'/var/log/syslog
'
logrotate_script: 2: logrotate_script: invoke-rc.d: not found
error: error running shared postrotate script for '/var/log/mail.info
`--=======================================================================

I dared not to try to reboot to see if this makes the system unbootable as
well, which might be the case.


As noted by Andreas Hendriksson in #811708, you need to undivert on all
systems that had 0.20.4-1 installed, but not on those upgraded from jessie
or those who installed 0.20.4-2 anew.  The version check proposed by Andreas
won't work, as an upgrade to 0.20.4-2 removes such information.  Thus, we'd
need to check whether such a diversion exists and was created by openrc
rather than as an action by the sysadmin.

Thus, I propose guarding it with:
if [ "$(dpkg-divert --list /usr/sbin/invoke-rc.d)" = "diversion of 
/usr/sbin/invoke-rc.d to /usr/sbin/invoke-rc.d.init-system-helpers by openrc" ]


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

Kernel: Linux 4.4.1-x32 (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages openrc depends on:
ii  insserv      1.14.0-5.3
ii  libaudit1    1:2.4.5-1+b1
ii  libc6        2.21-9
ii  libeinfo1    0.20.4-2
ii  libpam0g     1.1.8-3.2
ii  librc1       0.20.4-2
ii  libselinux1  2.4-3+b1

Versions of packages openrc recommends:
ii  init-system-helpers  1.29

Versions of packages openrc suggests:
pn  policycoreutils  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: openrc
Source-Version: 0.20.4-2.1

We believe that the bug you reported is fixed in the latest version of
openrc, 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 817...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Borowski <kilob...@angband.pl> (supplier of updated openrc 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: Tue, 08 Mar 2016 05:17:44 +0100
Source: openrc
Binary: openrc openrc-dbg librc1 librc1-dbg librc-dev libeinfo1 libeinfo1-dbg 
libeinfo-dev
Architecture: source
Version: 0.20.4-2.1
Distribution: unstable
Urgency: medium
Maintainer: OpenRC Debian Maintainers <openrc-de...@lists.alioth.debian.org>
Changed-By: Adam Borowski <kilob...@angband.pl>
Description:
 libeinfo-dev - dependency based init system (pretty control display 
development)
 libeinfo1  - dependency based init system (pretty console display library)
 libeinfo1-dbg - dependency based init system (pretty console display library) 
- d
 librc-dev  - dependency based init system (runtime development)
 librc1     - dependency based init system (runtime library)
 librc1-dbg - dependency based init system (runtime library) - debug
 openrc     - dependency based init system (runlevel change mechanism)
 openrc-dbg - dependency based init system (runlevel change mechanism) - debug
Closes: 817006
Changes:
 openrc (0.20.4-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Remove diversions to update-rc.d + invoke-rc.d (Closes: #817006).
Checksums-Sha1:
 7fbc91e4d3b18d79ceb68d983dd5fb2c6c9df9d6 2023 openrc_0.20.4-2.1.dsc
 6428c7946e179a324bbbb38ce50b9660f52b686d 23740 openrc_0.20.4-2.1.debian.tar.xz
Checksums-Sha256:
 ee044b16947c377f2cb5b273197b3689352a451eeafb61a5531657bb1e356905 2023 
openrc_0.20.4-2.1.dsc
 e8cac54b4b67d51697af8430196b7a56c9d58a515c1f5da42a1f9baedaf07b4c 23740 
openrc_0.20.4-2.1.debian.tar.xz
Files:
 c6d47f4f0132283806b612896ee385e3 2023 admin extra openrc_0.20.4-2.1.dsc
 6f090afae720e68f98307f9a29cc0d6e 23740 admin extra 
openrc_0.20.4-2.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJW3lMjAAoJECw7Q2/qxoEBhSsH/impys5lI9bdbKAV6ZUWlsD2
9zUO3OF4nRSCBjinCZ+I9fqIkLGDBaKRMIlAie5OOo+Ag2I/KJWXB8lRzYAcXMwG
gy5WXmn492BY2iFY6EMnPJDtKc2MG4j+K3Xoqs7Aq1Kha8t2s0e88cQjcRD9sEzq
Nq5rB9LqFX6Hfp00XVvMPkEmDr0xovVSoewvCXugBxlFnlebJt0PVr7k3s8NuyLy
e3mP/ozaZg2TvGDySYSdoK28SgbL3psLHsMWFvtxRCD5IUtQvY4hkZvaR76Ao8oa
A9abykiib1NG9X3AWBVR/YgIMndR0CSmzZnMBXxDPnneOHjwkls/p3nM5rGJNIw=
=qXIy
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to