[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-03-13 Thread Launchpad Bug Tracker
This bug was fixed in the package whoopsie - 0.2.47

---
whoopsie (0.2.47) vivid; urgency=medium

  [ Didier Roche ]
  * Remove /etc/default/whoopsie conffile and avoid upgrade prompt:
(LP: #1431432)
- debian/whoopsie.maintscript: get it removed on upgrade
- debian/whoopsie.preinst: copy the optional report_metrics value if set
  by gnome-control-center capplet to /etc/whoopsie (not a conffile).
  (LP: #1412719)
  Refactor the logic for caching report_crashes as well.
- debian/whoopsie.postinst: enhance the logic to ensure we don't have the
  service started after upgrade and keep it disable if it was disabled
- Makefile, data/whoopsie: remove the conffile so that we don't ship it
  * Bump Standards-Version

  [ Michael Blennerhassett ]
  * Under upstart: Set the WAIT_STATE to get wait-for-state to do something
useful. GOAL is also not needed.
 -- Didier RocheThu, 12 Mar 2015 17:21:58 +0100

** Changed in: whoopsie (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to whoopsie-preferences in
Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Invalid
Status in Upstart:
  Invalid
Status in upstart package in Ubuntu:
  Invalid
Status in whoopsie package in Ubuntu:
  Fix Released
Status in whoopsie-preferences package in Ubuntu:
  Fix Released

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-03-13 Thread Launchpad Bug Tracker
This bug was fixed in the package whoopsie-preferences - 0.14

---
whoopsie-preferences (0.14) vivid; urgency=medium

  * Now use service status (upstart and systemd) to notify if crash reporting
is enabled (LP: #1412719)
  * Default file for whoopsie settings (only used for report_metrics currently)
is now /etc/whoopsie (LP: #1431432)
  * debian/control: add Breaks to ensure we dep on the right whoopsie version
  * Update Standards-Version.
 -- Didier RocheThu, 12 Mar 2015 17:39:30 +0100

** Changed in: whoopsie-preferences (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to whoopsie-preferences in
Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Invalid
Status in Upstart:
  Invalid
Status in upstart package in Ubuntu:
  Invalid
Status in whoopsie package in Ubuntu:
  Fix Released
Status in whoopsie-preferences package in Ubuntu:
  Fix Released

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-03-13 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/whoopsie

** Branch linked: lp:ubuntu/vivid-proposed/whoopsie-preferences

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to whoopsie-preferences in
Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Invalid
Status in Upstart:
  Invalid
Status in upstart package in Ubuntu:
  Invalid
Status in whoopsie package in Ubuntu:
  Fix Committed
Status in whoopsie-preferences package in Ubuntu:
  Fix Committed

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-03-13 Thread Didier Roche
Fixed, I added as well Michael's upstart job enhancement in this upload
(even if that doesn't fix the real issue, still a nice addition). Didn't
merge into upstream trunk as I don't have access right, but Brian would
merge them back.

** Changed in: upstart
   Status: Confirmed => Invalid

** Changed in: upstart (Ubuntu)
   Status: Confirmed => Invalid

** Changed in: whoopsie (Ubuntu)
   Status: Triaged => Fix Committed

** Changed in: whoopsie-preferences (Ubuntu)
   Status: New => Fix Committed

** Changed in: hundredpapercuts
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to whoopsie-preferences in
Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Invalid
Status in Upstart:
  Invalid
Status in upstart package in Ubuntu:
  Invalid
Status in whoopsie package in Ubuntu:
  Fix Committed
Status in whoopsie-preferences package in Ubuntu:
  Fix Committed

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-03-13 Thread Didier Roche
** Changed in: whoopsie-preferences (Ubuntu)
 Assignee: (unassigned) => Didier Roche (didrocks)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to whoopsie-preferences in
Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged
Status in whoopsie-preferences package in Ubuntu:
  New

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-03-12 Thread Didier Roche
** Also affects: whoopsie-preferences (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to whoopsie-preferences in
Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged
Status in whoopsie-preferences package in Ubuntu:
  New

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-03-07 Thread Michael Blennerhassett
** Branch linked: lp:~mjblenner/whoopsie/whoopsie

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-02-20 Thread Chad Miller
@didrocks, I see this bug on my laptop. Ping me if you want testing or
info.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-02-04 Thread Alan
Tail of dmesg..

[ 4517.664355] init: wait-for-state (whoopsienetwork-manager) main process 
(7481) terminated with status 100
[ 4517.720627] init: whoopsie main process (7492) terminated with status 1
[ 4517.720645] init: whoopsie main process ended, respawning


** Attachment added: "full dmesg"
   
https://bugs.launchpad.net/hundredpapercuts/+bug/1412719/+attachment/4312567/+files/dmesg.txt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-01-26 Thread Didier Roche
@Steve: I think I understand what happens.
On package upgrade, if the job is disabled, then, there is an upstart .override 
file written to disable it and so, that behavior shouldn't be triggered. I 
guess this case happens currently if you disable through ubuntu-control-center 
after a new installation as I discovered that there is another library (another 
source package), using that file: whoopsie-preferences that can read/set values 
in this file.

However, I see that there is another value about report_metrics that we don't 
use for job enablement status.
I propose to do the following on ubuntu-control-center: report crashes -> add 
the override and call systemctl disable if installed, change 
whoopsie-preferences to be aware of those files and detect usptart/systemd for 
current values.

This should prevent whoopsie to loop when the job is disabled and only
have the current enablement state in one place (through libwhoopsie-
preferences).

I can set the other changes that you described as well to fix the
upstart job, just following what you see as I'm in no way an upstart
expert :)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-01-24 Thread Clint Byrum
Michael, agree that 'started' is the wrong thing to look for and has
probably caused a few confusing things through the years since wait-for-
state has been in use. I think the patch should be merged.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-01-24 Thread Alberto Salvia Novella
** Changed in: whoopsie (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-01-23 Thread Michael Blennerhassett
Looking at man 8 init, there is no job state "started", so having
WAIT_STATE=started is exactly equal to WAIT_STATE=foobar, since they
both don't exit.

So you may as well change it to something sensible.

Also, the reason that whoopsie exits as soon as it is respawned is that
there is already another whoopsie process running, that either was
started by something else (apport?), or upstart tost track of it.

Either way, fixing the wait-for-state (this patch or fixing
whoopsie.conf), fixes the 30sec respawn bug.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-01-23 Thread Steve Langasek
This is a regression introduced in the last whoopsie upload in vivid.
Prior to this, the upstart job included deliberate handling in
/etc/init/whoopsie.conf to ensure that if whoopsie were disabled in the
config, the job would be stopped without triggering upstart's respawn
behavior.  Assigning this bug to the developer who made this change.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-01-23 Thread Steve Langasek
The second part of the patch proposed to upstart's wait-for-state job is
reasonable, but has nothing to do with the behavior shown here.  And the
first part of the patch is wrong.  It's not appropriate to change the
default wait-for-state behavior that other packages are relying on.

/etc/init/whoopsie.conf has:

status network-manager >/dev/null 2>&1 && start wait-for-state
WAITER=whoopsie WAIT_FOR=network-manager GOAL=start || :

- 'GOAL' is incorrect; the variable name is 'TARGET_GOAL', but start is the 
default so this is a cosmetic issue.
- because network-manager runs a service, WAIT_STATE=running needs to be 
specified here.
- changing any of this will not cause whoopsie to stop respawning.  All of the 
wait-for-state handling happens in a *pre-start* script which has been written 
to ignore any failure from wait-for-state.  The logs in this bug clearly show 
that there is a main process which is exiting.

[14103.317598] init: whoopsie main process ended, respawning

This means that whoopsie itself is exiting for some reason and then
being respawned.  wait-for-state is in no way causing whoopsie to be
restarted; the only thing wait-for-state is doing is causing enough of a
delay in the pre-start that the respawn limit is never hit, causing this
to loop indefinitely.  But the real issue is whatever is causing
whoopsie to exit in the first place.


** Changed in: upstart (Ubuntu)
   Importance: High => Wishlist

** Also affects: whoopsie (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: whoopsie (Ubuntu)
   Status: New => Triaged

** Changed in: whoopsie (Ubuntu)
 Assignee: (unassigned) => Didier Roche (didrocks)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-01-23 Thread Alberto Salvia Novella
** Changed in: upstart (Ubuntu)
   Importance: Undecided => High

** Also affects: upstart
   Importance: Undecided
   Status: New

** Changed in: upstart
   Status: New => Confirmed

** Also affects: hundredpapercuts
   Importance: Undecided
   Status: New

** Changed in: hundredpapercuts
   Status: New => Confirmed

** Changed in: hundredpapercuts
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in One Hundred Papercuts:
  Confirmed
Status in Upstart:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-01-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: upstart (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in upstart package in Ubuntu:
  Confirmed

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-01-20 Thread Ubuntu Foundations Team Bug Bot
The attachment "Fix for wait-for-state" seems to be a patch.  If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in upstart package in Ubuntu:
  New

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1412719] Re: wait-for-state restarts whoopsie every 30sec

2015-01-20 Thread Michael Blennerhassett
This patch changes the defaults for wait-for-state.conf to something
sensible for WAIT_STATE.

** Patch added: "Fix for wait-for-state"
   
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1412719/+attachment/4302214/+files/wait_fix.patch

** Tags added: trusty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1412719

Title:
  wait-for-state restarts whoopsie every 30sec

Status in upstart package in Ubuntu:
  New

Bug description:
  wait-for-state is restarting whoopsie every 30sec:

  [14103.317598] init: whoopsie main process ended, respawning
  [14133.330315] init: wait-for-state (whoopsienetwork-manager) main process 
(10221) terminated with status 100
  [14133.396185] init: whoopsie main process (10227) terminated with status 1
  [14133.396205] init: whoopsie main process ended, respawning
  [14163.409765] init: wait-for-state (whoopsienetwork-manager) main process 
(10231) terminated with status 100
  [14163.468346] init: whoopsie main process (10237) terminated with status 1
  [14163.468366] init: whoopsie main process ended, respawning
  [14193.485204] init: wait-for-state (whoopsienetwork-manager) main process 
(10241) terminated with status 100
  [14193.560511] init: whoopsie main process (10249) terminated with status 1
  [14193.560531] init: whoopsie main process ended, respawning

  
  The problem in wait-for-state.conf is this line:
  status $WAIT_FOR | grep -q "$TARGET_GOAL/$WAIT_STATE" && exit 0

  TARGET_GOAL is either "start" or "stop".
  WAIT_STATE by default is "started", but there is no job status like 
"start/started".

  so WAIT_STATE needs to be something like "running" (or "waiting" for
  goal of "stop").

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upstart 1.13.2-0ubuntu6
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jan 20 20:59:02 2015
  InstallationDate: Installed on 2014-09-03 (139 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140902)
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.18.0-9-generic 
root=UUID=93e046a8-7604-4f60-a5f8-b3be22f948aa ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  UpstartRunningSessionVersion: upstart 1.13.2
  UpstartRunningSystemVersion: init (upstart 1.13.2)
  modified.conffile..etc.init.wait.for.state.conf: [modified]
  mtime.conffile..etc.init.wait.for.state.conf: 2015-01-20T20:02:17.598668

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp