Issue #443 has been updated by Luke Kanies.

Assigned to changed from Luke Kanies to Markus Roberts


----------------------------------------
Bug #443: 'puppetd' is not backgrounding correctly
http://projects.puppetlabs.com/issues/443

Author: Luke Kanies
Status: Accepted
Priority: Low
Assigned to: Markus Roberts
Category: executables
Target version: unplanned
Patch: None
Affected version: 0.25.4
Keywords: 
Branch: 


When puppetd is started using a remote execution tool, it dies with an EOF 
unless an '&' is tacked onto the start call.  Here's a stack trace:

<pre>
 | 00000  2f 75 73 72 2f 6c 69 62  36 34 2f 73 69 74 65 5f  /usr/lib 64/site_ |
 | 00010  72 75 62 79 2f 31 2e 38  2f 70 75 70 70 65 74 2f  ruby/1.8 /puppet/ |
 | 00020  65 76 65 6e 74 2d 6c 6f  6f 70 2f 65 76 65 6e 74  event-lo op/event |
 | 00030  2d 6c 6f 6f 70 2e 72 62  3a 38 36 3a 69 6e 20 60  -loop.rb :86:in @ |
 | 00040  73 79 73 72 65 61 64 27                           sysread'          |
 | 00000  3a 20                                             :                 |
 | 00000  45 6e 64 20 6f 66 20 66  69 6c 65 20 72 65 61 63  End of f ile reac |
 | 00010  68 65 64                                          hed               |
 | 00000  20 28                                              (                |
 | 00000  45 4f 46 45 72 72 6f 72                           EOFError          |
 | 00000  29 0a                                             ).                |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 65 76 65 6e 74 2d 6c  6f 6f 70 2e 72 62 3a 38  /event-l oop.rb:8 |
 | 00040  36 3a 69 6e 20 60 69 6e  69 74 69 61 6c 69 7a 65  6:in @in itialize |
 | 00050  27 0a                                             '.                |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 65 76 65 6e 74 2d 6c  6f 6f 70 2e 72 62 3a 38  /event-l oop.rb:8 |
 | 00040  34 3a 69 6e 20 60 63 61  6c 6c 27 0a              4:in @ca ll'.     |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 73 69 67 6e 61 6c 2d  73 79 73 74 65 6d 2e 72  /signal- system.r |
 | 00040  62 3a 39 37 3a 69 6e 20  60 5f 5f 73 69 67 6e 61  b:97:in  @+signa |
 | 00050  6c 5f 5f 27 0a                                    l+'.             |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 73 69 67 6e 61 6c 2d  73 79 73 74 65 6d 2e 72  /signal- system.r |
 | 00040  62 3a 39 37 3a 69 6e 20  60 65 61 63 68 27 0a     b:97:in  @each'.  |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 73 69 67 6e 61 6c 2d  73 79 73 74 65 6d 2e 72  /signal- system.r |
 | 00040  62 3a 39 37 3a 69 6e 20  60 5f 5f 73 69 67 6e 61  b:97:in  @+signa |
 | 00050  6c 5f 5f 27 0a                                    l+'.             |
 | 00000  09 66 72 6f 6d 20 28 65  76 61 6c 29 3a 32 3a 69  .from (e val):2:i |
 | 00010  6e 20 60 73 69 67 6e 61  6c 27 0a                 n @signa l'.      |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 65 76 65 6e 74 2d 6c  6f 6f 70 2e 72 62 3a 31  /event-l oop.rb:1 |
 | 00040  31 33 3a 69 6e 20 60 69  74 65 72 61 74 65 27 0a  13:in @i terate'. |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 65 76 65 6e 74 2d 6c  6f 6f 70 2e 72 62 3a 31  /event-l oop.rb:1 |
 | 00040  31 33 3a 69 6e 20 60 65  61 63 68 27 0a           13:in @e ach'.    |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 65 76 65 6e 74 2d 6c  6f 6f 70 2e 72 62 3a 31  /event-l oop.rb:1 |
 | 00040  31 33 3a 69 6e 20 60 69  74 65 72 61 74 65 27 0a  13:in @i terate'. |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 65 76 65 6e 74 2d 6c  6f 6f 70 2e 72 62 3a 31  /event-l oop.rb:1 |
 | 00040  31 32 3a 69 6e 20 60 7a  69 70 27 0a              12:in @z ip'.     |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 65 76 65 6e 74 2d 6c  6f 6f 70 2e 72 62 3a 31  /event-l oop.rb:1 |
 | 00040  31 32 3a 69 6e 20 60 69  74 65 72 61 74 65 27 0a  12:in @i terate'. |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2f 65 76  65 6e 74 2d 6c 6f 6f 70  uppet/ev ent-loop |
 | 00030  2f 65 76 65 6e 74 2d 6c  6f 6f 70 2e 72 62 3a 31  /event-l oop.rb:1 |
 | 00040  30 33 3a 69 6e 20 60 72  75 6e 27 0a              03:in @r un'.     |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 6c 69 62 36 34  .from /u sr/lib64 |
 | 00010  2f 73 69 74 65 5f 72 75  62 79 2f 31 2e 38 2f 70  /site_ru by/1.8/p |
 | 00020  75 70 70 65 74 2e 72 62  3a 33 32 38 3a 69 6e 20  uppet.rb :328:in  |
 | 00030  60 73 74 61 72 74 27 0a                           @start'.          |
 | 00000  09 66 72 6f 6d 20 2f 75  73 72 2f 73 62 69 6e 2f  .from /u sr/sbin/ |
 | 00010  70 75 70 70 65 74 64 3a  34 34 36 0a              puppetd: 446.     |
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to