Project

General

Profile

Actions

Bug #8532

closed

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

Added by Nicolas CHARLES almost 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

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

Actions #1

Updated by Nicolas CHARLES almost 5 years ago

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)

Actions #2

Updated by Nicolas CHARLES almost 5 years ago

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

Updated by Nicolas CHARLES almost 5 years ago

  • 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
Actions #4

Updated by Nicolas CHARLES almost 5 years ago

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

Updated by Alexis MOUSSET almost 5 years ago

  • 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: Atom PDF