Bug #2767

error shown if initscript can't be found

Added by Peter Meier 9 months ago. Updated 3 months ago.

Status:Closed Start:11/01/2009
Priority:Normal Due date:
Assigned to:Jesse Wolfe % Done:

0%

Category:service
Target version:0.25.2
Affected version:0.25.1 Branch:ticket/0.25.x/2767
Keywords:
Votes: 1

Description

using 0.25.1 on debian lenny I get the following error messages if service scripts aren’t present and I still manage the service resource to be stopped:

invoke-rc.d: unknown initscript, /etc/init.d/sendmail not found.
invoke-rc.d: unknown initscript, /etc/init.d/exim not found.

<= 0.24.8 no error message have been shown and I think this should be the case, as this message is sent to stderr, hence running puppet as cron produces even by a complete successfull run output and another mail.

0001-Fixing-2767-invoke-rc.d-warnings.patch (2.1 KB) Jesse Wolfe, 11/11/2009 12:51 pm

Associated revisions

Revision b1722871ec27aa451be17e6fe6e099cc2f35cf7b
Added by Jesse Wolfe 9 months ago

Fixing #2767 invoke-rc.d warnings

Errors written to STDERR by Debian’s invoke-rc.d are spurious, since we’re only using it to query whether a service can be started. I’m adding the —quiet flag to suppress those messages.

Signed-off-by: Jesse Wolfe jes5199@gmail.com

History

Updated by James Turnbull 9 months ago

  • Status changed from Unreviewed to Accepted
  • Target version set to 0.25.2

Updated by Markus Roberts 9 months ago

  • Assigned to set to Jesse Wolfe

Updated by Jesse Wolfe 9 months ago

  • Status changed from Accepted to Ready for Testing

Updated by James Turnbull 9 months ago

  • Status changed from Ready for Testing to Ready for Checkin

Updated by Jesse Wolfe 9 months ago

  • File 0001-Fixing-2789-puppetrun-fails-without-tag.patch added
  • Branch set to ticket/0.25.x/2789

Updated by Jesse Wolfe 9 months ago

  • Branch changed from ticket/0.25.x/2789 to ticket/0.25.x/2767

Updated by Jesse Wolfe 9 months ago

  • File deleted (0001-Fixing-2789-puppetrun-fails-without-tag.patch)

Updated by James Turnbull 9 months ago

Jesse – do you have a github repo this branch is in?

Updated by Jesse Wolfe 9 months ago

James Turnbull wrote:

Jesse – do you have a github repo this branch is in?

http://github.com/jes5199/puppet git://github.com/jes5199/puppet.git

Updated by James Turnbull 9 months ago

  • Status changed from Ready for Checkin to Closed

Pushed in commit:“b1722871ec27aa451be17e6fe6e099cc2f35cf7b” in branch 0.25.x

Also available in: Atom PDF