diff options
| author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2018-03-27 23:06:03 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludovic.courtes@inria.fr> | 2018-03-27 23:26:15 +0200 |
| commit | f7a5cf7a2da9590fe64e85e6f263b11020e943aa (patch) | |
| tree | c63673d6ee38c2d0e2c948bf8022fc597ca59d05 /gnu/system/nss.scm | |
| parent | 75176f1b94903b592f5b1eb5a1b856c5ec761276 (diff) | |
nss: Remove '%compat' from the defaults.
* gnu/system/nss.scm (%compat): Add comment.
(<name-service-switch>)[group, password, shadow]: Remove %COMPAT from
the default value.
Diffstat (limited to 'gnu/system/nss.scm')
| -rw-r--r-- | gnu/system/nss.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/system/nss.scm b/gnu/system/nss.scm index f4d28552899..673b96c7132 100644 --- a/gnu/system/nss.scm +++ b/gnu/system/nss.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2015, 2018 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; | 3 | ;;; |
| 4 | ;;; This file is part of GNU Guix. | 4 | ;;; This file is part of GNU Guix. |
| 5 | ;;; | 5 | ;;; |
| @@ -93,6 +93,8 @@ | |||
| 93 | ;;; | 93 | ;;; |
| 94 | 94 | ||
| 95 | (define %compat | 95 | (define %compat |
| 96 | ;; Note: Starting from version 2.26, libc no longer provides libnss_compat | ||
| 97 | ;; so this specification has become useless. | ||
| 96 | (name-service | 98 | (name-service |
| 97 | (name "compat") | 99 | (name "compat") |
| 98 | (reaction (lookup-specification (not-found => return))))) | 100 | (reaction (lookup-specification (not-found => return))))) |
| @@ -124,7 +126,7 @@ | |||
| 124 | (ethers name-service-switch-ethers | 126 | (ethers name-service-switch-ethers |
| 125 | (default '())) | 127 | (default '())) |
| 126 | (group name-service-switch-group | 128 | (group name-service-switch-group |
| 127 | (default (list %compat %files))) | 129 | (default (list %files))) |
| 128 | (gshadow name-service-switch-gshadow | 130 | (gshadow name-service-switch-gshadow |
| 129 | (default '())) | 131 | (default '())) |
| 130 | (hosts name-service-switch-hosts | 132 | (hosts name-service-switch-hosts |
| @@ -136,7 +138,7 @@ | |||
| 136 | (networks name-service-switch-networks | 138 | (networks name-service-switch-networks |
| 137 | (default (list %files %dns))) | 139 | (default (list %files %dns))) |
| 138 | (password name-service-switch-password | 140 | (password name-service-switch-password |
| 139 | (default (list %compat %files))) | 141 | (default (list %files))) |
| 140 | (public-key name-service-switch-public-key | 142 | (public-key name-service-switch-public-key |
| 141 | (default '())) | 143 | (default '())) |
| 142 | (rpc name-service-switch-rpc | 144 | (rpc name-service-switch-rpc |
| @@ -144,7 +146,7 @@ | |||
| 144 | (services name-service-switch-services | 146 | (services name-service-switch-services |
| 145 | (default '())) | 147 | (default '())) |
| 146 | (shadow name-service-switch-shadow | 148 | (shadow name-service-switch-shadow |
| 147 | (default (list %compat %files)))) | 149 | (default (list %files)))) |
| 148 | 150 | ||
| 149 | (define %default-nss | 151 | (define %default-nss |
| 150 | ;; Default NSS configuration. | 152 | ;; Default NSS configuration. |
