segfault when starting rrdcached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rrdtool (Debian) |
Fix Released
|
Unknown
|
|||
rrdtool (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Bryan Quigley |
Bug Description
[Impact]
* rrdcached doesn't start by default due to directories not being there
[Test Case]
* Just install rrdcached and see that it doesn't start.
# apt-get install rrdcached
...snip...
Setting up rrdcached (1.4.7-1) ...
Starting RRDtool data caching daemon: rrdcached/
invoke-rc.d: initscript rrdcached, action "start" failed.
dpkg: error processing rrdcached (--configure):
subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:
rrdcached
E: Sub-process /usr/bin/dpkg returned an error code (1)
[Regression Potential]
The change is just adding mkdir -p to two directories in the init script before trying to start the daemon.
I can't think of an obvious regression here. Takes (incredibly slightly) longer to start?
[Workaround]
Create /var/lib/
---
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
DistroRelease: Ubuntu 12.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327)
Package: rrdtool 1.4.7-1
PackageArchitec
ProcEnviron:
TERM=xterm-
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: precise
Uname: Linux 3.2.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
Related branches
Changed in rrdtool (Debian): | |
status: | Unknown → New |
Changed in rrdtool (Debian): | |
status: | New → Fix Released |
description: | updated |
Changed in rrdtool (Ubuntu Precise): | |
assignee: | nobody → Bryan Quigley (bryanquigley) |
tags: | added: cts |
Hi Alex, can you run 'apport-collect 985341' on the affected system so we can get full information on dependencies and versions? Thanks!