NixOS / nixos

OBSOLETE (go to NixOS/nixpkgs) - NixOS, a Linux distribution based on the Nix package manager - OBSOLETE (go to NixOS/nixpkgs)
MIT License
176 stars 102 forks source link

polkitd not starting? #273

Closed jcumming closed 11 years ago

jcumming commented 11 years ago

I haven't had a chance to bisect this:

Oct 08 06:44:20 needle dbus-daemon[2597]: dbus[2597]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
Oct 08 06:44:20 needle dbus[2597]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
Oct 08 06:44:20 needle dbus[2597]: [system] Activation via systemd failed for unit 'polkit.service': Unit polkit.service failed to load: No such file or directory. See system logs and 'systemctl status polkit.service' for details.
Oct 08 06:44:20 needle dbus-daemon[2597]: dbus[2597]: [system] Activation via systemd failed for unit 'polkit.service': Unit polkit.service failed to load: No such file or directory. See system logs and 'systemctl status polkit.service' for details.
Oct 08 06:44:23 needle slim[19228]: pam_unix(slim:session): session closed for user jack.
vcunat commented 11 years ago

Could it be because of https://github.com/NixOS/nixpkgs/issues/1027 ?

I don't know how much systemd and polkit are inter-dependent. However, here it seems like the unit file isn't found, for whatever reason.

vcunat commented 11 years ago

(from IRC): this happens on x-updates + stdenv-updates at that time.

jcumming commented 11 years ago

WFM: none+xmonad session. with the two patches in https://github.com/NixOS/nixos/issues/274.

vcunat commented 11 years ago

Well, the service starts but most of things like (un)mounting and suspending didn't work (at least for me).

Let's continue on NixOS/nixpkgs#1027, so it's not on more places.

Can someone close this?