Jira (PUP-11378) User resource difference in functionality between rhel 7 and 8

0 views
Skip to first unread message

Patrick Grant (Jira)

unread,
Dec 13, 2021, 1:28:01 PM12/13/21
to puppe...@googlegroups.com
Patrick Grant created an issue
 
Puppet / Bug PUP-11378
User resource difference in functionality between rhel 7 and 8
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/12/13 10:27 AM
Priority: Normal Normal
Reporter: Patrick Grant

*Puppet version: 6.22.1 (PE Agent from PE 2019.8.6)
Puppet Server Version: 6.15.3
OS Name/Version: rhel 7 and rhel 8*

In this case, both systems have a local and domain user called administrator, in rhel 8 this results in corrective changes on each run as it tries to manage the domain user whereas this seems to be ignored on the rhel 7 box, and only the local user is managed.

Desired Behaviour: Behaviour is consistent across OS versions. What that should be, I'm not exactly sure, should the local user take precedence in this case?

Actual Behaviour: rhel 7, puppet only acts on the local user, rhel 8 has a corrective change on every run as it manages the domain administrator:

Dec 7 13:01:43 <hostname> puppet-agent[18320]: (/Stage[main]/Profile::Base/User[administrator]/uid) change from 1553200500 to 1000 failed: Could not set uid on user[administrator]: Execution of '/usr/sbin/usermod -u 1000 administrator' returned 4: usermod: UID '1000' already exists (corrective)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Patrick Grant (Jira)

unread,
Dec 13, 2021, 1:31:01 PM12/13/21
to puppe...@googlegroups.com
Patrick Grant updated an issue
Change By: Patrick Grant
*Puppet version: 6.22.1 (PE Agent from PE 2019.8.6) *
* Puppet Server Version: 6.15.3 *
* OS Name/Version: rhel 7 and rhel 8*


In this case, both systems have a local and domain user called administrator, in rhel 8 this results in corrective changes on each run as it tries to manage the domain user whereas this seems to be ignored on the rhel 7 box, and only the local user is managed.

*Desired Behaviour:* Behaviour is consistent across OS versions. What that should be, I'm not exactly sure, should the local user take precedence in this case?

*Actual Behaviour:* rhel 7, puppet only acts on the local user, rhel 8 has a corrective change on every run as it manages the domain administrator:

{code:java}

Dec 7 13:01:43 <hostname> puppet-agent[18320]: (/Stage[main]/Profile::Base/User[administrator]/uid) change from 1553200500 to 1000 failed: Could not set uid on user[administrator]: Execution of '/usr/sbin/usermod -u 1000 administrator' returned 4: usermod: UID '1000' already exists (corrective)
{code}


Austin Boyd (Jira)

unread,
Dec 13, 2021, 1:31:03 PM12/13/21
to puppe...@googlegroups.com

Patrick Grant (Jira)

unread,
Dec 13, 2021, 1:32:03 PM12/13/21
to puppe...@googlegroups.com
Patrick Grant updated an issue
Change By: Patrick Grant
Zendesk Ticket Count: 1
Zendesk Ticket IDs: 46670

Patrick Grant (Jira)

unread,
Dec 13, 2021, 1:33:03 PM12/13/21
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Dec 14, 2021, 4:04:01 AM12/14/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages