Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1447

Redhat hosts try to create user directory but should not

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: Promise type: users
    • Labels:
      None
    • Platform:
      Linux

      Description

      Given the following promise:

      <pre>
      bundle agent test
      {
      users:
      "user"
      policy => "present",
      home_dir => "/nfs/home/user";
      }
      </pre>

      no home directory should be created, since this is explicitly left up to the @home_bundle@ attribute. However, on Redhat hosts, the @CREATE_HOME@ attribute is set by default in the local configuration, which means that the directory is created anyway. We need to prevent this.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              a10040 Kristian Amlie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel