sni / mod_gearman

Distribute Naemon Host/Service Checks & Eventhandler with Gearman Queues. Host/Servicegroups affinity included.
http://www.mod-gearman.org
GNU General Public License v3.0
122 stars 42 forks source link

Issues with ubuntu 20.04 packages #157

Closed gardar closed 2 years ago

gardar commented 3 years ago

I'm having some issues with the Ubuntu 20.04 packages for mod-gearman-worker and mod-gearman-module on a fresh install of v3.3.3, it seems that the config examples are missing from the package.

cp: cannot stat '/usr/share/doc/mod-gearman-worker/examples/worker.conf.gz': No such file or directory
dpkg: error processing package mod-gearman-worker (--configure):
 installed mod-gearman-worker package post-installation script subprocess returned error exit status 1
Setting up mod-gearman-module (3.3.3) ...
cp: cannot stat '/usr/share/doc/mod-gearman-module/examples/module.conf.gz': No such file or directory
dpkg: error processing package mod-gearman-module (--configure):
 installed mod-gearman-module package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 mod-gearman-worker
 mod-gearman-module
snarf6 commented 3 years ago

Hola,

Seems to be related to #156 . Instead of reopening it, i'll put here what i found about it

I've faced the same issue, and it was not related to naemon-core dep.

I'm working on some docker integration (for specific use at work), and i think there's other dep issue. I've tried with testing branch

Using debian:buster-slim docker image, the install fails (for both worker and module), but it works with debian:buster out of the box.

Something is assuming that a tool|package is installed in a base system, but, it's not.

The game will be to hunt this dep

joseftschiggerlnts commented 2 years ago

Hey,

I too want to use a more recent version of Ubuntu to host mod-gearman and also stumble upon this issue. @sni would it be possible to look into this please :)

thanks!

sni commented 2 years ago

should be fixed with c1e3d3f449a06a601886fd34c72dcb07606c2ea0 Basically if the system does not install man-pages, then the example files werde missing which were used to create the initial config files.