Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/BackupPC.spec'], chrootPath='/var/lib/mock/f42-build-55098913-6532482/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jfhwjgph:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jfhwjgph:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e0d41597bb3149a1a3356647ff5355cd', '-D', '/var/lib/mock/f42-build-55098913-6532482/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jfhwjgph:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/BackupPC.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/BackupPC-4.4.0-15.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/BackupPC.spec'], chrootPath='/var/lib/mock/f42-build-55098913-6532482/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jfhwjgph:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jfhwjgph:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4a7580ce20f64e30ac5c9a57bdddae26', '-D', '/var/lib/mock/f42-build-55098913-6532482/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jfhwjgph:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/BackupPC.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.KCPhcp + umask 022 + cd /builddir/build/BUILD/BackupPC-4.4.0-build + test -d /builddir/build/BUILD/BackupPC-4.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/BackupPC-4.4.0-build + /usr/bin/rm -rf /builddir/build/BUILD/BackupPC-4.4.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1dtLT1 + umask 022 + cd /builddir/build/BUILD/BackupPC-4.4.0-build + cd /builddir/build/BUILD/BackupPC-4.4.0-build + rm -rf BackupPC-4.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/BackupPC-4.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd BackupPC-4.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/BackupPC-4.1.3-docfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/2c9270b9b849b2c86ae6301dd722c97757bc9256.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + for f in ChangeLog + iconv -f ISO-8859-1 -t UTF-8 ChangeLog + mv ChangeLog.utf ChangeLog + cp /builddir/build/SOURCES/README.setup . + cp /builddir/build/SOURCES/README.RHEL . + cp /builddir/build/SOURCES/BackupPC_Admin.c . + mkdir selinux + pushd selinux ~/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0/selinux ~/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0 + cat + cat + popd + for m in Net/FTP ~/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0 + rm -rf lib/Net/FTP + sed -i '\@lib/Net/FTP@d' configure.pl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gWHbV5 + umask 022 + cd /builddir/build/BUILD/BackupPC-4.4.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd BackupPC-4.4.0 + gcc -o BackupPC_Admin BackupPC_Admin.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer + pushd selinux + make -f /usr/share/selinux/devel/Makefile ~/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0/selinux ~/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0 Compiling targeted BackupPC module Creating targeted BackupPC.pp policy package rm tmp/BackupPC.mod.fc tmp/BackupPC.mod ~/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0 + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HOooEr + umask 022 + cd /builddir/build/BUILD/BackupPC-4.4.0-build + '[' /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build + mkdir /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd BackupPC-4.4.0 + /usr/bin/perl configure.pl --batch --backuppc-user=backuppc --dest-dir /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT --config-dir /etc/BackupPC/ --config-override 'CgiURL="http://localhost/BackupPC"' --config-override ClientNameAlias=undef --config-override 'NmbLookupPath="/usr/bin/nmblookup"' --config-override 'ParPath="/usr/bin/par2"' --config-override 'PingPath="/usr/bin/ping"' --config-override 'Ping6Path="/usr/sbin/ping6"' --config-override 'RrdToolPath="/usr/bin/rrdtool"' --config-override 'RsyncBackupPCPath="/usr/bin/rsync_bpc"' --config-override 'RsyncClientPath="/usr/bin/rsync"' --config-override 'SendmailPath="/usr/sbin/sendmail"' --config-override 'SmbClientPath="/usr/bin/smbclient"' --config-override 'SshPath="/usr/bin/ssh"' --config-override 'TarClientPath="/usr/bin/gtar"' --config-override 'XferMethod="rsync"' --cgi-dir /usr/libexec/BackupPC --data-dir /var/lib/BackupPC/ --hostname localhost --html-dir /usr/share/BackupPC/html/ --html-dir-url /BackupPC/images --install-dir /usr/share/BackupPC --log-dir /var/log/BackupPC --no-set-perms --uid-ignore Is this a new installation or upgrade for BackupPC? If this is an upgrade please tell me the full path of the existing BackupPC configuration file (eg: /etc/BackupPC//config.pl). Otherwise, just hit return. --> Full path to existing main config.pl [] I found the following locations for these programs: bzip2 => /usr/bin/bzip2 cat => /usr/bin/cat df => /usr/bin/df gtar/tar => /usr/bin/gtar gzip => /usr/bin/gzip hostname => nmblookup => par2 => perl => /usr/bin/perl ping => ping6 => rrdtool => rsync => rsync_bpc => sendmail => smbclient => split => /usr/bin/split ssh/ssh2 => --> Are these paths correct? [y] Please tell me the hostname of the machine that BackupPC will run on. --> BackupPC will run on host [localhost] BackupPC should run as a dedicated user with limited privileges. You need to create a user. This user will need read/write permission on the main data directory and read/execute permission on the install directory (these directories will be setup shortly). The primary group for this user should also be chosen carefully. The data directories and files will have group read permission, so group members can access backup files. --> BackupPC should run as user [backuppc] Please specify an install directory for BackupPC. This is where the BackupPC scripts, library and documentation will be installed. --> Install directory (full path) [/usr/share/BackupPC] Please specify a data directory for BackupPC. This is where all the PC backup data is stored. This file system needs to be big enough to accommodate all the PCs you expect to backup (eg: at least several GB per machine). --> Data directory (full path) [/var/lib/BackupPC/] BackupPC has SCGI and CGI perl interfaces that run under Apache. You need to pick which one to run. For SCGI, Apache uses the scgi_mod module to communicate with BackupPC_Admin_SCGI, which handles the requests. This allows Apache to run as a different user as backuppc. To use SCGI you need to set SCGIServerPort to any spare non-privileged TCP port number. A negative value disables SCGI. ** Important security warning!! The SCGIServerPort must not be accessible by ** anyone untrusted. That means you can't allow untrusted users access to the ** BackupPC server, and you should block the SCGIServerPort TCP port from ** network access. The traditional alternative is to use CGI. In this case, an executable needs to be installed Apache's cgi-bin directory. This executable needs to run as set-uid backuppc, or it can be run under mod_perl with Apache running as user backuppc. --> SCGI port (-1 to disable) [-1] --> CGI bin directory (full path, or empty for no CGI) [/usr/libexec/BackupPC] BackupPC's CGI and SCGI script need to display various PNG/GIF images that should be stored where Apache can serve them. They should be placed somewhere under Apache's DocumentRoot. BackupPC also needs to know the URL to access these images. Example: Apache image directory: /var/www/htdocs/BackupPC URL for image directory: /BackupPC The URL for the image directory should start with a slash. --> Apache image directory (full path, or empty for no S/CGI) [/usr/share/BackupPC/html/] --> URL for image directory (omit http://host; starts with '/', or empty for no S/CGI) [/BackupPC/images] Ok, we're about to: - install the binaries, lib and docs in /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC - create the data directory /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/var/lib/BackupPC/ - optionally install the cgi-bin interface - create/update the config.pl file /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/etc/BackupPC//config.pl --> Do you want to continue? [y] Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/doc Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/lib Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/lib/BackupPC Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/lib/BackupPC/CGI Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/lib/BackupPC/Config Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/lib/BackupPC/Lang Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/lib/BackupPC/Storage Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/lib/BackupPC/Xfer Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/lib/BackupPC/Zip Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/html/ Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/var/lib/BackupPC/ Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/var/lib/BackupPC//pool Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/var/lib/BackupPC//cpool Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/var/lib/BackupPC//pc Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/etc/BackupPC/ Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/var/log/BackupPC Created /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/var/run/BackupPC Installing binaries in /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin Installing library in /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/lib Installing images in /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/html/ Making systemd and init.d scripts Making Apache configuration file for suid-perl Installing docs in /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/doc Installing cgi script BackupPC_Admin in /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/libexec/BackupPC Installing config.pl and hosts in /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/etc/BackupPC/ Ok, it looks like we are finished. There are several more things you will need to do: - Browse through the config file, /etc/BackupPC//config.pl, and make sure all the settings are correct. In particular, you will need to set $Conf{CgiAdminUsers} so you have administration privileges in the CGI interface. - Edit the list of hosts to backup in /etc/BackupPC//hosts. - Read the documentation in /usr/share/BackupPC/doc/BackupPC.html. Please pay special attention to the security section. - Verify that the CGI script BackupPC_Admin runs correctly. You might need to change the permissions or group ownership of BackupPC_Admin. If this is an upgrade and you are using mod_perl, you will need to restart Apache. Otherwise it will have stale code. - BackupPC should be ready to start. Don't forget to run it as user backuppc! The installation also contains a systemd/backuppc.service script that can be installed so that BackupPC can auto-start on boot. This will also enable administrative users to start the server from the CGI interface. See systemd/README. Enjoy! + chmod +x /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_Admin_SCGI /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_archive /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_archiveHost /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_archiveStart /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_attribPrint /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_backupDelete /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_backupDuplicate /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_dump /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_fixupBackupSummary /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_fsck /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_ls /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_migrateV3toV4 /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_nightly /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_poolCntPrint /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_refCountUpdate /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_restore /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_rrdUpdate /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_sendEmail /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_serverMesg /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_tarCreate /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_tarExtract /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_zcat /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/bin/BackupPC_zipCreate + mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/lib/tmpfiles.d + install -p -m 0644 /builddir/build/SOURCES/BackupPC.tmpfiles /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/lib/tmpfiles.d/BackupPC.conf + mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/lib/systemd/system + install -p -m 0644 /builddir/build/SOURCES/backuppc.service /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/lib/systemd/system/ + mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/etc/httpd/conf.d/ + mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/etc/logrotate.d/ + mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/var/log/BackupPC + mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/etc/BackupPC/pc + install -p -m 0644 /builddir/build/SOURCES/BackupPC.htaccess /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/etc/httpd/conf.d/BackupPC.conf + install -p -m 0644 /builddir/build/SOURCES/BackupPC.logrotate /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/etc/logrotate.d/BackupPC + install -p -m 0644 /builddir/build/SOURCES/apache.users /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/etc/BackupPC/ + mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/sbin + mv /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/libexec/BackupPC/BackupPC_Admin /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/BackupPC/sbin/BackupPC_Admin + install -pm 0755 BackupPC_Admin /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/libexec/BackupPC/ + mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/selinux/packages/BackupPC + install -m 0644 selinux/BackupPC.pp /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/selinux/packages/BackupPC/BackupPC.pp + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 4.4.0-15.fc42 --unique-debug-suffix -4.4.0-15.fc42.x86_64 --unique-debug-src-base BackupPC-4.4.0-15.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/BackupPC-4.4.0-15.fc42.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT Scanned 48 directories and 140 files, processed 1 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/BackupPC-4.4.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: BackupPC-4.4.0-15.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Vofy7g + umask 022 + cd /builddir/build/BUILD/BackupPC-4.4.0-build + cd BackupPC-4.4.0 + DOCDIR=/builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/doc/BackupPC + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/doc/BackupPC + cp -pr /builddir/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0/README.md /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/doc/BackupPC + cp -pr /builddir/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0/README.setup /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/doc/BackupPC + cp -pr /builddir/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0/README.RHEL /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/doc/BackupPC + cp -pr /builddir/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0/ChangeLog /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/doc/BackupPC + cp -pr /builddir/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0/doc/BackupPC.html /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/doc/BackupPC + cp -pr /builddir/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0/doc/BackupPC.pod /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/doc/BackupPC + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.q9mwu7 + umask 022 + cd /builddir/build/BUILD/BackupPC-4.4.0-build + cd BackupPC-4.4.0 + LICENSEDIR=/builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/licenses/BackupPC + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/licenses/BackupPC + cp -pr /builddir/build/BUILD/BackupPC-4.4.0-build/BackupPC-4.4.0/LICENSE /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT/usr/share/licenses/BackupPC + RPM_EC=0 ++ jobs -p + exit 0 Provides: BackupPC = 4.4.0-15.fc42 BackupPC(x86-64) = 4.4.0-15.fc42 backuppc = 4.4.0-15.fc42 config(BackupPC) = 4.4.0-15.fc42 perl(BackupPC::CGI::AdminOptions) perl(BackupPC::CGI::Archive) perl(BackupPC::CGI::ArchiveInfo) perl(BackupPC::CGI::Browse) perl(BackupPC::CGI::DeleteBackup) perl(BackupPC::CGI::DirHistory) perl(BackupPC::CGI::EditConfig) perl(BackupPC::CGI::EmailSummary) perl(BackupPC::CGI::GeneralInfo) perl(BackupPC::CGI::HostInfo) perl(BackupPC::CGI::LOGlist) perl(BackupPC::CGI::Lib) perl(BackupPC::CGI::Metrics) perl(BackupPC::CGI::Queue) perl(BackupPC::CGI::ReloadServer) perl(BackupPC::CGI::Restore) perl(BackupPC::CGI::RestoreFile) perl(BackupPC::CGI::RestoreInfo) perl(BackupPC::CGI::StartServer) perl(BackupPC::CGI::StartStopBackup) perl(BackupPC::CGI::StopServer) perl(BackupPC::CGI::Summary) perl(BackupPC::CGI::View) perl(BackupPC::Config::Meta) perl(BackupPC::DirOps) perl(BackupPC::Lib) perl(BackupPC::Storage) perl(BackupPC::Storage::Text) perl(BackupPC::View) perl(BackupPC::Xfer) perl(BackupPC::Xfer::Archive) perl(BackupPC::Xfer::Ftp) perl(BackupPC::Xfer::Protocol) perl(BackupPC::Xfer::Rsync) perl(BackupPC::Xfer::Smb) perl(BackupPC::Xfer::Tar) perl(BackupPC::Zip::FileMember) Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh shadow-utils systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/perl libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.34)(64bit) perl(Archive::Zip) perl(BackupPC::CGI::AdminOptions) perl(BackupPC::CGI::Archive) perl(BackupPC::CGI::ArchiveInfo) perl(BackupPC::CGI::Browse) perl(BackupPC::CGI::DeleteBackup) perl(BackupPC::CGI::DirHistory) perl(BackupPC::CGI::EditConfig) perl(BackupPC::CGI::EmailSummary) perl(BackupPC::CGI::GeneralInfo) perl(BackupPC::CGI::HostInfo) perl(BackupPC::CGI::LOGlist) perl(BackupPC::CGI::Lib) perl(BackupPC::CGI::Metrics) perl(BackupPC::CGI::Queue) perl(BackupPC::CGI::ReloadServer) perl(BackupPC::CGI::Restore) perl(BackupPC::CGI::RestoreFile) perl(BackupPC::CGI::RestoreInfo) perl(BackupPC::CGI::StartServer) perl(BackupPC::CGI::StartStopBackup) perl(BackupPC::CGI::StopServer) perl(BackupPC::CGI::Summary) perl(BackupPC::CGI::View) perl(BackupPC::Config::Meta) perl(BackupPC::DirOps) perl(BackupPC::Lib) perl(BackupPC::Storage) perl(BackupPC::Storage::Text) perl(BackupPC::View) perl(BackupPC::XS) perl(BackupPC::Xfer) perl(BackupPC::Xfer::Archive) perl(BackupPC::Xfer::Ftp) perl(BackupPC::Xfer::Protocol) perl(BackupPC::Xfer::Rsync) perl(BackupPC::Xfer::Smb) perl(BackupPC::Xfer::Tar) perl(BackupPC::Zip::FileMember) perl(CGI) perl(Carp) perl(Compress::Zlib) perl(Config) perl(Cwd) perl(Data::Dumper) perl(Digest::MD5) perl(DynaLoader) perl(Encode) perl(Errno) perl(Exporter) perl(Fcntl) perl(File::Copy) perl(File::Find) perl(File::Listing) perl(File::Path) perl(Getopt::Std) perl(IO::Handle) perl(IO::Socket) perl(POSIX) perl(Socket) perl(Storable) perl(Time::ParseDate) perl(base) perl(constant) perl(lib) perl(strict) perl(utf8) perl(vars) perl(version) perl(warnings) rtld(GNU_HASH) Recommends: group(apache) group(backuppc) httpd user(backuppc) Processing files: BackupPC-debugsource-4.4.0-15.fc42.x86_64 Provides: BackupPC-debugsource = 4.4.0-15.fc42 BackupPC-debugsource(x86-64) = 4.4.0-15.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: BackupPC-debuginfo-4.4.0-15.fc42.x86_64 Provides: BackupPC-debuginfo = 4.4.0-15.fc42 BackupPC-debuginfo(x86-64) = 4.4.0-15.fc42 debuginfo(build-id) = 418d2377a2275af8b6d6b78df848e3a5acd81e63 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: BackupPC-debugsource(x86-64) = 4.4.0-15.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/BackupPC-4.4.0-build/BUILDROOT Wrote: /builddir/build/RPMS/BackupPC-debugsource-4.4.0-15.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/BackupPC-debuginfo-4.4.0-15.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/BackupPC-4.4.0-15.fc42.x86_64.rpm Child return code was: 0