[atomic] mod_ruid2 0.9.1-1
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: [atomic] mod_ruid2 0.9.1-1
The one in question belongs to the libcap-devel package
Re: [atomic] mod_ruid2 0.9.1-1
Thanks.
Next step is mod_ruid2 + APC.
Next step is mod_ruid2 + APC.
Re: [atomic] mod_ruid2 0.9.1-1
Brucelee, do you think mod_ruid2 is ready for prime time? Anything special to consider when implementing?
Re: [atomic] mod_ruid2 0.9.1-1
Well, I think I will use it in production soon. Just had not the time to go further.
But I'm running only one server in production and have a dev server for testing my stuff.
So I'm not sure if my test covers enough to give an advice to go live with it.
What I know is that it is pretty widely used since the first release with previous version called mod_ruid (without 2 ).
Also have read of some hosting companies that are running it from the first release and the claim it is very solid.
So I will go live as soon as I have enough time.
Concerning the implementation just follow my previous posts. That's what I needed to do to get it running.
But I'm running only one server in production and have a dev server for testing my stuff.
So I'm not sure if my test covers enough to give an advice to go live with it.
What I know is that it is pretty widely used since the first release with previous version called mod_ruid (without 2 ).
Also have read of some hosting companies that are running it from the first release and the claim it is very solid.
So I will go live as soon as I have enough time.
Concerning the implementation just follow my previous posts. That's what I needed to do to get it running.
Re: [atomic] mod_ruid2 0.9.1-1
OK, thanks a bunch! Will try it out on my dev environment as well
Re: [atomic] mod_ruid2 0.9.1-1
OK, installed on the test server. Wordpress just got a whole lot easier to work with! Everything seems to be working ok.
1. Installed mod_ruid2 via yum.
2. Commented out all option in /etc/httpd/conf.d/ruid2.conf
3. Added this to /etc/httpd/conf/httpd.conf
4. Created /var/www/vhosts/domain.tld/conf/vhost.conf
6. Restarted httpd
Then everything was up and running. Wordpress installed without a hickup and uploading plugins works perfectly.
edit: kernel 2.6.32.27-1.art.x86_64
1. Installed mod_ruid2 via yum.
2. Commented out all option in /etc/httpd/conf.d/ruid2.conf
3. Added this to /etc/httpd/conf/httpd.conf
Code: Select all
LoadModule ruid2_module modules/mod_ruid2.so
<IfModule mod_ruid2.c>
RMode config
RUidGid apache apache
RGroups apache psaserv
RMinUidGid apache apache
</IfModule>
5. Ran /usr/local/psa/admin/sbin/websrvmng<Directory /var/www/vhosts/domain.tld/httpdocs>
RMode config
RUidGid dinbackup psacln
RGroups psacln
</Directory>
6. Restarted httpd
Then everything was up and running. Wordpress installed without a hickup and uploading plugins works perfectly.
edit: kernel 2.6.32.27-1.art.x86_64
Re: [atomic] mod_ruid2 0.9.1-1
Great!
As I can see Scott updated the package. So it runs right away. Thanks Scott.
As I can see Scott updated the package. So it runs right away. Thanks Scott.
%changelog
* Mon Dec 20 2010 Scott R. Shinn <scott@atomicrocketturtle.com> - 0.9.1-2
- Updated conf to run as apache
- Fixups for eaccelerator & php sessions directories.
Re: [atomic] mod_ruid2 0.9.1-1
There seems to be an updated mod_ruid version, 0.9.2. couldnät find any changelog though. Maybe we will get an updated package...
Re: [atomic] mod_ruid2 0.9.1-1
oh, yes maybe Scott will add that.
That's what I found about the latest change:
http://mod-ruid.svn.sourceforge.net/vie ... evision=20
That's what I found about the latest change:
http://mod-ruid.svn.sourceforge.net/vie ... evision=20
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: [atomic] mod_ruid2 0.9.1-1
The funny part is it was updated a day after I put out -2 0.9.2 should be up shortly
Re: [atomic] mod_ruid2 0.9.1-1
Thanks! Installed fine on my dev system.
Re: [atomic] mod_ruid2 0.9.1-1
Bruce,
Did you manage to get the issue with "ModSecurity: Audit log: Failed to create subdirectories" sorted - testing this on a server with a heavy wordpress install and just get blank pages and this error in the logs.
Ive tried recompiling from source like you did as well - using the latest 0.9.3 version (yeseterday update) but same results.
Did you manage to get the issue with "ModSecurity: Audit log: Failed to create subdirectories" sorted - testing this on a server with a heavy wordpress install and just get blank pages and this error in the logs.
Ive tried recompiling from source like you did as well - using the latest 0.9.3 version (yeseterday update) but same results.
Re: [atomic] mod_ruid2 0.9.1-1
how have you configured it?
Re: [atomic] mod_ruid2 0.9.1-1
Bruce - im using this as a test config for this heavy domain
<IfModule mod_ruid2.c>
RMode config
RDefaultUidGid apache apache
RUidGid apache apache
RGroups apache psaserv psacln
RMinUidGid apache apache
</IfModule>
<Directory /var/www/vhosts/DOMAIN/subdomains/test/httpdocs>
RUidGid USERNAME psacln
RGroups apache psacln psaserv
</Directory>
I have tried with various RGroups settings, - are you not getting this issue anymore ?
<IfModule mod_ruid2.c>
RMode config
RDefaultUidGid apache apache
RUidGid apache apache
RGroups apache psaserv psacln
RMinUidGid apache apache
</IfModule>
<Directory /var/www/vhosts/DOMAIN/subdomains/test/httpdocs>
RUidGid USERNAME psacln
RGroups apache psacln psaserv
</Directory>
I have tried with various RGroups settings, - are you not getting this issue anymore ?
Re: [atomic] mod_ruid2 0.9.1-1
Setting RMinUidGid to apache is not a good idea. RMinUidGid is in mod_ruid2 to prevent switching to system accounts in stat mode. On most linux systems these accounts u/gid are < 100 so the default is fine in most cases. Change this value only if you know exactly what you are doing...ikkk wrote: <IfModule mod_ruid2.c>
RMode config
RDefaultUidGid apache apache
RUidGid apache apache
RGroups apache psaserv psacln
RMinUidGid apache apache
</IfModule>