Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-11095

Creating new user on macOS 10.14 results in `Operation not permitted` error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.23.0, PUP 7.8.0
    • Component/s: None
    • Labels:
    • Template:
      PUP Bug Template
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      NW - 2021-06-16
    • Method Found:
      Needs Assessment
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Aligns behaviour of user password management on macOS 10.14 with other versions to avoid `Operation not permitted @ rb_sysopen` transient errors.
    • QA Risk Assessment:
      Needs Assessment

      Description

      *Puppet Version:*7.7.0
      *OS Name/Version:*macOS 10.14

      Creating a new user on macOS 10.14 sometimes results in the following error:
      Operation not permitted @ rb_sysopen - /var/db/dslocal/nodes/Default/users/testuser.plist

      This issue is not seen on macOS 10.15 or macOS 11.

      Manifest used:

       user { 'testuser':
                  ensure => present,
                  password => '6ce97688468f231845d9d982f1f10832ca0c6c728a77bac51c548af99ebd9b9c62bcba15112a0c7a7e34effbb2e92635650c79c51517d72b083a4eb2a513f51ad1f8ea9556cef22456159c341d8bcd382a91708afaf253c2b727d4c6cd3d29cc26011d5d511154037330ecea0263b1be8c1c13086d029c57344291bd37952b56',
                  salt       => '377e8b60e5fdfe509cad188d5b1b9e40e78b418f8c3f0127620ea69d4c32789c',
                  iterations => 40000,
                }
      

        Attachments

          Activity

            People

            Assignee:
            luchian.nemes Luchian Nemes
            Reporter:
            luchian.nemes Luchian Nemes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support