On Mon, 2016-02-08 at 13:13 +0100, Svante Signell wrote:
> On Mon, 2016-02-08 at 08:26 +0100, Adam Borowski wrote:
> > > init-system-helpers: file conflict with openrc: /usr/sbin/update-rc.d
> > 
> > Uhm, guys... are you alive?  This bug keeps openrc uninstallable, and will
> > cause its autoremoval soon.
> > 
> > If you're too busy and need help, I could help with fixing or NMUing, but
> > you need to decide whether to:
> > * cooperate with init-system-helpers and put the logic there (like sysv-rc)
> > * divert update-rc.d (like file-rc)
> > 
> > Note that I'm not the best person to help, though, as I use openrc only on a
> > single desktop and thus don't know anything about its advanced features nor
> > internals.
> 
> Hi Adam,
> Cc: Roger
> 
> I sent the following mail to the openrc maintainers: Benda Xu, Thomas Goirand
> and Roger Leigh on Friday February 5th (no reply so far). The mail to Roger
> bounced, he is no longer a Debian maintainer.
> 
> > Hello,
> > 
> > Due to the serious bug 811708 openrc (0.18.3-1) will be removed from Debian
> > testing on February 18. In my opinion it would be a pity if it disappears.
> > 
> > Is it possible to do as file-rc (0.8.17) did in bug 812337: add a diversion?
> > 
> > From changelog: divert update-rc.d + invoke-rc.d files to cooperate with
> > init-
> > system-helpers >=1.25. It seems like only divert() in preinst and
> > undivert() in
> > postrm scripts has to be created and called.

Attached are patches of debian/changelog and new files debian/preinst and
debian/postrm. Maybe the debian/control file has to be modified too. Are they
sufficient to create a diversion of openrc so that bug 811708 can be closed? I
have not yet had time to test-install, the plan is to do that for GNU/Linux and
GNU/Hurd.

--- a/debian/changelog.orig	2015-11-09 15:11:35.000000000 +0100
+++ b/debian/changelog	2016-02-09 22:41:37.000000000 +0100
@@ -1,3 +1,11 @@
+openrc (0.18.3-2) unstable; urgency=medium
+  * Create debian/{preinst,postrm} scripts as for file-rc to
+    divert update-rc.d + invoke-rc.d files to cooperate with
+    init-system-helpers >=1.25
+    (Closes: #811708)
+
+ -- Svante Signell <svante.sign...@gmail.com>  Tue, 09 Feb 2016 16:53:58 +0100
+
 openrc (0.18.3-1) unstable; urgency=medium
 
   [ Dmitry Yu Okunev ]

Attachment: postrm
Description: application/shellscript

Attachment: preinst
Description: application/shellscript

Reply via email to