1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-26 12:10:29 +02:00
Files
guix/guix
Ludovic Courtès e625e9b194 environment: '-C' doesn't throw when the NSS is dysfunctional.
Previously, if the name service switch was dysfunctional, as can happen
on foreign distros lacking nscd, "guix shell -C" would crash with a
backtrace on the uncaught 'getpwuid' exception.  To address that, catch
the exception and deal with it gracefully.

Reported by remsd1 on #guix.

* guix/scripts/environment.scm (launch-environment/container): Wrap
'getpwuid' call in 'false-if-exception'.
2022-12-09 08:46:21 +01:00
..
2022-12-05 15:51:04 +01:00
2022-11-06 14:02:08 +02:00
2022-08-09 15:58:14 +02:00
2021-01-04 23:54:16 +01:00
2020-12-09 22:25:17 +01:00
2022-11-11 23:17:42 +01:00
2021-01-04 23:54:16 +01:00
2022-03-18 16:03:33 +01:00
2021-04-12 18:42:22 +02:00
2022-06-10 23:52:34 -04:00
2022-11-26 09:07:29 +01:00
2022-12-02 23:20:54 +01:00
2022-07-10 23:57:14 +02:00
2022-09-24 17:59:04 +02:00
2022-02-14 11:23:07 +01:00
2022-08-05 00:14:30 +02:00