Gary Johnson <[email protected]> writes:

> This is the reason that /etc in the Guix shell container is polluted
> with the iproute2 package's config files. The error that I originally
> reported is happening because /etc/iproute2/group is being placed in
> /etc/group, thus conflicting with the real /etc/group file that is
> placed there by `guix shell --container` and `guix shell --container
> --emulate-fhs`. Note that /etc/iproute2/group is NOT a valid
> substitute for /etc/group. It lists configured network devices, not
> Unix user groups.

Thank you for tracking down this problem!

For consistency with Debian, what do you think about putting this file
in .../share/iproute2/group instead?

jas@biskvi:~$ dpkg -L iproute2|grep group
/usr/share/iproute2/group
/usr/share/man/man8/tc-cgroup.8.gz
jas@biskvi:~$ 

Maybe one should start systematically searching for conflicting file
paths that trigger these kind of errors when used with --emulate-fhs.
Most "normal" GNU/Linux distributions have rules about packages not
conflicting each others file, but Guix haven't needed this... but it
does make sense to care about this because --emulate-fhs is a powerful
mechanism and if trivial low-level packages conflict to make the feature
unusable, that would be bad.

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to