Bug 1736

Summary: perl-suid is not in Cauldron
Product: Mageia Reporter: Derek Jennings <derekjenn>
Component: New RPM package requestAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: juergen.harms
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: perl-suid CVE:
Status comment:

Description Derek Jennings 2011-06-10 19:05:28 CEST
Description of problem:
perl-suid is required for backuppc but is not in Cauldron even though backuppc is.

Error message from backuppc

"Error: Wrong user: my userid is 74, instead of 76(backuppc)

This script needs to run as the user specified in $Conf{BackupPCUser}, which is set to backuppc.

This is an installation problem. If you are using mod_perl then it appears that Apache is not running as user backuppc. If you are not using mod_perl, then most like setuid is not working properly on BackupPC_Admin. Check the permissions on /var/www/backuppc/BackupPC_Admin and look at the documentation. "
Comment 1 Ahmad Samir 2011-06-10 19:28:55 CEST
That's deliberate, as perl-suid is dead since perl-5.12.

*** This bug has been marked as a duplicate of bug 573 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

Comment 2 Derek Jennings 2011-06-10 19:35:04 CEST
Now why didn't I find bug 573 when I searched? 
Sorry for wasting your time. I will now read up on the workarounds suggested.
Comment 3 Ahmad Samir 2011-06-10 19:44:33 CEST
(No problem).
Comment 4 Juergen Harms 2011-06-10 23:33:52 CEST
See also bug #600

I did not manage to make backuppc from the repository work as such - but with the changes to the permissions of BackupPC_Admin.cgi and BackupPC_Admin as suggested in comment 15, backkuppc runs perfectly. In case you want to have a look at my lighttpd.conf (which is slightly tricky), ask at juergen.harms@unige.ch

CC: (none) => juergen.harms