Skip to content

NixOS, service fails immediately result 'exit-code' #123

@evils

Description

@evils

Hi, I hope this is the right place for this issue.
The nixpkgs repo seems quite busy, and @charles-dyfis-net (the nix package maintainer?) seems active here too.

I'm running on NixOS 19.03 with the latest kernel (5.2.9) and bees-service 0.6.1

My config is:

  boot.kernelPackages = pkgs.linuxPackages_latest;
  
  services.beesd.filesystems = {
    bulk = { 
      spec = "LABEL=bulk";
      hashTableSizeMB = 2048;
      verbosity = 7;
    };
  };

systemctl status shows:

[email protected] - Block-level BTRFS deduplication for bulk
   Loaded: loaded (/nix/store/cpd8f8y88dkv13q127sbjva0ffq06mnn-unit-beesd-bulk.service/[email protected]; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2019-08-21 20:06:32 CEST; 42min ago
  Process: 21979 ExecStopPost=/nix/store/lqbb19zgqnm3m2miyixk3m8l0zw4v31y-bees-service-0.6.1/bin/bees-service-wrapper cleanup LABEL=bulk verbosity=7 idxSizeMB=2048 workDir=.beeshome (code=exited, status=1/FAILURE)
  Process: 21976 ExecStart=/nix/store/lqbb19zgqnm3m2miyixk3m8l0zw4v31y-bees-service-0.6.1/bin/bees-service-wrapper run LABEL=bulk verbosity=7 idxSizeMB=2048 workDir=.beeshome -- --no-timestamps (code=exited, status=1/FAILURE)
 Main PID: 21976 (code=exited, status=1/FAILURE)
      CPU: 11ms

Aug 21 20:06:32 valix systemd[1]: Started Block-level BTRFS deduplication for bulk.
Aug 21 20:06:32 valix systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Aug 21 20:06:32 valix systemd[1]: [email protected]: Control process exited, code=exited status=1
Aug 21 20:06:32 valix systemd[1]: [email protected]: Failed with result 'exit-code'.
Aug 21 20:06:32 valix systemd[1]: [email protected]: Consumed 11ms CPU time

Changing the verbosity doesn't change this, is there another location i should look for logs?

Nix only seems to provide the beesd command and not bees, attempting to run sudo beesd -v 8 <UUID> fails in:

/nix/store/wnjv27b3j6jfdl0968xpcymlc7chpqil-gnugrep-3.3/bin/grep: /var/run/bees/configs/bees//*.conf: No such file or directory
ERROR: No config for <UUID>

Thanks for your consideration and let me know if there is anything i can do to help solve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions