control: tags -1 + pending Sounds good. Added the Depends for now: https://github.com/Debian/pk4/commit/a7f965271ef5616147e34a23552ad828a2ef3498
On Mon, Oct 23, 2017 at 5:18 PM, Axel Beckert <a...@debian.org> wrote: > Hi Michael, > > Michael Stapelberg wrote: >> What the apt hook does is start pk4-generate-index in the background, >> see https://github.com/Debian/pk4/blob/master/pk4-generate-index.service. >> >> What the dpkg hook does is start pk4-generate-index in the background >> after 60s (timeout is reset on a subsequent dpkg hook run). > > Thanks for the explanations. > >> If you are interested in using pk4 on non-systemd machines, could you >> supply a tested patch for the apt and dpkg hooks adding fallbacks >> please? I’m not sure how to achieve the same functionality without >> systemd. > > With classic Unix tools and some sh glue of course. "at" and "sleep" > come to my mind. > > Will have a look. I imagine something like "Depends: systemd-sysv | > at" for the final variant. > >> I’d also be happy to add a Depends: systemd-sysv for now, which I >> believe should result in systemd being present and init. > > Yes. This is an unsatisfying but correct solution which IMHO should be > deployed in short-term. > > I don't think this issue is RC since the symptoms can be easily > avoided by editing conffiles and it doesn't affect default > installations. But nevertheless it helps to avoid broken > configurations after installation. > > I suggest to mention, but not close this bug report with that change > and then downgrade it to wishlist. Or alternatively clone the bug > accordingly and close one of them with the change. > > Regards, Axel > -- > ,''`. | Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/ > : :' : | Debian Developer, ftp.ch.debian.org Admin > `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 > `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE -- Best regards, Michael