Bug#918578: gosa: GOsa web interface missing password field

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#918578: gosa: GOsa web interface missing password field

Eliza-4
Package: gosa
Version: 2.7.4+reloaded3-7
Severity: critical
Justification: breaks unrelated software

After some updates were applied, the password field disappeared from GOsa. The text label "Password" exist, but the text box is completely missing.

After the update, I saw the following errors (unsure if they are related):

"Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU Updating class cache...
Updating internationalization... ! Warning: you may need to reload your webservice!
Updating master image for theme 'default'.....................................................................libpng warning: iCCP: known incorrect sRGB profile ...libpng warning: iCCP: known incorrect sRGB profile"

Apache has been restarted.

I don't know if it's related, but there is an error in the logs:

"PHP Notice:  Array to string conversion in /usr/share/gosa/include/php_setup.inc on line 179"



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gosa depends on:
ii  apache2 [httpd]                  2.4.37-1
ii  fonts-liberation                 1:1.07.4-9
ii  gettext                          0.19.8.1-9
ii  imagemagick                      8:6.9.10.14+dfsg-7
ii  imagemagick-6.q16 [imagemagick]  8:6.9.9.34+dfsg-3
ii  libcrypt-smbhash-perl            0.12-4
ii  libjs-scriptaculous              1.9.0-2
ii  php                              2:7.3+69
ii  php-cgi                          2:7.3+69
ii  php-cli                          2:7.3+69
ii  php-curl                         2:7.3+69
ii  php-gd                           2:7.3+69
ii  php-imagick                      3.4.3-4
ii  php-imap                         2:7.3+69
ii  php-ldap                         2:7.3+69
ii  php-mbstring                     2:7.3+69
ii  php-mysql                        2:7.3+69
ii  php-recode                       2:7.3+69
ii  php-xml                          2:7.3+69
ii  php7.0 [php]                     7.0.27-1
ii  php7.0-cli [php-cli]             7.0.27-1
ii  php7.0-gd [php-gd]               7.0.27-1
ii  php7.0-imap [php-imap]           7.0.27-1
ii  php7.0-ldap [php-ldap]           7.0.27-1
ii  php7.0-mbstring [php-mbstring]   7.0.27-1
ii  php7.0-recode [php-recode]       7.0.27-1
ii  php7.0-xml [php-xml]             7.0.27-1
ii  php7.2 [php]                     7.2.2-1
ii  php7.2-cli [php-cli]             7.2.2-1
ii  php7.2-gd [php-gd]               7.2.2-1
ii  php7.2-imap [php-imap]           7.2.2-1
ii  php7.2-ldap [php-ldap]           7.2.2-1
ii  php7.2-mbstring [php-mbstring]   7.2.2-1
ii  php7.2-recode [php-recode]       7.2.2-1
ii  php7.2-xml [php-xml]             7.2.2-1
ii  php7.3 [php]                     7.3.0-2
ii  php7.3-cgi [php-cgi]             7.3.0-2
ii  php7.3-cli [php-cli]             7.3.0-2
ii  php7.3-curl [php-curl]           7.3.0-2
ii  php7.3-gd [php-gd]               7.3.0-2
ii  php7.3-imap [php-imap]           7.3.0-2
ii  php7.3-ldap [php-ldap]           7.3.0-2
ii  php7.3-mbstring [php-mbstring]   7.3.0-2
ii  php7.3-recode [php-recode]       7.3.0-2
ii  php7.3-xml [php-xml]             7.3.0-2
ii  smarty-gettext                   1.6.0-1
ii  smarty3                          3.1.33+20180830.1.3a78a21f+selfpack1-1
ii  ssmtp [mail-transport-agent]     2.64-8+b2

gosa recommends no packages.

Versions of packages gosa suggests:
pn  cyrus21-imapd  <none>
ii  gosa-schema    2.7.4+reloaded3-7
pn  php-apc        <none>
pn  php-fpdf       <none>
pn  php-suhosin    <none>
pn  postfix-ldap   <none>
ii  slapd          2.4.47+dfsg-1

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#918578: gosa: GOsa web interface missing password field

Wolfgang Schweer-3
On Mon, Jan 07, 2019 at 04:20:23PM +0200, Eliza wrote:
> After some updates were applied, the password field disappeared from
> GOsa. The text label "Password" exist, but the text box is completely
> missing.

Could you please provide some more information? It seems to be a rather
unusual system setup, esp. concerning PHP (a mix of versions: 7.0, 7.2
and 7.3):

> ii  php                              2:7.3+69
> ii  php-cgi                          2:7.3+69
> ii  php-cli                          2:7.3+69
> ii  php-curl                         2:7.3+69
> ii  php-gd                           2:7.3+69
> ii  php-imagick                      3.4.3-4
> ii  php-imap                         2:7.3+69
> ii  php-ldap                         2:7.3+69
> ii  php-mbstring                     2:7.3+69
> ii  php-mysql                        2:7.3+69
> ii  php-recode                       2:7.3+69
> ii  php-xml                          2:7.3+69
> ii  php7.0 [php]                     7.0.27-1
> ii  php7.0-cli [php-cli]             7.0.27-1
> ii  php7.0-gd [php-gd]               7.0.27-1
> ii  php7.0-imap [php-imap]           7.0.27-1
> ii  php7.0-ldap [php-ldap]           7.0.27-1
> ii  php7.0-mbstring [php-mbstring]   7.0.27-1
> ii  php7.0-recode [php-recode]       7.0.27-1
> ii  php7.0-xml [php-xml]             7.0.27-1
> ii  php7.2 [php]                     7.2.2-1
> ii  php7.2-cli [php-cli]             7.2.2-1
> ii  php7.2-gd [php-gd]               7.2.2-1
> ii  php7.2-imap [php-imap]           7.2.2-1
> ii  php7.2-ldap [php-ldap]           7.2.2-1
> ii  php7.2-mbstring [php-mbstring]   7.2.2-1
> ii  php7.2-recode [php-recode]       7.2.2-1
> ii  php7.2-xml [php-xml]             7.2.2-1
> ii  php7.3 [php]                     7.3.0-2
> ii  php7.3-cgi [php-cgi]             7.3.0-2
> ii  php7.3-cli [php-cli]             7.3.0-2
> ii  php7.3-curl [php-curl]           7.3.0-2
> ii  php7.3-gd [php-gd]               7.3.0-2
> ii  php7.3-imap [php-imap]           7.3.0-2
> ii  php7.3-ldap [php-ldap]           7.3.0-2
> ii  php7.3-mbstring [php-mbstring]   7.3.0-2
> ii  php7.3-recode [php-recode]       7.3.0-2
> ii  php7.3-xml [php-xml]             7.3.0-2
Maybe this mix causes the reported issue.

Wolfgang

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#918578: gosa: GOsa web interface missing password field

Eliza Ralph
What further information do you need? What do I do in the case when "apt-cache depends" shows multiple package versions?

If I check what version of PHP is running, I get PHP Version => 7.3.0-2.

I inherited the system from the previous admin and admittedly it is in a mess.


On Mon, 7 Jan 2019 at 19:36, Wolfgang Schweer <[hidden email]> wrote:
On Mon, Jan 07, 2019 at 04:20:23PM +0200, Eliza wrote:
> After some updates were applied, the password field disappeared from
> GOsa. The text label "Password" exist, but the text box is completely
> missing.

Could you please provide some more information? It seems to be a rather
unusual system setup, esp. concerning PHP (a mix of versions: 7.0, 7.2
and 7.3):

> ii  php                              2:7.3+69
> ii  php-cgi                          2:7.3+69
> ii  php-cli                          2:7.3+69
> ii  php-curl                         2:7.3+69
> ii  php-gd                           2:7.3+69
> ii  php-imagick                      3.4.3-4
> ii  php-imap                         2:7.3+69
> ii  php-ldap                         2:7.3+69
> ii  php-mbstring                     2:7.3+69
> ii  php-mysql                        2:7.3+69
> ii  php-recode                       2:7.3+69
> ii  php-xml                          2:7.3+69
> ii  php7.0 [php]                     7.0.27-1
> ii  php7.0-cli [php-cli]             7.0.27-1
> ii  php7.0-gd [php-gd]               7.0.27-1
> ii  php7.0-imap [php-imap]           7.0.27-1
> ii  php7.0-ldap [php-ldap]           7.0.27-1
> ii  php7.0-mbstring [php-mbstring]   7.0.27-1
> ii  php7.0-recode [php-recode]       7.0.27-1
> ii  php7.0-xml [php-xml]             7.0.27-1
> ii  php7.2 [php]                     7.2.2-1
> ii  php7.2-cli [php-cli]             7.2.2-1
> ii  php7.2-gd [php-gd]               7.2.2-1
> ii  php7.2-imap [php-imap]           7.2.2-1
> ii  php7.2-ldap [php-ldap]           7.2.2-1
> ii  php7.2-mbstring [php-mbstring]   7.2.2-1
> ii  php7.2-recode [php-recode]       7.2.2-1
> ii  php7.2-xml [php-xml]             7.2.2-1
> ii  php7.3 [php]                     7.3.0-2
> ii  php7.3-cgi [php-cgi]             7.3.0-2
> ii  php7.3-cli [php-cli]             7.3.0-2
> ii  php7.3-curl [php-curl]           7.3.0-2
> ii  php7.3-gd [php-gd]               7.3.0-2
> ii  php7.3-imap [php-imap]           7.3.0-2
> ii  php7.3-ldap [php-ldap]           7.3.0-2
> ii  php7.3-mbstring [php-mbstring]   7.3.0-2
> ii  php7.3-recode [php-recode]       7.3.0-2
> ii  php7.3-xml [php-xml]             7.3.0-2

Maybe this mix causes the reported issue.

Wolfgang
Reply | Threaded
Open this post in threaded view
|

Bug#918578: gosa: GOsa web interface missing password field

Holger Levsen-2
In reply to this post by Wolfgang Schweer-3
control: severity -1 important
thanks

On Mon, Jan 07, 2019 at 06:36:35PM +0100, Wolfgang Schweer wrote:
> On Mon, Jan 07, 2019 at 04:20:23PM +0200, Eliza wrote:
> > After some updates were applied, the password field disappeared from
> > GOsa. The text label "Password" exist, but the text box is completely
> > missing.
> Could you please provide some more information? It seems to be a rather
> unusual system setup, esp. concerning PHP (a mix of versions: 7.0, 7.2
> and 7.3):
[...]
> Maybe this mix causes the reported issue.

I guess so too, downgrading severity accordingly.


--
cheers,
        Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#918578: gosa: GOsa web interface missing password field

Wolfgang Schweer-3
In reply to this post by Eliza Ralph
On Wed, Jan 09, 2019 at 02:31:08PM +0200, Eliza Ralph wrote:
> What further information do you need?

Well, I guess you already provided enough of it.

> What do I do in the case when "apt-cache depends" shows multiple
> package versions?

Remove the superfluous packages? But be aware that the 'mess' you found
might be due to some sophisticated setup by the previous admin.
And upgrading such a system might require even more sophisticated
skills...
 
> If I check what version of PHP is running, I get PHP Version =>
> 7.3.0-2.

Sounds okay.

> I inherited the system from the previous admin and admittedly it is in a
> mess.

No fun, wish you were able to find a way out.
 
Wolfgang

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#918578: gosa: GOsa web interface missing password field

Eliza Ralph
So are you saying it's not possible to fix GOsa in this case?

On Wed, 9 Jan 2019 at 21:48, Wolfgang Schweer <[hidden email]> wrote:
On Wed, Jan 09, 2019 at 02:31:08PM +0200, Eliza Ralph wrote:
> What further information do you need?

Well, I guess you already provided enough of it.

> What do I do in the case when "apt-cache depends" shows multiple
> package versions?

Remove the superfluous packages? But be aware that the 'mess' you found
might be due to some sophisticated setup by the previous admin.
And upgrading such a system might require even more sophisticated
skills...

> If I check what version of PHP is running, I get PHP Version =>
> 7.3.0-2.

Sounds okay.

> I inherited the system from the previous admin and admittedly it is in a
> mess.

No fun, wish you were able to find a way out.

Wolfgang
Reply | Threaded
Open this post in threaded view
|

Bug#918578: gosa: GOsa web interface missing password field

Holger Levsen-2
On Mon, Jan 14, 2019 at 05:15:59PM +0200, Eliza Ralph wrote:
> So are you saying it's not possible to fix GOsa in this case?

it's not gosa that is broken but your php setup.


--
cheers,
        Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#918578: gosa: GOsa web interface missing password field

Wolfgang Schweer-3
On Mon, Jan 14, 2019 at 03:43:26PM +0000, Holger Levsen wrote:
> On Mon, Jan 14, 2019 at 05:15:59PM +0200, Eliza Ralph wrote:
> > So are you saying it's not possible to fix GOsa in this case?
>
> it's not gosa that is broken but your php setup.

After upgrading a Debian Edu main server (Stretch 9.8 -> Buster) the
password entry field is missing just like reported.
Further investigation needed...

Wolfgang

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#918578: maybe something to try

Holger Levsen-2
In reply to this post by Eliza-4
hi,

from irc:

<h01ger> | sunweaver: but if you have some spare cycles, maybe you could look into #918578 ;)
-  zwiebelbot- | (#debian-release) Debian#918578: gosa: GOsa web interface missing password field - https://bugs.debian.org/918578
<sunweaver> I have the gosa bug on my radar, but no idea, yet.
<sunweaver> I have seen it once, when I test-installed unstable's smarty3 on a stretch Debian Edu TJENER.
<sunweaver> so, it might be unrelated to gosa, in fact.

maybe someone could try to reproduce this: on stretch, install smarty3
from sid and see if this bug pops up.


--
tschau,
        Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#918578: ping this bug again

Mike Gabriel-4
In reply to this post by Eliza-4
Control: tags -1 patch

Hi all,

On  Fr 05 Apr 2019 00:31:03 CEST, Wolfgang Schweer wrote:

> Ping this bug again to keep the chance to fix it.
>
> Wolfgang

Patch attached. Sorry for the dramatic pause before sitting down and  
finding a fix. Please test.

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [hidden email], http://das-netzwerkteam.de


1043_smarty-add-on-function-param-types.patch (2K) Download Attachment
attachment1 (868 bytes) Download Attachment