raoulbhatia / backuppc Goto Github PK
View Code? Open in Web Editor NEWThis project forked from backuppc/backuppc
BackupPC is a high-performance, enterprise-grade system for backing up to a server's disk.
License: GNU General Public License v3.0
This project forked from backuppc/backuppc
BackupPC is a high-performance, enterprise-grade system for backing up to a server's disk.
License: GNU General Public License v3.0
dpkg -i backuppc_4.3.0_amd64.deb
(Lese Datenbank ... 210939 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von backuppc_4.3.0_amd64.deb ...
Entpacken von backuppc (4.3.0) über (4.3.0) ...
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von backuppc:
backuppc hängt ab von libtime-modules-perl; aber:
Paket libtime-modules-perl ist nicht installiert.
dpkg: Fehler beim Bearbeiten des Paketes backuppc (--install):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für systemd (241-1) werden verarbeitet ...
Trigger für man-db (2.8.5-2) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
backuppc
Building a package of 4.3.2 from the latest commit, 4e32d29 I ended up with it installing the program without execute permissions, so the service failed to start.
I'm not sure which commit introduced this behavior, but building from b1bbdd5 worked okay.
$ sudo bash -x /etc/init.d/backuppc status
+ set -e
+ BINDIR=/usr/share/backuppc/bin
+ DATADIR=/var/lib/backuppc
+ USER=backuppc
+ NICE=0
+ test -f /etc/default/backuppc
+ . /etc/default/backuppc
++ NICE=0
+ NAME=backuppc
+ DAEMON=BackupPC
+ test -x /usr/share/backuppc/bin/BackupPC
+ exit 0
$ ls -l /usr/share/backuppc/bin/BackupPC
-rw-r--r-- 1 root root 87187 Jun 21 03:31 /usr/share/backuppc/bin/BackupPC
See 94a7b92
@brenard's 0260c46 commit is just a workaround for Debian building package process on host without backuppc
user.
By setting while(0), I disable the following while block that try to determine backuppc
user infos, which fail on host without backuppc
user. I first try to use --no-set-perms
parameter of configure.pl script in debian/rules
file but it's not working.
This workaround could certainly be fixed be using a more graceful solution but it's currently the easier way for me.
I will try to see if the --no-set-perms
parameter could be a proper solution by fixing it effect in configure.pl file. In this case, I could propose a PR upstream for that and we could use it to fix this problem by just using --no-set-perms parameter
in debian/rules
file, like I first tried.
On Debian Stretch dpkg-buildpackage fails with the following error message:
can't build with source format '3.0 (native)': native package version may not have a revision
Packaging works as expected with revision number removed in debian/changelog
:
backuppc (4.3.0) stable; urgency=medium
unix bind(/var/lib/backuppc/log/BackupPC.sock) failed: Permission denied (does /var/lib/backuppc/log exist and writeable by BackupPC?); exiting
root@backup /var/lib/backuppc # ls -altr
total 168
drwxr-xr-x 2 root root 4096 Aug 12 11:22 pool
drwxr-xr-x 2 root root 4096 Aug 12 11:22 pc
drwxr-xr-x 2 root root 4096 Aug 12 11:22 log
drwxr-xr-x 2 root root 4096 Aug 12 11:22 cpool
drwxr-xr-x 54 root root 4096 Aug 20 12:04 ..
drwxr-xr-x 2 root root 4096 Aug 20 12:04 conf
Hello @raoulbhatia
Would you have some time left to update your repository with upstream ? Debian packaging is something completely unknown to me, but I could give it a try if you think its for the best ?
https://github.com/backuppc/backuppc/releases/tag/4.3.2
Cheers, 🍻
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.