[Bug 985341] [NEW] segfault when starting rrdcached

Launchpad Bug Tracker 985341 at bugs.launchpad.net
Thu Feb 12 21:41:17 UTC 2015


You have been subscribed to a public bug by Bryan Quigley (bryanquigley):

[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/etc/init.d/rrdcached: line 57: 19826 Segmentation fault      (core dumped) start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" --exec $DAEMON -- $OPTS -p "$PIDFILE"
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/rrdcached/journal, then restart the daemon


---
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
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
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

** Affects: rrdtool (Ubuntu)
     Importance: Medium
         Status: Fix Released

** Affects: rrdtool (Ubuntu Precise)
     Importance: Medium
         Status: Confirmed

** Affects: rrdtool (Debian)
     Importance: Unknown
         Status: Fix Released


** Tags: apport-collected precise
-- 
segfault when starting rrdcached
https://bugs.launchpad.net/bugs/985341
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list