apcupsd installer silently overwrites apcupsd.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apcupsd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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/
% 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
ProcVersionSign
Uname: Linux 4.10.0-19-generic x86_64
NonfreeKernelMo
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.
# Defaults for apcupsd initscript
# Apcupsd-devel internal configuration
# APCACCESS=
ISCONFIGURED=yes
mtime.conffile.
mtime.conffile.