Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: f5e5318ef6aa
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 0943e4adc630
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Apr 28, 2019

  1. nixos/sks: Fix the module (the pre-start script was broken)

    Unfortunately the changes in ab5dcc7
    introduced a typo (took me a while to spot that...) that broke the
    whole module (or at least the sks-db systemd unit).
    
    The systemd unit was failing with the following error message:
    ...-unit-script-sks-db-pre-start[xxx]: KDB/DB_CONFIG exists but is not a symlink.
    
    (cherry picked from commit 753e1e0)
    primeos committed Apr 28, 2019
    Copy the full SHA
    47e9779 View commit details
    Browse the repository at this point in the history
  2. nixos/sks: Fix another regression from ab5dcc7

    The two directories KDB and PTree do not exist before the SKS DB is
    build for the first time. If /var/db/sks is empty and the module is
    enabled via "services.sks.enable = true;" the following error will
    occur:
    ...-unit-script-sks-db-pre-start[xxx]:
    ln: failed to create symbolic link 'KDB/DB_CONFIG': No such file or directory
    
    To avoid this both links have to be created after the DB is build.
    Note: Creating the directories manually might be better but the initial
    build might be skipped as a result:
    unit-script-sks-db-pre-start[xxxxx]: KeyDB directory already exists.  Exiting.
    unit-script-sks-db-pre-start[xxxxx]: PTree directory already exists.  Exiting.
    
    (cherry picked from commit 6852c08)
    primeos committed Apr 28, 2019
    Copy the full SHA
    0943e4a View commit details
    Browse the repository at this point in the history