Robie Basak:
> Based on
> devel.html#t11:56, this sounds valid for either init-system-helpers or
> debhelper.
> 13:47 <xnox> rbasak, the description sounds valid. i believe i have hit
> something similar before, thus yeah a fix to debhelper for this class of
> issues would be most welcomed.
> 13:47 <rbasak> xnox: thanks. debhelper, or invoke-rc.d?
> 13:48 <xnox> rbasak, my understanding was that maintainer scripts that
> are generated, do attempt to check if a thing was "enabled and active"
> before the upgrade; and post upgrade. But maybe they only do so for
> systemd native units, and not for init.d->systemd units.
> ** Also affects: debhelper (Ubuntu)
>    Importance: Undecided
>        Status: New


Possibly related to this issue:


** Bug watch added: Debian Bug tracker #887904

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to init-system-helpers in

  postinst fails if the service is disabled via systemd

Status in debhelper package in Ubuntu:
Status in init-system-helpers package in Ubuntu:

Bug description:
  When updating my Xenial with freeradius installed but not active I got
  the following error:

      Setting up freeradius-common (2.2.8+dfsg-0.1ubuntu0.1) ...
      Setting up libfreeradius2 (2.2.8+dfsg-0.1ubuntu0.1) ...
      Setting up freeradius-utils (2.2.8+dfsg-0.1ubuntu0.1) ...
      Setting up freeradius (2.2.8+dfsg-0.1ubuntu0.1) ...
      Setting up freeradius-ldap (2.2.8+dfsg-0.1ubuntu0.1) ...
      freeradius.service is not active, cannot reload.
      invoke-rc.d: initscript freeradius, action "force-reload" failed.
      dpkg: error processing package freeradius-ldap (--configure):
       subprocess installed post-installation script returned error exit status 

  lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:      16.04

  apt-cache policy freeradius-ldap # before update
    Installed: 2.2.8+dfsg-0.1build2
    Candidate: 2.2.8+dfsg-0.1ubuntu0.1
    Version table:
       2.2.8+dfsg-0.1ubuntu0.1 500
          500 xenial-security/universe 
amd64 Packages
          500 xenial-updates/universe amd64 
   *** 2.2.8+dfsg-0.1build2 500
          500 xenial/universe amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to