NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.14k stars 14.17k forks source link

NixOS: pam_systemd: Failed to connect to system bus #15911

Closed FRidh closed 8 years ago

FRidh commented 8 years ago

Issue description

On a freshly installed system I'm constantly thrown out of my session and presented with emergency mode.

pam_systemd(login:session): Failed to connect to system bus: Connection refused

A nixos-rebuild switch is not possible.

I have the issue with both 16.03 and unstable. Possibly relevant is that I'm using gummiboot.

abbradar commented 8 years ago

Recent similar issue: https://github.com/NixOS/nixpkgs/issues/15824. May be non-related to your case, though...

FRidh commented 8 years ago

It's indeed very similar. Turned out my boot filesystem type was incorrect, so it wouldn't mount it during startup. When I fixed that (changed it to "auto"), the issue disappeared.