[Bug 985341] Re: segfault when starting rrdcached

Brian Murray brian at ubuntu.com
Wed Feb 25 23:52:37 UTC 2015


I've uploaded this to the precise SRU queue.

** Changed in: rrdtool (Ubuntu Precise)
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/985341

Title:
  segfault when starting rrdcached

Status in rrdtool package in Ubuntu:
  Fix Released
Status in rrdtool source package in Precise:
  In Progress
Status in rrdtool package in Debian:
  Fix Released

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/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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rrdtool/+bug/985341/+subscriptions



More information about the Ubuntu-sponsors mailing list