﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
3891	Please prevent installing man3/getspnam.3 of the shadow package.	yuksiy	lfs-book@…	"(
This ticket has been re-posted revised my following post.
[[br]]
[http://lists.linuxfromscratch.org/pipermail/lfs-dev/2016-February/070821.html]
)

In [http://www.linuxfromscratch.org/lfs/view/7.8/chapter06/shadow.html 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.
[[br]]
""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.
[[br]]
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.
[[br]]
As a result, it seems that the above man command displays the getspnam.3.gz.
[[br]]
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.
[[br]]
However, package ""shadow"" overwrites the getspnam.3.
[[br]]
Furthermore, this getspnam.3 refers to the shadow.3.
[[br]]
As a result, it seems that the above man command displays the shadow.3.
[[br]]
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.
"	defect	closed	normal	7.9	Book	SVN	normal	fixed		yuk@…
