packages: util-vserver/util-vserver-initpost.sh - don't set RPM_SKIP_AUTO_R...
Arkadiusz Miskiewicz
arekm w maven.pl
Śro, 4 Lis 2009, 10:39:21 CET
On Wednesday 04 of November 2009, Pawel Golaszewski wrote:
> 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
And _after_ doing that you will need to fix pam.d configs, too.
> 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.
Why users don't have limits now!? They had it before. Better safe than sorry.
Really, default pld configuration stays also for guests. There won't be
difference to suprise people.
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
Więcej informacji o liście dyskusyjnej pld-devel-pl