Skip to content

ENT-5986 Changed system_owned group for solaris back to default of root (3.12.x)#1766

Closed
craigcomstock wants to merge 1 commit intocfengine:3.12.xfrom
craigcomstock:ENT-5986/3.12.x
Closed

ENT-5986 Changed system_owned group for solaris back to default of root (3.12.x)#1766
craigcomstock wants to merge 1 commit intocfengine:3.12.xfrom
craigcomstock:ENT-5986/3.12.x

Conversation

@craigcomstock
Copy link
Copy Markdown
Contributor

@craigcomstock craigcomstock commented May 28, 2020

In research on Solaris 10 and 11 it seems that "sys" is not used.

Ticket: ENT-5986
Changelog: Title

merge with:
cfengine/core#4199

@craigcomstock
Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins with exotics

@craigcomstock craigcomstock requested review from nickanderson and removed request for nickanderson May 28, 2020 15:06
@craigcomstock craigcomstock added the WIP Work in Progress label May 28, 2020
@cf-bottom
Copy link
Copy Markdown

Alright, I triggered a build:

Build Status

(with exotics)

Jenkins: https://ci.cfengine.com/job/pr-pipeline/5177/

Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-5177/

Copy link
Copy Markdown
Member

@nickanderson nickanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should change the meaning of body perms system_owned. I think it would be better to introduce a new perms body.

…or state dir

Especially this concerns lmdb files.
system_owned perms body was used previously but for solaris systems the use
of "sys" group seems incorrect so changing to "root" for solaris is the
net result of this change.

Ticket: ENT-5986
Changelog: Title

############################################################################

body perms state_dir_perms
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feels redundant to say perms twice in the same line.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestions? I am working on another PR now for master first since we decided to unblock this from the release train.

groups => { "system" };

!(freebsd|openbsd|netbsd|darwin|aix)::
groups => { "root" };
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. This wasn't handled before so must work as-is? How are windows perms handled? I can check/test.

@craigcomstock
Copy link
Copy Markdown
Contributor Author

will cherry-pick results of this WIP: #1768

@craigcomstock craigcomstock deleted the ENT-5986/3.12.x branch June 1, 2020 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP Work in Progress

Development

Successfully merging this pull request may close these issues.

3 participants