Re: how to run docker?

2020-03-12 Thread John Soo
Hi Adam,

You will also need the dockerd service in you system configuration, plus there 
is a known bug where a known module is not loaded by default. Should dockerd 
not start properly you will need to do the following:

sudo modprobe overlay
sudo herd restart dockerd

Good luck,

John


Re: how to run docker?

2020-03-12 Thread Adam Kandur via
i really tried to find manual for this topic -_-



Mar 12, 2020, 21:42 by r...@tuta.io:

> hi, guixers!
> Sorry for newbe question. 
> How yo run docker service after installation docker package?
>
>



how to run docker?

2020-03-12 Thread Adam Kandur via
hi, guixers!
Sorry for newbe question. 
How yo run docker service after installation docker package?



Re: Custom wireguard shepherd service

2020-03-12 Thread Gregory Katz via
Thank you very much g_bor.  I believe you've given me the information I need to 
make this work.  I think I may be able to get away with regexp substitution for 
this very simple change.  If you know of an example in the source tree of 
regexp substitution of the top of your head please let me know, otherwise, I'm 
sure I'll be able to find an example on my own.

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On Thursday, March 12, 2020 3:09 AM, Gábor Boskovits  
wrote:

> Hello Gregory,
>
> Gregory Katz via  ezt írta (időpont: 2020. márc. 12., Csü 
> 4:48):
>
>> Hi all,
>>
>> I'm trying to put together a wireguard shepherd service that operates 
>> similar to the current nftables service, i.e., the service works by running 
>> a utility program (in this case a shell script called wg-quick) with a 
>> configuration file.  Unfortunately, wg-quick, which is included in the 
>> wireguard-tools package, does not work with files interred by guix (the file 
>> names are too long).  To make it work, I have to patch wg-quick.
>>
>> Can anyone point me to where I can read up on how to apply a patch during 
>> the wireguard-tools build process?
>
> You can run a search against the keyword search-patches in a package module 
> to see how patches are included in a package definition. If the patch only 
> does simple regexp substitution, you can also consider using a phase with 
> substitute*. There are a lot of packages using that. If you need to have a 
> patch, then you should add it to the gnu/packages/patches directory, and also 
> to the local.mk file patches variable, so that the build picks it up. You can 
> search the git log for adding or removing a patch, so that you see how it is 
> done.
>
>> Thanks very much for the help,
>>
>> Greg
>>
>> Sent with [ProtonMail](https://protonmail.com) Secure Email.
>
> Best regards,
> g_bor

Re: Custom wireguard shepherd service

2020-03-12 Thread Gábor Boskovits
Hello,

Gregory Katz  ezt írta (időpont: 2020. márc.
12., Cs, 13:30):
>
> Thank you very much g_bor.  I believe you've given me the information I need 
> to make this work.  I think I may be able to get away with regexp 
> substitution for this very simple change.  If you know of an example in the 
> source tree of regexp substitution of the top of your head please let me 
> know, otherwise, I'm sure I'll be able to find an example on my own.

You can see an easy example in acl. In line 65.

>
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐ Original Message ‐‐‐
> On Thursday, March 12, 2020 3:09 AM, Gábor Boskovits  
> wrote:
>
> Hello Gregory,
>
> Gregory Katz via  ezt írta (időpont: 2020. márc. 12., Csü 
> 4:48):
>>
>> Hi all,
>>
>> I'm trying to put together a wireguard shepherd service that operates 
>> similar to the current nftables service, i.e., the service works by running 
>> a utility program (in this case a shell script called wg-quick) with a 
>> configuration file.  Unfortunately, wg-quick, which is included in the 
>> wireguard-tools package, does not work with files interred by guix (the file 
>> names are too long).  To make it work, I have to patch wg-quick.
>>
>> Can anyone point me to where I can read up on how to apply a patch during 
>> the wireguard-tools build process?
>
>
> You can run a search against the keyword search-patches in a package module 
> to see how patches are included in a package definition. If the patch only 
> does simple regexp substitution, you can also consider using a phase with 
> substitute*. There are a lot of packages using that. If you need to have a 
> patch, then you should add it to the gnu/packages/patches directory, and also 
> to the local.mk file patches variable, so that the build picks it up. You can 
> search the git log for adding or removing a patch, so that you see how it is 
> done.
>>
>>
>> Thanks very much for the help,
>>
>> Greg
>>
>> Sent with [ProtonMail](https://protonmail.com) Secure Email.
>
> Best regards,
> g_bor
>
>


-- 
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21



Re: Custom wireguard shepherd service

2020-03-12 Thread Gábor Boskovits
Hello Gregory,

Gregory Katz via  ezt írta (időpont: 2020. márc. 12.,
Csü 4:48):

> Hi all,
>
> I'm trying to put together a wireguard shepherd service that operates
> similar to the current nftables service, i.e., the service works by running
> a utility program (in this case a shell script called wg-quick) with a
> configuration file.  Unfortunately, wg-quick, which is included in the
> wireguard-tools package, does not work with files interred by guix (the
> file names are too long).  To make it work, I have to patch wg-quick.
>
> Can anyone point me to where I can read up on how to apply a patch during
> the wireguard-tools build process?
>

You can run a search against the keyword search-patches in a package module
to see how patches are included in a package definition. If the patch only
does simple regexp substitution, you can also consider using a phase with
substitute*. There are a lot of packages using that. If you need to have a
patch, then you should add it to the gnu/packages/patches directory, and
also to the local.mk file patches variable, so that the build picks it up.
You can search the git log for adding or removing a patch, so that you see
how it is done.

>
> Thanks very much for the help,
>
> Greg
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.

Best regards,
g_bor