Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC
2008-12-16 12:37:24
On Tue, Dec 16, 2008 at 11:36 AM, Nils Breunese (Lemonbit) <nils AT lemonbit DOT com> wrote:
Les Mikesell wrote:
> Why is suexec involved?
Les is right, you don't need suexec. Trying to use it is probably
causing your problem.
>> [2008-12-15 10:37:00]: file is either setuid or setgid:
>> (/var/www/cgi-bin/BackupPC_Admin)
>
> Yes, the config.pl script should have installed it mode 04554.any interest (an
> It needs to be group-readable by apache, owned by backuppc and suid.
4550 should be enough for everybody. :o)
Nils Breunese.
Ladies and Gentlemen,
There's been a ton of posts in the last few minutes, so I'll try to respond to all of those in this reply.
To Adam Goryachev, I don't have any interest in CentOS (and judging by other posts in this thread, competence with it either). The company I work for got roped in using it for an individual project, as another vendor brought in to do the telephony portion of this project will only work on RHEL 4.5 and luckily (for the bottom line) CentOS 4.7. I've been strictly a Debian user since Woody, and this whole experience has confirmed to me that my default choice was correct!
To Les and Nils, first I'm sorry to be disparaging one of your preferred versions of linux. I installed httpd-suexec somewhere almost immediately after installing the OS, and it certainly appears to be the proverbial smoking gun. I tried usung yum just to remove httpd-suexec, and it would only do that if I also allowed yum to remove httpd! As noting else is installed yet (the other contractor mentioned previously begins work tomorrow), I allowed it. That went fine, it pulled out these packages -
mod_perl, php-pear, php-odbc, mod_ssl, system-config-httpd, httpd, httpd-manual, httpd-suexec, webalizer, php-ldap, php, and mod_python.
I figured all would be well with this. Let it remove everything listed above, then reinstall httpd, and hopefully the skies will brighten, rainbows and unicorns will dance around me, and oh yes, backuppc will work!
Unfortunately, yum won't install just httpd without httpd-suexec, as show here -
[root@telephony jim]# yum install httpd Loading "fastestmirror" plugin Setting up Install Process Setting up repositories
Loading mirror speeds from cached hostfile Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait.
---> Package httpd.x86_64 0:2.0.52-41.ent.2.centos4 set to be updated --> Running transaction check --> Processing Dependency: httpd-suexec for package: httpd --> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait. ---> Package httpd-suexec.x86_64 0:2.0.52-41.ent.2.centos4 set to be updated --> Running transaction check
Dependencies Resolved
============================================================================= Package Arch Version Repository Size =============================================================================
Installing: httpd x86_64 2.0.52-41.ent.2.centos4 update 955 k Installing for dependencies: httpd-suexec x86_64 2.0.52-41.ent.2.centos4 update 31 k
Transaction Summary ============================================================================= Install 2 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 986 k
Is this ok [y/N]: n Exiting on user Command Complete!
Yum clean all followed by yum update still tries to install both httpd and httpd-suexec.
I'm going to google to find a solution to this (clearly isn't backuppc related), and when I can get a functional httpd, I'll post back. If anyone has suggestions on how to accomplish this, please email me off list.
Thanks again for everyone's help!
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, (continued)
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Les Mikesell
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Les Mikesell
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Nils Breunese (Lemonbit)
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC,
Jim McNamara <=
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Mark Maciolek
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Jim McNamara
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Adam Goryachev
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Jim McNamara
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Les Mikesell
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Jim McNamara
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Les Mikesell
- Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC, Holger Parplies
|
|
|