packages: util-vserver/util-vserver-initpost.sh - don't set	RPM_SKIP_AUTO_R...
    Pawel Golaszewski 
    blues w pld-linux.org
       
    Śro,  4 Lis 2009, 10:31:15 CET
    
    
  
On Wed, 4 Nov 2009, Arkadiusz Miskiewicz wrote:
> > +
> > +	# pam_limits causes problems
> > +	#
> >  http://linux-vserver.org/Frequently_Asked_Questions#When_using_nice_and_su
> > _.28for_example.2C_in_the_updatedb_cron_job.29.2C_I_get:_su:_Permission_den
> > ied._What_does_it_mean.3F +	for file in /etc/pam.d/*; do
> > +		subst ${file} 's!^\([^#].*pam_limits.so\)!#\1!'
> > +	done
> Are you drunk?!
no, I'm not.
> I _need_ limits for services in my vpses. Fix your systems and don't 
> break default configuration.
Look at the URL in commit log.
Test-case:
echo "10" > /etc/vservers/<some_vserver>/nice
vserver restart
try to login via ssh, look at vixie-cron logs, etc, etc...
Every service that has pam_limits.so enabled - fails.
Anyway - it's only done while creating _new_ vserver. It's not a big deal 
to uncomment pam_limits if you need it. The opposite it trying to find out 
"why I have F@!^! Permission denied".
Better safe than sorry.
-- 
pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.
    
    
Więcej informacji o liście dyskusyjnej pld-devel-pl