Re: Cannot start service, initgroups(gotify,365): Operation not permitted

2024-10-12 Thread Matthias Fechner
Am 12.10.2024 um 11:37 schrieb Ronald Klop: sh -x /usr/local/etc/rc.d/gotify_server start Are your sure you ran 'service gotify_server start' as root? The man pages say that iinitgroups can only return EPERM via a call to setgroups when not run as root. thanks for the tip with sh -x, that mad

Cannot start service, initgroups(gotify,365): Operation not permitted

2024-10-12 Thread Matthias Fechner
Dear all, I currently try to create a port for gotify. The port itself is more or less complete, but I have problem with the init script: #!/bin/sh # PROVIDE: gotify_server # REQUIRE: DAEMON NETWORKING # KEYWORD: shutdown # # Add these lines to /etc/rc.conf.local or /etc/rc.conf # to enable th

Re: Cannot start service, initgroups(gotify,365): Operation not permitted

2024-10-12 Thread Ronald Klop
If you run the script with sh -x you will get output of what it is doing. This can help identifying which part of the script fails. sh -x /usr/local/etc/rc.d/gotify_server start Are your sure you ran 'service gotify_server start' as root? The man pages say that iinitgroups can only return EPERM