Jira (PUP-4605) With a systemd masked service: 'enable=true ensure=running' doesn't work on CentOS with default selinux rules

26 views
Skip to first unread message

Scott Garman (JIRA)

unread,
May 15, 2017, 2:57:05 PM5/15/17
to puppe...@googlegroups.com
Scott Garman updated an issue
 
Puppet / Bug PUP-4605
With a systemd masked service: 'enable=true ensure=running' doesn't work on CentOS with default selinux rules
Change By: Scott Garman
Summary: With a systemd masked service: 'enable=true ensure=running' doesn't work  on CentOS with default selinux rules
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Moses Mendoza (JIRA)

unread,
May 18, 2017, 1:46:51 PM5/18/17
to puppe...@googlegroups.com

Branan Riley (JIRA)

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

Josh Cooper (JIRA)

unread,
Jul 15, 2019, 7:41:03 PM7/15/19
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 23, 2020, 7:58:02 PM10/23/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 5.5.z
Fix Version/s: PUP 6.u
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Oct 23, 2020, 7:58:03 PM10/23/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Nov 5, 2020, 3:51:04 AM11/5/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Nov 5, 2020, 3:52:04 AM11/5/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jun 9, 2021, 7:13:02 PM6/9/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-4605
 
Re: With a systemd masked service: 'enable=true ensure=running' doesn't work on CentOS with default selinux rules

This is not reproducible:

# getenforce 
Enforcing
# systemctl stop chronyd.service
# systemctl mask  chronyd.service
Created symlink /etc/systemd/system/chronyd.service → /dev/null.
# puppet resource service chronyd.service enable=true ensure=running
Notice: /Service[chronyd.service]/ensure: ensure changed 'stopped' to 'running'
service { 'chronyd.service':
  ensure   => 'running',
  enable   => 'true',
  provider => 'systemd',
}

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Josh Cooper (Jira)

unread,
Jun 9, 2021, 7:13:03 PM6/9/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages