[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1117735: Restarting systemd user units on package upgrade



Sean Whitton writes ("Bug#1117735: Restarting systemd user units on package upgrade"):
> On Wed 03 Dec 2025 at 10:16am GMT, Sean Whitton wrote:
> > Ian, what do you think about something like this:
> >
> >         override_dh_installsystemduser:
> >                 if $(compat 14 is available); then
> >                         DH_COMPAT=14 dh_installsystemduser ...
> >                 else
> >                         dh_installsystemduser ...
> >                 fi
> 
> I.e., on older releases of Debian, dgit-infrastructure.deb will be built
> without restarts of tag2upload-oracled on upgrade.
> (But tag2upload-oracled won't start on those releases anyway, due to
> Perl & Python being too old.)

I think this is a fine approach, assuming we're confident that there
won't be future versions oif dh where this does something undesirable.
(I doubt we can have sensible tests of this? Maybe you can think of a
way...)

Ian.

-- 
Ian Jackson <ijackson@chiark.greenend.org.uk>   These opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.


Reply to: