Code Monkey home page Code Monkey logo

backuppc's People

Contributors

brenard avatar craigbarratt avatar cure avatar danpoltawski avatar derrickdominic avatar equistango avatar exmatrikulator avatar felfert avatar guestisp avatar haxorjim avatar jooola avatar kotoko avatar mainboarder avatar maksyms avatar martintamare avatar moisseev avatar ngharo avatar opoplawski avatar patch avatar pbe-axelor avatar pjoubert- avatar raoulbhatia avatar rfjakob avatar rhansen avatar schuetzm avatar sigmoidal avatar steven-de-wit avatar svenbunge avatar thenetworkisdown avatar waldner avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

backuppc's Issues

Error installing BackupPC 4.3.x on Debian GNU/Linux 10 (Buster) due to missing package libtime-modules-perl

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

No execute permissions on /usr/share/backuppc/bin/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

Debian build is breaking when user backuppc is not present

@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.

Failed to start after fresh install

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.