[Bug 1755615] Re: PCP daemons do not start automatically for bionic

2018-04-03 Thread Scott Emmons
** Description changed:

  Sync request:
  
  Source package name: pcp
  Source package version number: 4.0.1-1
  Where to sync from: Debian sid main
+ 
+ Freeze exception justification:
+ 
+ The current version of PCP in bionic (4.0.0) has a serious bug that
+ prevents the PCP daemons from starting. I submitted a fix for this in
+ the upstream project, which was released as part of PCP 4.0.1 and is now
+ in Debian sid as 4.0.1-1. While late in the release cycle for bionic,
+ the current package is broken as-is. As nobody else seems to have
+ encountered or reported this issue, I would argue syncing the latest
+ release is less risky than an ubuntu one-off patch to 4.0.0 addressing
+ just the start up issue.
+ 
+ Note this only affects bionic, as artful has a previous release of PCP
+ (3.12.1) which does not have this bug.
  
  === Original Description
  The PCP 4.0.0 packages for bionic do not automatically start PCP daemon 
processes.
  
  From my research so far, I believe the reason for this is that PCP 4.0.0
  ships both sysvinit scripts and systemd unit files (which simply call
  the sysvinit scripts). The services are enabled in the postinstall via
  "update-rc.d  defaults". It appears that the behavior for
  "update-rc.d ... defaults" is different for generated units (sysvinit
  only, where they do get enabled), versus when systemd units are
  available (where they are not enabled and not generated).
  
  After installing PCP packages, the systemd units have status (using
  pmcd.service for this example, but it applies to app PCP daemons):
  
  Loaded: loaded (/lib/systemd/system/pmcd.service; disabled; vendor
  preset: enabled)
  
  Running "update-rc.d pmcd defaults" results in no change to the status
  (confirming that "defaults" does not enable the service):
  
  Loaded: loaded (/lib/systemd/system/pmcd.service; disabled; vendor
  preset: enabled)
  
  After running "update-rc.d pmcd enabled", the service is correctly
  enabled:
  
  Loaded: loaded (/lib/systemd/system/pmcd.service; enabled; vendor
  preset: enabled)
  
  The best answer is probably to use deb-systemd-helper, or other
  appropriate systemd commands in the postinst when installing on a system
  with systemd, instead of using the old update-rc.d commands which appear
  to behave differently and in violation of the Debian policy manual,
  which states: "The default behaviour is to enable autostarting your
  package’s daemon."[1]
  
  [1] https://www.debian.org/doc/debian-policy/#managing-the-links

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755615

Title:
  PCP daemons do not start automatically for bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/pcp/+bug/1755615/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1755615] Re: PCP daemons do not start automatically for bionic

2018-04-03 Thread Simon Quigley
This bug was fixed in the package pcp - 4.0.1-1
Sponsored for Scott Emmons (lscotte)

---
pcp (4.0.1-1) unstable; urgency=low

  * New release (full details in CHANGELOG).

 -- Nathan Scott   Thu, 29 Mar 2018 10:11:12 +1100

** Changed in: pcp (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755615

Title:
  PCP daemons do not start automatically for bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/pcp/+bug/1755615/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1755615] Re: PCP daemons do not start automatically for bionic

2018-04-03 Thread Scott Emmons
** Description changed:

- The PCP 4.0.0 packages for bionic do not automatically start PCP daemon
- processes.
+ Sync request:
+ 
+ Source package name: pcp
+ Source package version number: 4.0.1-1
+ Where to sync from: Debian sid main
+ 
+ === Original Description
+ The PCP 4.0.0 packages for bionic do not automatically start PCP daemon 
processes.
  
  From my research so far, I believe the reason for this is that PCP 4.0.0
  ships both sysvinit scripts and systemd unit files (which simply call
  the sysvinit scripts). The services are enabled in the postinstall via
  "update-rc.d  defaults". It appears that the behavior for
  "update-rc.d ... defaults" is different for generated units (sysvinit
  only, where they do get enabled), versus when systemd units are
  available (where they are not enabled and not generated).
  
  After installing PCP packages, the systemd units have status (using
  pmcd.service for this example, but it applies to app PCP daemons):
  
  Loaded: loaded (/lib/systemd/system/pmcd.service; disabled; vendor
  preset: enabled)
  
  Running "update-rc.d pmcd defaults" results in no change to the status
  (confirming that "defaults" does not enable the service):
  
  Loaded: loaded (/lib/systemd/system/pmcd.service; disabled; vendor
  preset: enabled)
  
  After running "update-rc.d pmcd enabled", the service is correctly
  enabled:
  
  Loaded: loaded (/lib/systemd/system/pmcd.service; enabled; vendor
  preset: enabled)
  
  The best answer is probably to use deb-systemd-helper, or other
  appropriate systemd commands in the postinst when installing on a system
  with systemd, instead of using the old update-rc.d commands which appear
  to behave differently and in violation of the Debian policy manual,
  which states: "The default behaviour is to enable autostarting your
  package’s daemon."[1]
  
  [1] https://www.debian.org/doc/debian-policy/#managing-the-links

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755615

Title:
  PCP daemons do not start automatically for bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/pcp/+bug/1755615/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1755615] Re: PCP daemons do not start automatically for bionic

2018-04-03 Thread Scott Emmons
4.0.1 has been released, and the upstream debian sid version is now
4.0.1-1 and can be brought into bionic directly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755615

Title:
  PCP daemons do not start automatically for bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/pcp/+bug/1755615/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1755615] Re: PCP daemons do not start automatically for bionic

2018-03-16 Thread Bug Watch Updater
** Changed in: pcp
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755615

Title:
  PCP daemons do not start automatically for bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/pcp/+bug/1755615/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1755615] Re: PCP daemons do not start automatically for bionic

2018-03-16 Thread Scott Emmons
Fixed via
https://github.com/performancecopilot/pcp/pull/455/commits/ae80a78c7789b430901de1395b377923bf282a72
and will be in PCP 4.0.1 to be released soon.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755615

Title:
  PCP daemons do not start automatically for bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/pcp/+bug/1755615/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1755615] Re: PCP daemons do not start automatically for bionic

2018-03-13 Thread Bug Watch Updater
** Changed in: pcp
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755615

Title:
  PCP daemons do not start automatically for bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/pcp/+bug/1755615/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1755615] Re: PCP daemons do not start automatically for bionic

2018-03-13 Thread Scott Emmons
Reported upstream at
https://github.com/performancecopilot/pcp/issues/454

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755615

Title:
  PCP daemons do not start automatically for bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/pcp/+bug/1755615/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs