[Bug 1712817] Re: postinst fails if the service is disabled via systemd
Robie Basak
1712817 at bugs.launchpad.net
Fri Apr 13 11:59:24 UTC 2018
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
Foundations Bugs, which is subscribed to init-system-helpers in Ubuntu.
https://bugs.launchpad.net/bugs/1712817
Title:
postinst fails if the service is disabled via systemd
Status in init-system-helpers package in Ubuntu:
New
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 1
lsb_release -rd
Description: Ubuntu 16.04.3 LTS
Release: 16.04
apt-cache policy freeradius-ldap # before update
freeradius-ldap:
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 Packages
*** 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:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1712817/+subscriptions
More information about the foundations-bugs
mailing list