Comment 2 for bug 1840485

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

- bareos seems to be having problems with the new libglusterfs (yes, they broke API and functions now have diff arguments). There was an upstream discussion for QEMU, for example (https://bugzilla.redhat.com/show_bug.cgi?id=1684298) where Daniel Berrangé complains about the API changes and Kaleb replies they never promised to keep it (saying they change SO_VERSION/SO_NAME for that).

Note: This was late noticed because I was fixing the dbconfig-mysql regression showed in excuses page only, with the binary version AND build output NEVER showed anything related to gluster, weird ?! maybe its because build attempt is 153 days old ? Version is still the same :\ and debian/control asks for glusterfs.

- bareos-database-mysql and bareos-database-postgresql needed, each of them, dependency for either dbconfig-mysql or dbconfig-pgsql, or else dbconfig-common does not show the dbtype option during reconfiguration time (and that's why it was always sticking with pgsql, even for the mysql test).

I was able to make it work:

(c)root@tests:~$ systemctl status bareos-dir
● bareos-director.service - Bareos Director Daemon service
   Loaded: loaded (/lib/systemd/system/bareos-director.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-08-21 06:04:30 UTC; 2s ago
     Docs: man:bareos-dir(8)
  Process: 11604 ExecStartPre=/usr/sbin/bareos-dir -t -f (code=exited, status=0)
  Process: 11606 ExecStart=/usr/sbin/bareos-dir (code=exited, status=0)
 Main PID: 11607 (bareos-dir)
      CPU: 34ms
   CGroup: /system.slice/bareos-director.service
           └─11607 /usr/sbin/bareos-dir

Aug 21 06:04:30 tests systemd[1]: Starting Bareos Director Daemon service...
Aug 21 06:04:30 tests systemd[1]: Started Bareos Director Daemon service.

Using mysql... I think it also has something to do with authentication plugin..because I had to dpkg-reconfigure using dialog and set the sha256_password and then I could make bareos to work.

NOTE: At last resource, we can skip the tests and fix this as a SRU because I'm close to discover what is going on.