Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #15434: Cannot start relayd #2379

Conversation

ncharles
Copy link
Member

@ncharles ncharles commented Aug 8, 2019

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 8d45f81 into Normation:master Aug 8, 2019
@@ -96,14 +100,18 @@ class WriteNodeCertificatesPemImpl(reloadScriptPath: Option[String]) extends Wri
})}
writen <- writeCertificatesToNew(allCertsNew, certs)
moved <- IOResult.effect(allCertsNew.moveTo(file, overwrite = true))
//perm <- IOResult.effect(file.setGroup("rudder")) -> fails with SystemError: An error occured; cause was: java.io.IOException: 'owner' parameter can't be a group
Copy link
Member Author

Choose a reason for hiding this comment

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

pointing this sadeness to @fanf so that he'll have an enlighted advice

Copy link
Member

@fanf fanf left a comment

Choose a reason for hiding this comment

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

@ncharles : I think it should be reported to better files, if possible with a minimized case. If really just file.setGroup("some group") fails, it seems pretty important to report. If not, the minimization case could help understand what going on.

@fanf
Copy link
Member

fanf commented Aug 13, 2019

For reference, it's trivial to reproduce and it's now reported here: pathikrit/better-files#332

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants