Closed Madic- closed 3 years ago
the naemon
user should be created automatically when installing mod-gearman. See:
https://github.com/sni/mod_gearman/blob/master/debian/mod-gearman-worker.preinst#L24
There is not much magic involved when installing the example config file, see: https://github.com/sni/mod_gearman/blob/master/debian/mod-gearman-module.postinst#L7 I cannot reproduce the issue here, tried Debian 10 and Ubuntu 20.04. Could you try to run the commands manually?
But i see, the naemon user is only created in the worker preinst. Did you install the module only? Did you install naemon-core before?
I added naemon-core to the module dependencies: 73bbe45984430db703b08db80d1f68dbd8787746
I only installed the module, not the core. Thank you for your help
Installing mod-gearman-module from console stable repository on a debian (based) distribution leads to the following error:
The file /etc/mod-gearman/module.conf.gz has 0 bytes. It also requires the user and group naemon to be present.
The package from https://mod-gearman.org/download/v3.3.3/ubuntu20.04/amd64/ has the same problems.
How can I, apart from OMD, install mod-gearman-module on a debian (based) dsitribution?
Edit
So postinst tries to cp -p /usr/share/doc/mod-gearman-module/examples/module.conf.gz /etc/mod-gearman/module.conf.gz But /usr/share/doc/mod-gearman-module/examples/module.conf.gz is not present, although the path in the data.tar.xz package is correct