Bug#352494: [Pkg-shadow-devel] Bug#352494: passwd: confusing error message if /proc is not found

Christian Perrier bubulle at debian.org
Mon Feb 20 17:16:51 UTC 2006


Quoting Nicolas François (nicolas.francois at centraliens.net):
> Hello,
> 
> After #351631, shadow was compiled with SELinux support.
> 
> This unfortunately broke some shadow utilities (passwd, chfn, chage,
> chsh) when /proc is not mounted (#352494).
> This is caused by selinux_check_passwd_access(), which returns -1 when
> /proc is not mounted.
> 
> Nobody in the shadow maintainance team has an SELinux system to test a
> patch nor the knowlegde to write one.
> Could anybody have a look at this bug?


Well, up to now, we have had no clue whether the patch proposed by
Nicolas in #352494 breaks SELinx systems or not.

Given that this bug is RC, I really want to see it fixed ASAP.

I suggest doing a test build of the package *with* the patch, then
test it in the situation described in the bug report.






More information about the Pkg-shadow-devel mailing list