Hi Gary,

Gary Johnson <[email protected]> writes:

> Hi Guix,
>
>   I just ran into an extremely odd error today when I tried to include the 
> iproute2 package in a Guix container created with the --emulate-fhs (-F) 
> option.
>
> =============================================================
>
> $ guix shell -CFN iproute2
> guix shell: error: symlink: File exists: "/etc/group"
>
> =============================================================
>
> If I drop the -F option, it works fine, but for my use case, I need to be in 
> an FHS-emulating container. Any idea how to fix this?
>

I think this is a bug of `(@ (guix scripts environment)
launch-environment/container)` that doesn't take into account those
files could already exist. This problem will arise even with other
files. I think the easiest solution would be to modify it to
remove those files if they exist already before the script tries to
create them.

Rutherther

Reply via email to