[Bug 1577916] Re: Missing dependencies

Nish Aravamudan nish.aravamudan at canonical.com
Wed Jun 29 21:24:16 UTC 2016


** Changed in: ganglia-web (Ubuntu Xenial)
     Assignee: (unassigned) => Nish Aravamudan (nacc)

** Changed in: ganglia-web (Ubuntu)
       Status: New => In Progress

** Changed in: ganglia-web (Ubuntu Xenial)
       Status: New => 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/1577916

Title:
  Missing dependencies

Status in ganglia-web package in Ubuntu:
  In Progress
Status in ganglia-web source package in Xenial:
  In Progress
Status in ganglia-web package in Debian:
  Unknown

Bug description:
  [Impact]

   * After installing ganglia-webfrontend, no frontend displays at
  http://<ip>/ganglia even if the instructions in /usr/share/doc
  /ganglia-webfrontend/README.Debian are followed.

   * On 16.04, php-fpm is the first listed dependency for the php
  metapackage. There is no FPM configuration for ganglia and in fact it
  is only designed to work with libapache2-mod-php from apache (as far
  as I can tell). Indicate this in the dependencies. In 16.10, for
  reference, the php dependency order has changed (so libapache2-mod-php
  is preferred).

   * Also, php-xml is now split out from the core and ganglia-
  webfrontend needs to explicitly indicate this dependency.

  [Test Case]

   * Install ganglia-webfrontend. Follow the instructions at
  /usr/share/doc/ganglia-webfrontend/README.Debian to enable the apache
  configuration.

   * Navigate to http://<ip>/ganglia

   * Without the fixes, raw PHP is displayed (as php-fpm is being used
  to service PHP requests instead of mod_php7.0). With the fixes, the
  ganglia web interface is displayed.

  [Regression Potential]

   * The php-xml change has no chance of regression, as the current
  package errors out otherwise.

   * The dependency order change might have some chance of regression,
  *if* a user has configured php-fpm correctly to service ganglia-
  webfrontend. However, this is non-standard and probably implies that
  user is not using the Debian-provided configuration. In that specific
  case, as well, I believe installing this newer package will have no
  impact to their base, as php7.0-fpm satisfies php7.0 satisfies php
  (which is still an alternative in the affected Depends line).

  
  ganglia-webfrontend depends on libapache2-mod-php7.0 and on php7.0-xml but it is not in the Depends: section in control.

  This leads to errors `Sorry, you do not have access to this resource.
  "); } try { $dwoo = new Dwoo($conf['dwoo_compiled_dir'],
  $conf['dwoo_cache_dir']); } catch (Exception $e) { print " ...`

  Installing these 2 dependencies fixes it.

  1) lsb_release -rd
  Description:	Ubuntu 16.04 LTS
  Release:	16.04

  2) apt-cache policy ganglia-webfrontend
  ganglia-webfrontend:
    Installed: 3.6.1-1ubuntu1
    Candidate: 3.6.1-1ubuntu1
    Version table:
   *** 3.6.1-1ubuntu1 500
          500 http://ubuntu.thayer.dartmouth.edu xenial/universe amd64 Packages
          500 http://ubuntu.thayer.dartmouth.edu xenial/universe i386 Packages
          100 /var/lib/dpkg/status

  3) I expected the dependencies to be installed

  4) The dependencies were missing, it was difficult for me to debug
  because I am not a php guy. Got help from 'vvuksan' on irc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ganglia-web/+bug/1577916/+subscriptions



More information about the Ubuntu-sponsors mailing list