Re: [BackupPC-users] 4.1.5 Error: Wrong user: my userid is 33, instead of 126(backuppc)
Thanks a lot Alex for pointing me in the right direction! I had indeed read and applied the fix suggested on the Arch wiki 6 months ago to make SUID work. When the package updated last weekend I had completely forgotten about it. I reapplied it now and it is working again. /~JC On 19/12/17 17:50, Alexander Kobel wrote: On 12/19/2017 05:07 PM, JC Francois wrote: Probably you've seen those before - but just in case you didn't: Do the hints from the Arch wiki help? https://wiki.archlinux.org/index.php/BackupPC#The_webserver_user_and_the_suid_problem -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] 4.1.5 Error: Wrong user: my userid is 33, instead of 126(backuppc)
On 12/19/2017 05:07 PM, JC Francois wrote: Hi, I have been successfully running backuppc on an archlinux server for a couple of months. Since the last update of the arch package I am no longer able to access the web GUI. [...] Hi, are you sure that the backuppc package is the culprit, rather than an apache update or some other, seemingly unrelated, system package that might have changed the setuid behavior? IIUC, in your setup, the *interpreter* needs to be run as user backuppc, that is /usr/sbin/perl; did you have the setuid bit set on that file before the update? I read the comment in the documentation about setuid emulation not being supported on many systems but it worked until the last backuppc update and perl has not been updated since september. Probably you've seen those before - but just in case you didn't: Do the hints from the Arch wiki help? https://wiki.archlinux.org/index.php/BackupPC#The_webserver_user_and_the_suid_problem I'm not using this setup, but I realize that one difference is user:group backuppc:http instead of backuppc:backuppc for BackupPC_Admin. Also, the description there suggests that if your approach worked before, it was a bug rather than a feature... Best, Alex smime.p7s Description: S/MIME Cryptographic Signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] 4.1.5 Error: Wrong user: my userid is 33, instead of 126(backuppc)
Hi, I have been successfully running backuppc on an archlinux server for a couple of months. Since the last update of the arch package I am no longer able to access the web GUI. when trying to load the `BackupPC_Admin` page I get the message below: Error: Wrong user: my userid is 33, instead of 126(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 /usr/share/backuppc/cgi-bin/BackupPC_Admin and look at the documentation. I verified the rights on the file: -rwsrwxr-- 1 backuppc backuppc 3.9K Dec 10 12:05 BackupPC_Admin and the cgi-bin folder is owned by root:root but has (r-x) rights for others. My kernel is 4.14.5-1-ARCH. There are no errors in /var/log/httpd/errors_log. I read the comment in the documentation about setuid emulation not being supported on many systems but it worked until the last backuppc update and perl has not been updated since september. Thanks for your help! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] File System containing backup was too full
after installation i changed the topdir setting in the config.pl $Conf{TopDir} = '/backup/backuppc'; then i had to copy the entire /var/lib/backuppc arborescence to this new dir in order to make it work i have no var partition and all is clean : root@bak1:/etc/backuppc# df -h Filesystem Size Used Avail Use% Mounted on /dev/md0p1 543G 6.4G 509G 2% / udev10M 0 10M 0% /dev tmpfs 1.6G 16M 1.5G 1% /run tmpfs 3.8G 0 3.8G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup /dev/sda1 15T 9.4T 4.4T 69% /backup 2017-12-19 13:43 GMT+01:00 Stefan Peter: > Dear Adrien Coestesquis > On 19.12.2017 13:10, Adrien Coestesquis wrote: > > i don't think so, the BPC arborescence is somewhere else > > And BackupPC knows this for real? If I remember correctly, you can > deviate from /var/lib/backuppc only if you install directly from the > sources. If you use an upstream package, you can not. > > Could it be that your /var partition is at 95%? > > > With kind regards > > Stefan Peter > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] File System containing backup was too full
Dear Adrien Coestesquis On 19.12.2017 13:10, Adrien Coestesquis wrote: > i don't think so, the BPC arborescence is somewhere else And BackupPC knows this for real? If I remember correctly, you can deviate from /var/lib/backuppc only if you install directly from the sources. If you use an upstream package, you can not. Could it be that your /var partition is at 95%? With kind regards Stefan Peter -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] File System containing backup was too full
Hi there, On Tue, 19 Dec 2017, Adrien Coestesquis wrote: Debian 8, no disk quota. https://bugzilla.kernel.org/show_bug.cgi?id=151491 ? -- 73, Ged. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] File System containing backup was too full
On Tue, 19 Dec 2017 13:10:44 +0100 Adrien Coestesquiswrote: > i don't think so, the BPC arborescence is somewhere else Like the truth, apparently :/ Hmm, devs, could it be something weird in the code, like the use of a signed int that would overflow? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] File System containing backup was too full
i don't think so, the BPC arborescence is somewhere else 2017-12-19 12:25 GMT+01:00 B: > On Tue, 19 Dec 2017 12:15:05 +0100 > Adrien Coestesquis wrote: > > … > > another weird thing backups seems to be repeated : > > > > 2017-12-19 05:00:00 incr backup started back to 2017-12-17 05:00:03 > > (backup #274) for directory /var/lib/jenkins/jobs > > > > 2017-12-19 08:49:39 incr backup started back to 2017-12-17 05:00:03 > > (backup #274) for directory /var/lib/jenkins/jobs > > Could it be that: > * you backup /var entirely, > * your BPC arborescence is into /var/lib/backuppc > that might create (?) an infinite loop? > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] File System containing backup was too full
On Tue, 19 Dec 2017 12:15:05 +0100 Adrien Coestesquiswrote: … > another weird thing backups seems to be repeated : > > 2017-12-19 05:00:00 incr backup started back to 2017-12-17 05:00:03 > (backup #274) for directory /var/lib/jenkins/jobs > > 2017-12-19 08:49:39 incr backup started back to 2017-12-17 05:00:03 > (backup #274) for directory /var/lib/jenkins/jobs Could it be that: * you backup /var entirely, * your BPC arborescence is into /var/lib/backuppc that might create (?) an infinite loop? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] File System containing backup was too full
Hello, Same notification this morning. i saw this line in logfile, this well reflects the actual disk usage : 2017-12-19 01:00:00 24hr disk usage: 68% max, 68% recent, 0 skipped hosts another weird thing backups seems to be repeated : 2017-12-19 05:00:00 incr backup started back to 2017-12-17 05:00:03 (backup #274) for directory /var/lib/jenkins/jobs 2017-12-19 08:49:39 incr backup started back to 2017-12-17 05:00:03 (backup #274) for directory /var/lib/jenkins/jobs 2017-12-18 17:21 GMT+01:00 Adrien Coestesquis: > Ok thanks, I will look at it if i see the notification tomorrow. > i will let you know guys ! > > 2017-12-18 17:08 GMT+01:00 B : > >> On Mon, 18 Dec 2017 16:43:35 +0100 >> Adrien Coestesquis wrote: >> >> > Hey ! Indeed, it solves problems sometimes :) >> > I reboot the machine right now, and I will see tomorrow >> >> It may also be tied to another cause which appears quite silly: >> https://serverfault.com/questions/482173/is-there-any-other- >> reason-for-no-space-left-on-device >> (see comment noted 4 in middle page) >> >> This is old, but this behavior may not have been corrected since. >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> BackupPC-users mailing list >> BackupPC-users@lists.sourceforge.net >> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users >> Wiki:http://backuppc.wiki.sourceforge.net >> Project: http://backuppc.sourceforge.net/ >> > > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC 4.1.5 released (plus new versions of backuppc-xs and rsync-bpc)
Le 18/12/2017 à 19:08, Pete Geenhuizen a écrit : OK I'll give it a shot with the V3 config. As far as the configure.pl script goes, it should be included since it is mentioned in the documentation. Now included in the doc dir Cheers, Daniel -- Logo FWS *Daniel Berteaud* FIREWALL-SERVICES SAS. Société de Services en Logiciels Libres Tel : 05 56 64 15 32 Matrix: @dani:fws.fr /www.firewall-services.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/