Public bug reported:
I upgraded to 17.04 tonight, and when the install finished I started
getting reports that apcupsd could no longer communicate with my UPS.
The problem turned out to be that /etc/apcupsd/apcupsd.conf was silently
overwritten by the installer. It changed the UPSCABLE and UPSTYPE
variables. Here are the changes I needed to make to get it working
again:
% diff apcupsd.conf.bad apcupsd.conf
32c32
< UPSCABLE usb
---
> UPSCABLE smart
89c89
< UPSTYPE usb
---
> UPSTYPE apcsmart
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: apcupsd 3.14.14-0.3
ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8
Uname: Linux 4.10.0-19-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Thu Apr 13 22:20:45 2017
InstallationDate: Installed on 2016-12-27 (107 days ago)
InstallationMedia: Ubuntu-Server 16.10 "Yakkety Yak" - Release amd64
(20161012.1)
SourcePackage: apcupsd
UpgradeStatus: Upgraded to zesty on 2017-04-14 (0 days ago)
modified.conffile..etc.default.apcupsd:
# Defaults for apcupsd initscript
# Apcupsd-devel internal configuration
# APCACCESS=/sbin/apcaccess
ISCONFIGURED=yes
mtime.conffile..etc.apcupsd.apcupsd.conf: 2017-04-13T22:02:30.799643
mtime.conffile..etc.default.apcupsd: 2017-04-13T21:55:02.693712
** Affects: apcupsd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug zesty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682696
Title:
apcupsd installer silently overwrites apcupsd.conf
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apcupsd/+bug/1682696/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs