Issue #6824 has been updated by Oliver Hookins.

I can't determine the black magic the Etc module is using to actually get its 
dirty work done, but would it be out of the question to vendor the module or 
use some similar monkeypatching to fix this behaviour in platforms that don't 
correctly work? Surely there is plenty of precedent already for this kind of 
thing.
----------------------------------------
Bug #6824: Cannot manage account for user nfsnobody: "tried to get name field 
for silly id 4294967294"
https://projects.puppetlabs.com/issues/6824#change-60385

Author: Jacek Masiulaniec
Status: Needs More Information
Priority: Normal
Assignee: Nigel Kersten
Category: Red Hat
Target version: 
Affected Puppet version: 2.6.6
Keywords: 
Branch: 


I'd like to receive userdel suggestions for unmanaged users:

        resources { 'user':
                noop               => true,
                purge              => true,
                unless_system_user => true,
        }

On default CentOS install, there is single non-system user:

        nfsnobody:x:4294967294:4294967294:Anonymous NFS 
User:/var/lib/nfs:/sbin/nologin

which would, roughly, translate to:

        user {
                'nfsnobody': uid => 4294967294, gid => 4294967294;
        }

However, this triggers buggy warning:

[root@localhost puppet]# puppet agent --test --noop
info: Caching catalog for localhost.localdomain
info: Applying configuration version '1300966851'
err: Tried to get name field for silly id 4294967294
notice: /Stage[main]//Node[default]/User[nfsnobody]/gid: current_value 
4294967294, should be 4294967294 (noop)
notice: Finished catalog run in 0.42 seconds
[root@localhost puppet]# 


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to