On second thought, perhaps invoke-rc.d should treat a systemd disabled
service the same way as one done through the policy-rc.d mechanism.
Whichever way, the correct behaviour should be decided package-wide by
the invoke-rc.d wrapper, so I'm reassigning to init-system-helpers.

** Changed in: freeradius (Ubuntu)
       Status: Invalid => New

** Changed in: freeradius (Ubuntu)
   Importance: Low => Undecided

** Package changed: freeradius (Ubuntu) => init-system-helpers (Ubuntu)

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 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 http://fr.archive.ubuntu.com/ubuntu xenial-security/universe 
amd64 Packages
          500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
   *** 2.2.8+dfsg-0.1build2 500
          500 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to