-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
sshd fails to start on 16.09: /var/emtpy must be owned by root and not group or world-writable #18358
Comments
Following didn't help:
Following did help:
|
Deploying fresh 16.03 and 16.09 on top with sshd running doesn't yield this problem. Maybe something created files in |
Aha, here's what I have on my system:
|
http://manpages.ubuntu.com/manpages/precise/en/man1/rand.1ssl.html:
Maybe some service has HOME=/var/empty set when it runs |
We could make |
Making it immutable seems like a good long-term permanent solution. |
Not sure it was |
Can't repro with
sshd starts fine in there. Am on 7c377f8. |
Also starting the VM on |
I assume some service changed This machine has been upgraded for a few NixOS stable releases, so it must be that it was writable at one time or changed by root. |
I think making |
Hmm, could this be a duplicate of #14910 ? |
Only if |
Writting an assertion now to get cases when |
Nothing sets that as of today, but let's make |
There may very well be a million things I'm doing wrong, but this is just a friendly hint to let you know I had this break on me in the Riak package. Riak wants a user which does not specify a homedir, so Rolling back won't fix my issue, as the old version does not contain code to revert this (e.g. As said, just to let you know. I'm a newcomer to this, and very thankful for NixOS' existence and the hard work you're putting in. I'm also not contesting this particular change, it seems sounds. |
Fixes NixOS#14910 and NixOS#18358 Deployed to an existing server, restarted sshd and polkit to verify they don't fail.' (cherry picked from commit 8f95e6f) Signed-off-by: Domen Kožar <domen@dev.si>
Possible cause 4f8f1c3 /cc @rickynils
The text was updated successfully, but these errors were encountered: