Please prevent installing man3/getspnam.3 of the shadow package.
|Reported by:||yuksiy||Owned by:|
This ticket has been re-posted revised my following post.
In LFS 7.8 "6.25. Shadow-4.2.1", getspnam.3 of the shadow package overwrites already installed getspnam.3 of the man-pages package.
However, it's hard for LFS readers to judge whether this overwriting is intended or not, because there is no supplementary explanation about overwriting in this page.
In addition, for example, when I run the following command on the Debian 7.9 PC,
$ man 3 getspnam_r
the page entitled as "GETSPNAM(3)" is displayed.
"getspnam_r()" is described as "GNU extension" in this page.
But, when I run the same command as above on the LFS 7.8 PC, the page entitled as "SHADOW(3)" is displayed.
There is no description about the "GNU extension" including "getspnam_r()" in this page.
Technically, the case of Debian 7.9,
binary package "manpages-dev" provides the regular file "getspnam.3.gz" and the symbolic link "getspnam_r.3.gz" which refers to the former.
As a result, it seems that the above man command displays the getspnam.3.gz.
And, this file contains descriptions about the "getspnam_r()".
On the other hand, the case of LFS 7.8,
package "man-pages" provides the regular file "getspnam.3" and the regular file "getspnam_r.3" which refers to the former.
However, package "shadow" overwrites the getspnam.3.
Furthermore, this getspnam.3 refers to the shadow.3.
As a result, it seems that the above man command displays the shadow.3.
However, this file contains no description about the "getspnam_r()".
Therefore, I suggest installation of getspnam.3 of the shadow package is prevented.
If this suggestion is not acceptable, I think at least it would be better to add supplementary explanation that overwriting getspnam.3 is intended.