Jira (PUP-9706) Removing user on Solaris 11 with altered managehome

27 views
Skip to first unread message

Eimhin Laverty (JIRA)

unread,
May 15, 2019, 10:55:03 AM5/15/19
to puppe...@googlegroups.com
Eimhin Laverty created an issue
 
Puppet / Bug PUP-9706
Removing user on Solaris 11 with altered managehome
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2019/05/15 7:54 AM
Priority: Normal Normal
Reporter: Eimhin Laverty

Puppet Version: 6.4.2
Puppet Server Version: N/A
OS Name/Version: Solaris 11

Desired Behavior: Able to remove a user without any errors

Actual Behavior:

When applying the following an error occurs:

root@yz4rr58lsjdxqz3:~# puppet apply -e 'user { "testuser": ensure => "present", managehome => false }'
Notice: /File[/etc/puppetlabs/code/environments/production]/ensure: created
Notice: Compiled catalog for yz4rr58lsjdxqz3.delivery.puppetlabs.net in environment production in 0.03 seconds
Notice: /Stage[main]/Main/User[testuser]/ensure: created
Notice: Applied catalog in 0.06 seconds
root@yz4rr58lsjdxqz3:~# puppet apply -e 'user { "testuser": ensure => "absent",  managehome => true  }'
Notice: Compiled catalog for yz4rr58lsjdxqz3.delivery.puppetlabs.net in environment production in 0.03 seconds
Error: Could not delete user testuser: Execution of '/usr/sbin/userdel -r testuser' returned 12: UX: /usr/sbin/userdel: ERROR: Unable to remove home directory. No such file or directory
Error: /Stage[main]/Main/User[testuser]/ensure: change from 'present' to 'absent' failed: Could not delete user testuser: Execution of '/usr/sbin/userdel -r testuser' returned 12: UX: /usr/sbin/userdel: ERROR: Unable to remove home directory. No such file or directory
Notice: Applied catalog in 0.12 seconds// code placeholder

We are seeing this issue in puppetlabs-accounts in https://github.com/puppetlabs/puppetlabs-accounts/pulls/222 when running adhoc against Solaris 11.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Robert August Vincent II (JIRA)

unread,
May 16, 2019, 5:53:02 PM5/16/19
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
May 16, 2019, 6:13:02 PM5/16/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Change By: Josh Cooper
Team: Puppet Romania

Mihai Buzgau (JIRA)

unread,
Jun 4, 2019, 3:06:03 AM6/4/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - 2019-06-12

Robert August Vincent II (JIRA)

unread,
Jun 4, 2019, 2:55:03 PM6/4/19
to puppe...@googlegroups.com

Michael Smith (JIRA)

unread,
Jun 5, 2019, 3:21:03 AM6/5/19
to puppe...@googlegroups.com
Michael Smith updated an issue
 
Change By: Michael Smith
Fix Version/s: PUP 5.5.z

Michael Smith (JIRA)

unread,
Jun 5, 2019, 3:21:04 AM6/5/19
to puppe...@googlegroups.com
Michael Smith updated an issue
Change By: Michael Smith
Fix Version/s: PUP 6.y
Fix Version/s: PUP 6.0.z

Oana Tanasoiu (JIRA)

unread,
Jun 10, 2019, 3:28:03 AM6/10/19
to puppe...@googlegroups.com
Oana Tanasoiu updated an issue
Change By: Oana Tanasoiu
Fix Version/s: PUP 6.5.0

Heston Hoffman (JIRA)

unread,
Jun 12, 2019, 6:26:03 PM6/12/19
to puppe...@googlegroups.com
Heston Hoffman updated an issue
Change By: Heston Hoffman
Labels: resolved-issue-added

Gheorghe Popescu (JIRA)

unread,
Jul 3, 2019, 4:49:03 AM7/3/19
to puppe...@googlegroups.com
Gheorghe Popescu updated an issue
Change By: Gheorghe Popescu
Fix Version/s: PUP 6.0.z
Fix Version/s: PUP 5.5.z
Fix Version/s: PUP 6.y
Fix Version/s: PUP 6.4.3
Fix Version/s: PUP 6.0.10
Fix Version/s: PUP 5.5.15
Reply all
Reply to author
Forward
0 new messages