Project

General

Profile

Actions

Bug #8532

closed

Update promises on Windows complains about setting ownership to "root"

Bug #8532: Update promises on Windows complains about setting ownership to "root"

Added by Nicolas CHARLES about 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

On windows, the update of promises complains about user root:

 2016-06-14T09:31:40Romance Daylight Time    
                error: /default/update/methods/'update'/default/update_action/files/'C:\Program Files\Rudder\var\ncf/common'[0]: Could not look up name 
                'root'. (LookupAccount)

it seems it tries to set ownership to root, while it should be the current admin account

Updated by Nicolas CHARLES about 10 years ago Actions #1

Interestingly, if a root user exists under windows, it goes:

2016-06-14T15:27:30Romance Daylight Time    error: /default/update/methods/'update'/default/update_action/files/'C:\Program Files\Rudder\var\ncf/common'[0]: Windows is unable to implement a change own
er policy, but file 'C:\Program Files\Rudder\var\ncf/common\30_generic_methods\user_create.cf' violates Cfengine's ownership promise (Windows can only change owner to user running Cfengine)

Updated by Nicolas CHARLES about 10 years ago Actions #2

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES

Updated by Nicolas CHARLES about 10 years ago Actions #3

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/977

Updated by Nicolas CHARLES about 10 years ago Actions #4

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Updated by Alexis Mousset almost 10 years ago Actions #5

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.23, 3.1.12 and 3.2.5 which were released today.

Actions

Also available in: PDF Atom