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

After upgrading to NixOS 16.09 ssh does not start, because of wrong owner of /var/empty #19382

Closed
nathan-gs opened this issue Oct 9, 2016 · 0 comments

Comments

@nathan-gs
Copy link
Member

Issue description

First of all this is related to #18358 & #18365.

Somehow /var/empty was owned by user nathan:users before upgrading to NixOS 16.09 (coming from 16.03). This is of course the wrong owner, it should be root:root.

Ssh and other services failed to start because of the wrong ownership.

Steps to resolve

chattr -i /var/empty
chown root:root
chattr +i /var/empty

Todo

Add a chown step to #18365.

Technical details

  • System: 16.09.695.45b2a6d (Flounder)
  • Nix version: nix-env (Nix) 1.11.4
  • Nixpkgs version: "16.09.695.45b2a6d"
domenkozar added a commit that referenced this issue Oct 9, 2016
Fix #19382 set ownership of /var/empty to root:root
domenkozar pushed a commit that referenced this issue Oct 9, 2016
(cherry picked from commit 4ed8593)

Signed-off-by: Domen Kožar <[email protected]>
adrianpk added a commit to adrianpk/nixpkgs that referenced this issue May 31, 2024
(cherry picked from commit 4ed8593)

Signed-off-by: Domen Kožar <[email protected]>
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

No branches or pull requests

1 participant