Jira (PUP-7311) runit service restart override doesn't work

2 views
Skip to first unread message

Oskar Levin (JIRA)

unread,
Mar 7, 2017, 7:40:02 AM3/7/17
to puppe...@googlegroups.com
Oskar Levin created an issue
 
Puppet / Bug PUP-7311
runit service restart override doesn't work
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2017/03/07 4:39 AM
Environment:

CentOS 6.8, puppet-3.8.7-1.el6.noarch downloaded from http://yum.puppetlabs.com/el/6/products/

Priority: Normal Normal
Reporter: Oskar Levin

When supplying the restart command, it still runs sv restart oskar-test-service rather than the restart command I specified.

service

{ 'oskar-test-service': provider => 'runit', ensure => 'running', restart => '/bin/kill -HUP \$(cat /etc/service/oskar-test-service/supervise/pid)', }

Using this on CentOS 7 and with systemd and it seems to work there, but not with the runit provider.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

John Duarte (JIRA)

unread,
Mar 7, 2017, 4:46:03 PM3/7/17
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
Sprint: Agent Triage

John Duarte (JIRA)

unread,
Mar 7, 2017, 4:46:04 PM3/7/17
to puppe...@googlegroups.com

Oskar Levin (JIRA)

unread,
Mar 7, 2017, 10:34:02 PM3/7/17
to puppe...@googlegroups.com
Oskar Levin updated an issue
Change By: Oskar Levin
When supplying the restart command, it still runs sv restart oskar-test-service rather than the restart command I specified.

service { 'oskar-test-service':
  provider => 'runit',
  ensure => 'running',
  restart => '/bin/kill -HUP \$(cat /etc/service/oskar-test-service/supervise/pid)',
}

Using this on CentOS 7 and with systemd and it seems to work there, but not with the runit provider.

Geoff Nichols (JIRA)

unread,
Mar 10, 2017, 12:43:02 PM3/10/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Sprint: Agent Triage

Geoff Nichols (JIRA)

unread,
Mar 10, 2017, 12:43:03 PM3/10/17
to puppe...@googlegroups.com

Eric Delaney (JIRA)

unread,
Mar 10, 2017, 6:51:03 PM3/10/17
to puppe...@googlegroups.com
Eric Delaney updated an issue
Change By: Eric Delaney
Sprint: Agent Triage

Eric Delaney (JIRA)

unread,
Mar 10, 2017, 6:51:03 PM3/10/17
to puppe...@googlegroups.com

Geoff Nichols (JIRA)

unread,
Mar 11, 2017, 1:12:02 AM3/11/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Sprint: Agent  Triage  Accepted

Geoff Nichols (JIRA)

unread,
Apr 5, 2017, 1:07:09 AM4/5/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Sprint: Agent Accepted

Josh Cooper (JIRA)

unread,
May 17, 2017, 3:48:03 PM5/17/17
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
When supplying the restart command, it still runs sv restart oskar-test-service rather than the restart command I specified.

{code:puppet}
service { 'oskar-test-service':
  provider => 'runit',
  ensure => 'running',
  restart => '/bin/kill -HUP \$(cat /etc/service/oskar-test-service/supervise/pid)',
}
{code}

Using this on CentOS 7 and with systemd and it seems to work there, but not with the runit provider.

Related/useful links:
https://projects.puppetlabs.com/issues/2642
https://projects.puppetlabs.com/issues/18021

Ethan Brown (JIRA)

unread,
May 17, 2017, 3:49:02 PM5/17/17
to puppe...@googlegroups.com
Ethan Brown updated an issue
Change By: Ethan Brown
Labels: triaged

Josh Cooper (JIRA)

unread,
May 17, 2017, 3:50:02 PM5/17/17
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-7311
 
Re: runit service restart override doesn't work

runit and daemontools don't implement the logic to override the restart logic.

Moses Mendoza (JIRA)

unread,
May 17, 2017, 3:50:02 PM5/17/17
to puppe...@googlegroups.com

Branan Riley (JIRA)

unread,
May 14, 2018, 2:53:03 PM5/14/18
to puppe...@googlegroups.com
Branan Riley updated an issue
 
Change By: Branan Riley
Labels: linux runit service triaged type_and_provider
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (Jira)

unread,
Jun 9, 2021, 10:21:01 PM6/9/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-7311
 
Re: runit service restart override doesn't work

Oskar Levin the runit service provider hasn't been updated in a very long time, and we are unlikely to spend any time on this, so I'm going to close this. If you wanted to submit a pull request to override the restart logic that'd be great. Just reopen this and reach out in slack if you have any questions about how to get started.

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages