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

bug: home-manager-<user>.service fails to start after boot, but works fine when manually restarted #6231

Open
2 tasks done
niksingh710 opened this issue Dec 25, 2024 · 0 comments
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@niksingh710
Copy link

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

running systemctl --failed listed that home-manager-niksingh710.service failed to start.
Tried restarting it via systemctl restart home-manager-niksingh710.service and it started fine.

× home-manager-niksingh710.service - Home Manager environment for niksingh710
     Loaded: loaded (/etc/systemd/system/home-manager-niksingh710.service; enabled; preset: ignored)
     Active: failed (Result: exit-code) since Wed 2024-12-25 14:23:05 IST; 54s ago
 Invocation: cf12d3a0092a470ea8e80aeb0fc88714
    Process: 1764 ExecStart=/nix/store/m91h9kmjw78swvldfb9px8qnv1nb23ax-hm-setup-env /nix/store/3i3h2j0fbjcr5afyflgcjzyapy34d001-home-manager-generation (code=exited, status=1/FAILURE)
   Main PID: 1764 (code=exited, status=1/FAILURE)
         IP: 0B in, 0B out
         IO: 60.3M read, 0B written
   Mem peak: 86M
        CPU: 1.711s

Dec 25 14:23:05 mach hm-activate-niksingh710[1764]: Activating onFilesChange
Dec 25 14:23:05 mach hm-activate-niksingh710[1764]: Activating regenDotTaskRc
Dec 25 14:23:05 mach hm-activate-niksingh710[1764]: Activating reloadSystemd
Dec 25 14:23:05 mach hm-activate-niksingh710[1764]: User systemd daemon not running. Skipping reload.
Dec 25 14:23:05 mach hm-activate-niksingh710[1764]: Activating setupEtc
Dec 25 14:23:05 mach systemctl[3498]: Failed to connect to user scope bus via local transport: No medium found
Dec 25 14:23:05 mach systemd[1]: home-manager-niksingh710.service: Main process exited, code=exited, status=1/FAILURE
Dec 25 14:23:05 mach systemd[1]: home-manager-niksingh710.service: Failed with result 'exit-code'.
Dec 25 14:23:05 mach systemd[1]: Failed to start Home Manager environment for niksingh710.
Dec 25 14:23:05 mach systemd[1]: home-manager-niksingh710.service: Consumed 1.711s CPU time, 86M memory peak, 60.3M read from disk.

Maintainer CC

No response

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.12.5-xanmod1, NixOS, 25.05 (Warbler), 25.05.20241219.d70bd19`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.91.1
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/niksingh710/.config/nix/nix.conf:/nix/store/nv30kkn3y3wibmsc12z98i4wrswl3vq8-stylix-kde-config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/niksingh710/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/niksingh710/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/niksingh710/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/873hdnqclw6c5kqax9mmw57a72rn4c3h-lix-2.91.1/share`
 - nixpkgs: `/etc/nixpkgs/channels/nixpkgs`
@niksingh710 niksingh710 added bug triage Issues or feature request that have not been triaged yet labels Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

No branches or pull requests

4 participants