Control: reassign -1 src:gosa
Control: found -1 2.8~git20230116.d119cff+dfsg-1

On  Di 18 Jul 2023 11:17:41 CEST, Guido Berhoerster wrote:

None of the command hooks using sudo work. The issue is that the scripts
seem to be executed by gosa without sudo as www-data. The problem seem to
be that plugin::callHook() method erroneously strips off the sudo command
(see
https://github.com/gosa-project/gosa-core/blob/2b22a5550089bab108177a41254f3f9de07eb20c/include/class_plugin.inc#L1612).
However I don't see any changes in git blame since 2016, not sure why
this used to work in bullseye.

--
Guido Berhoerster

The issue needs to be resolved via GOsa², so reassigning the bug report.

Mike


--

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: sunwea...@debian.org, http://sunweavers.net

Attachment: pgpTibVTxWyv5.pgp
Description: Digitale PGP-Signatur

Reply via email to