Re: [Vserver] sparc vserver issues

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Fri 26 Jan 2007 - 12:15:09 GMT
Message-ID: <20070126121509.GA426@MAIL.13thfloor.at>

On Thu, Jan 25, 2007 at 01:57:50PM -0700, Matt Kulka wrote:
> On Jan 25, 2007, at 3:04 AM, Daniel Hokka Zakrisson wrote:
>
> >Matt Kulka wrote:
> >>
> >>Issue #2:
> >>In the vserver, su is unable to change to any user. Doing so results
> >>in the following error
> >>
> >>su: Permission denied
> >>
> >>The following is shown in /var/log/messages:
> >>Jan 23 13:26:27 su[6123]: Successful su for dude by root
> >>Jan 23 13:26:27 su[6123]: + pts/2 root:dude
> >>Jan 23 13:26:27 su(pam_unix)[6123]: session opened for user dude by
> >>(uid=0)
> >>Jan 23 13:26:27 su[6123]: pam_open_session: Permission denied
> >>
> >>A log of strace for su - can be found at http://www.lqx.net/~matt/
> >>sparc-vserver/su.log
> >
> >Try lowering the limits in your guest's /etc/security/limits.conf,
> >alternatively remove pam_limits.so from your pam configuration to
> >see if
> >that fixes it.
>
> Huh, that's very odd. My limits.conf was completely commented and it
> didn't work, but removing pam_limits.so from the various pam configs
> fixed it. Would it be logical to conclude a bug in pam_limits.so then?

no, just different (incompatible?) limits between
host and guest distro (i.e. lower limits on the
host than on the guest)

IIRC, this is addressed in latest tools by lifting
the host limits before creating the guest

HTC,
Herbert

> >>Issue #3:
> >>The vserver is unable to be shutdown cleanly due to mounted nfs
> >>mounts. Stopping the vserver produces this error message:
> >
> >This is a known mainline problem. I've notified (who I think are) the
> >correct people, hopefully we'll get a fix soon.
>
> Excellent!
>
> Thanks for your help!
>
> Matt Kulka
> Easynews - Usenet Made Easy!
> http://www.easynews.com
> mkulka@easynews.com
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Jan 26 12:34:58 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 26 Jan 2007 - 12:35:05 GMT by hypermail 2.1.8