Subject: Re: [vserver] Problem with passwd
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Tue, 1 Nov 2011 03:30:15 +0100

On Tue, Nov 01, 2011 at 11:40:00AM +1100, Steve Kieu wrote:
> Hello ,

> I have just discovered a strange problem with patch
> vs2.3.0.36.29.8 for 2.6.32.43. I can not inside the vserver
> guest from root to su to anybody, it prompts me password !

> If the user does nto have password set then it is OK 
> However if as root I run

> passwd  oter_username then I got error:

> [root@cacti ~]# passwd stevek
> passwd: unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 is not
> authorized to change the password of stevek

> It happened with all guests, and it does not happen with
> vs2.3.0.36.29.7

well, the changes between vs2.3.0.36.29.7 and vs2.3.0.36.29.8
are solely NFS related (see 
http://vserver.13thfloor.at/ExperimentalT/delta-vs2.3.0.36.29.7-8.diff)
so I presume your guests are on NFS?

> Please investigate if it is a bug somewhere? 

will do, please try to revert the delta linked above from
the kernel which causes this misbehaviour and let us know
if that fixes the issue for you ...

thanks in advance,
Herbert

> or advise me that I did somethign wrong, :-) 
> I have to revert back to .7 for now

> Thanks,

> -- 
> Steve Kieu