[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48986: [PATCH] gnu: opendoas: Fix restricted path "safepath".
From: |
Brice Waegeneire |
Subject: |
bug#48986: [PATCH] gnu: opendoas: Fix restricted path "safepath". |
Date: |
Sat, 19 Jun 2021 23:48:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Ludo’,
Thank you for the review.
Ludovic Courtès <ludo@gnu.org> writes:
> Hi Brice,
>
> Brice Waegeneire <brice@waegenei.re> skribis:
>
>> OpenDoas look for binaries in safepath when a rule specify a relative
>> command, such as “permit keepenv :wheel cmd guix”.
>>
>> * gnu/packages/admin.scm (opendoas)[phases]: Rename 'fix-install' phase
>> to 'pre-configure', run it before 'configure' and add a substitution for
>> safepath.
>
> You could maybe move the comment above to admin.scm, right above
> (substitute* "doas.c" …).
Done.
> Otherwise LGTM, thanks!
Pushed as eb939109b9c06a09e1534a403745bd362b653d95.
Cheers,
- Brice