Issue #10299 has been updated by Jeff McCune.

# Impact Data #

I think this work may be a blocker for #11696 as I just ran into this in my 
investigation planning and scoping work for the PE Windows Installer.

Here's what I found:

<pre>

C:\>ping puppet

Pinging pe-centos6.puppetlabs.vm [172.16.214.133] with 32 bytes of data:

Reply from 172.16.214.133: bytes=32 time<1ms TTL=64
Reply from 172.16.214.133: bytes=32 time<1ms TTL=64
Reply from 172.16.214.133: bytes=32 time<1ms TTL=64
Reply from 172.16.214.133: bytes=32 time<1ms TTL=64

Ping statistics for 172.16.214.133:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>puppet --version
2.7.9

C:\>whoami
nt authority\system

C:\>puppet config print confdir
C:/Documents and Settings/Default User/.puppet
</pre>
----------------------------------------
Bug #10299: Puppet.features.root? doesn't return true when running under as 
SYSTEM on Windows
https://projects.puppetlabs.com/issues/10299

Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee: Josh Cooper
Category: windows
Target version: 2.7.x
Affected Puppet version: 2.7.4
Keywords: 
Branch: 


On Windows, the SYSTEM (aka LocalSystem) account is not a member of the local 
Administrators group, so Puppet.features.root? returns false, when it should 
return true. This results in two issues, first puppet agent can't find it's 
Puppet::Util::RunMode#conf_dir, which points to the location of its 
configuration file. Second, the agent will raise an error when attempting to 
set owner, group, etc.


-- 
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