[Bug 985341] Re: segfault when starting rrdcached
Bryan Quigley
bryan.quigley at canonical.com
Thu Feb 12 21:38:03 UTC 2015
** Description changed:
- [Workaround]
+ [Impact]
- Create /var/lib/rrdcached/journal, then restart the daemon
+ * rrdcached doesn't start by default due to directories not being there
- [Original Description]
+ [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
+ subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:
- rrdcached
+ 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
** Changed in: rrdtool (Ubuntu Precise)
Assignee: (unassigned) => Bryan Quigley (bryanquigley)
** Tags added: cts
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to rrdtool in Ubuntu.
https://bugs.launchpad.net/bugs/985341
Title:
segfault when starting rrdcached
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rrdtool/+bug/985341/+subscriptions
More information about the Ubuntu-server-bugs
mailing list