Editing
Msg10043.html
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= [Vserver] setrlimit limit failed: Operation not permitted = ----- * '''From:''' Thorsten Gunkel * '''Date:''' Wed, 6 Jul 2005 19:38:02 +0200 (CEST) ----- <pre> Hi, I have set up several Debian Sarge vservers on a Debian Sarge host. Kernel 2.6.11.5-vs1.9.5 util-vserver 0.30.207-8 (Debian Version) I have noticed that all vservers have lines like this in their syslog: ,---- | Jul 4 11:17:50 XXXXXXXX pam_limits[11826]: setrlimit limit #6 to soft=-1, hard=-1 failed: Operation not permitted; uid=0 euid=0 | Jul 4 11:18:02 XXXXXXXX pam_limits[11826]: setrlimit limit #8 to soft=-1, hard=-1 failed: Operation not permitted; uid=0 euid=0 | Jul 4 11:18:03 XXXXXXXX su[11826]: pam_open_session: Permission denied `---- As far as I understood the superuser starts a program (I guess in this case su?) which tries to set some limits (here RLIMIT_NOFILE and RLIMIT_MEMLOCK?) to unlimited. Inside a vserver this is not allowed. Right so far? Now I wonder if I can safely ignore that setrlimit messages? Another issue I noticed: If I enter a vserver with vserver ID enter and then type: ,---- | # at 19:21 | warning: commands will be executed using /bin/sh | at> su news -c whoami | at> <EOT> | job 3 at 2005-07-06 19:21 `---- This fails with: ,---- | su: Permission denied `---- When I try it without the at: ,---- | # su news -c whoami | news `---- it works. As the at command doesn't produce setrlimit syslog entries I guess that these are two different problems? TIA Thorsten </pre> ----- * '''Follow-Ups''': ** '''[[msg10044.html|Re: [Vserver] setrlimit limit failed: Operation not permitted]]''' *** ''From:'' Micah Anderson * Prev by Date: '''[[msg10042.html|Re: [Vserver] Howto to determine if the kernel supports vserver?]]''' * Next by Date: '''[[msg10044.html|Re: [Vserver] setrlimit limit failed: Operation not permitted]]''' * Previous by thread: '''[[msg10041.html|[Vserver] loopback device in a vserver]]''' * Next by thread: '''[[msg10044.html|Re: [Vserver] setrlimit limit failed: Operation not permitted]]''' * Index(es): ** [[index.html#10043|'''Date''']] ** [[threads.html#10043|'''Thread''']]
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information