[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#295680: libc6: getgrname returns a result that doesn't belong to /etc/group

On 2005-06-20 14:11:56 +0200, GOMBAS Gabor wrote:
> The rules are:
> 1. If you want to support a certain operating system/distribution then
>    don't put any groups/users in NIS that conflict with the default
>    setup of that operating system/distribution.

This means that Debian (in particular) won't necessarily integrate
nicely in a foreign network. There are at least 2 valid reasons that
it may be difficult to follow this rule:

  * The sysadmins cannot support every OS and cannot know every
    possible conflict.

  * The NIS database may contain old groups (but still valid), and
    their names may have been given even before a package/software
    using these names existed. Well, this is not future-proof.

> 2. If you did not follow rule #1 then don't complain when something
>    breaks.
> These rules are not "standard" but just plain common sense.

This is a bit naive to think that everything will work OK with rules
that are not clearly defined standards (OS-independent).

Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA

Reply to: