Jira (PUP-10421) CentOS 8: service resource will not correctly detect enable state of resource

0 views
Skip to first unread message

Mihai Buzgau (Jira)

unread,
Apr 15, 2020, 5:53:03 AM4/15/20
to puppe...@googlegroups.com
Mihai Buzgau moved an issue
 
Puppet / Bug PUP-10421
CentOS 8: service resource will not correctly detect enable state of resource
Change By: Mihai Buzgau
Key: PA PUP - 3181 10421
Affects Version/s: puppet-agent 6.14.0
Project: Puppet Agent
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Mihai Buzgau (Jira)

unread,
Apr 15, 2020, 5:54:03 AM4/15/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Apr 15, 2020, 5:54:03 AM4/15/20
to puppe...@googlegroups.com

Gabriel Nagy (Jira)

unread,
Apr 22, 2020, 7:36:03 AM4/22/20
to puppe...@googlegroups.com

Gabriel Nagy (Jira)

unread,
Apr 22, 2020, 7:47:04 AM4/22/20
to puppe...@googlegroups.com
Gabriel Nagy commented on Bug PUP-10421
 
Re: CentOS 8: service resource will not correctly detect enable state of resource

Hi Stephan Schultchen,

I was not able to reproduce this on CentOS 8 with the systemd-resolved service.

If you look closely at the first snippet you pasted:

   Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: disabled)

You can see enabled in the line above. For me, when the service is disabled, disabled is shown, so Puppet would be right to treat the service as enabled.

Under the hood, Puppet executes systemctl is-enabled service_name to check if a service is enabled. Can you check if the enabled state reported by Puppet matches the output of systemctl is-enabled?

Thanks,
Gabriel

Reply all
Reply to author
Forward
0 new messages