Debian Bug report logs - #1018934
Login broken after rails upgrade: Psych::DisallowedClass, Tried to load unspecified class: Symbol

version graph

Package: gitlab; Maintainer for gitlab is Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>; Source for gitlab is src:gitlab (PTS, buildd, popcon).

Reported by: patrick@linux-dev.org

Date: Fri, 2 Sep 2022 07:09:02 UTC

Severity: normal

Fixed in version rails/2:6.1.6.1+dfsg-2

Done: Utkarsh Gupta <utkarsh@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#1018934; Package gitlab. (Fri, 02 Sep 2022 07:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to patrick@linux-dev.org:
New Bug report received and forwarded. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Fri, 02 Sep 2022 07:09:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Patrick Matthäi <patrick@linux-dev.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Login broken after rails upgrade: Psych::DisallowedClass, Tried to load unspecified class: Symbol
Date: Fri, 2 Sep 2022 08:57:52 +0200
[Message part 1 (text/plain, inline)]
Package: gitlab
Version:
Severity: serious

Hello,

severity serious, because I do not know if the standard login is also 
broken or "just" if you use ldap (the standard login also failed). After 
upgrading these packages later we were unable to login at gitlab again. 
The error I get in the logs is:

"message":"(ldapmain) Authentication failure! ldap_error: 
Psych::DisallowedClass, Tried to load unspecified class: Symbol"}

2022-09-01 10:52:59 upgrade libprotobuf31:amd64 3.20.0-1~fto11+1 21.5-1~fto11+1
2022-09-01 10:52:59 upgrade libprotoc31:amd64 3.20.0-1~fto11+1 21.5-1~fto11+1
2022-09-01 10:53:00 upgrade ruby-rails:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:00 upgrade ruby-actiontext:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:00 upgrade ruby-railties:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:00 upgrade ruby-actionmailbox:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:01 upgrade ruby-activestorage:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:01 upgrade ruby-actionmailer:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:01 upgrade ruby-actioncable:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:01 upgrade ruby-actionpack:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:01 upgrade ruby-actionview:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:02 upgrade ruby-activejob:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:02 upgrade ruby-activerecord:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:02 upgrade ruby-activemodel:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:02 upgrade ruby-activesupport:all 2:6.1.4.7+dfsg-2~fto11+1 2:6.1.6.1+dfsg-1~fto11+1
2022-09-01 10:53:03 upgrade ruby-google-protobuf:amd64 3.20.0-1~fto11+1 21.5-1~fto11+1
2022-09-01 10:53:03 upgrade ruby-oj:amd64 3.13.19-1~fto11+1 3.13.21-1~fto11+1
2022-09-01 10:53:03 upgrade ruby-view-component:all 2.53.0-2~fto11+1 2.69.0-1~fto11+2

But this failure does not happen immediatly here, so after starting gitlab it works first for a short time.
After downgrading the packages again (except of ruby-view-component) it works again.

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog:https://www.linux-dev.org/
E-Mail:pmatthaei@debian.org
        patrick@linux-dev.org
*/
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#1018934; Package gitlab. (Fri, 02 Sep 2022 07:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to patrick@linux-dev.org:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Fri, 02 Sep 2022 07:21:06 GMT) (full text, mbox, link).


Message #10 received at 1018934@bugs.debian.org (full text, mbox, reply):

From: Patrick Matthäi <patrick@linux-dev.org>
To: 1018934@bugs.debian.org
Subject: Re: Bug#1018934: (Login broken after rails upgrade: Psych::DisallowedClass, Tried to load unspecified class: Symbol)
Date: Fri, 2 Sep 2022 09:10:53 +0200
Hey,

I have tracked it down to these packages:

ruby-actioncable ruby-actionmailbox ruby-actionmailer ruby-actionpack 
ruby-actiontext ruby-actionview ruby-activejob ruby-activemodel 
ruby-activerecord ruby-activestorage ruby-activesupport ruby-rails 
ruby-railties

I also found this report:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265314

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: https://www.linux-dev.org/
E-Mail: pmatthaei@debian.org
        patrick@linux-dev.org
*/




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#1018934; Package gitlab. (Sat, 03 Sep 2022 12:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Sat, 03 Sep 2022 12:57:02 GMT) (full text, mbox, link).


Message #15 received at 1018934@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 1018934@bugs.debian.org
Cc: patrick@linux-dev.org, Mohd Bilal <mdbilal@disroot.org>
Subject: Re: Bug#1018934: (Login broken after rails upgrade: Psych::DisallowedClass, Tried to load unspecified class: Symbol)
Date: Sat, 03 Sep 2022 18:23:27 +0530
On Fri, 2 Sep 2022 09:10:53 +0200 =?UTF-8?Q?Patrick_Matth=c3=a4i?= 
<patrick@linux-dev.org> wrote:
> Hey,
>
> I have tracked it down to these packages:
>
> ruby-actioncable ruby-actionmailbox ruby-actionmailer ruby-actionpack
> ruby-actiontext ruby-actionview ruby-activejob ruby-activemodel
> ruby-activerecord ruby-activestorage ruby-activesupport ruby-rails
> ruby-railties
>
> I also found this report:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265314

Sorry for a bit of impatience. I should have ideally waited for gitlab 
15.3 before updating rails. But we found out there is another serious 
issue that we need to fix before we upload gitlab 15.3.

So current work around is to downgrade rails. As for the actual fix, I 
hope updating to gitlab 15.3 will fix this as upstream has already 
updated rails for gitlab 15.3.

And we noticed gitlab 15.3 introduced yaml 2.0 as a new nodejs 
dependency and it needs nodejs 14 at least and we only have nodejs 12 
in bullseye. So either we will have to make yaml work with nodejs using 
babel or update nodejs in bullseye-backports.

I have tried a few things to get the code to transpile for node 12, but 
nothing succeeded yet. Bilal is going to try backporting nodejs 18.





Reply sent to Utkarsh Gupta <utkarsh@debian.org>:
You have taken responsibility. (Mon, 05 Sep 2022 23:36:04 GMT) (full text, mbox, link).


Notification sent to patrick@linux-dev.org:
Bug acknowledged by developer. (Mon, 05 Sep 2022 23:36:04 GMT) (full text, mbox, link).


Message #20 received at 1018934-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1018934-close@bugs.debian.org
Subject: Bug#1018934: fixed in rails 2:6.1.6.1+dfsg-2
Date: Mon, 05 Sep 2022 23:34:18 +0000
Source: rails
Source-Version: 2:6.1.6.1+dfsg-2
Done: Utkarsh Gupta <utkarsh@debian.org>

We believe that the bug you reported is fixed in the latest version of
rails, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1018934@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Utkarsh Gupta <utkarsh@debian.org> (supplier of updated rails package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 06 Sep 2022 04:34:47 +0530
Source: rails
Architecture: source
Version: 2:6.1.6.1+dfsg-2
Distribution: unstable
Urgency: high
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Utkarsh Gupta <utkarsh@debian.org>
Closes: 1018934
Changes:
 rails (2:6.1.6.1+dfsg-2) unstable; urgency=high
 .
   [ Pirate Praveen ]
   * Add <!nocheck> for ruby-selenium-webdriver
 .
   [ Utkarsh Gupta ]
   * Add patch to allow Symbols in YAML columns. (Closes: #1018934)
Checksums-Sha1:
 0c782ee809511ade57f85c3be6d3eda091dc3912 4838 rails_6.1.6.1+dfsg-2.dsc
 e715921994f93ed9f2cb4f4ce5925628e15d4519 8173652 rails_6.1.6.1+dfsg.orig.tar.xz
 b477b1ee9ed5a541e3219eb1b8c6caade8b014a9 101952 rails_6.1.6.1+dfsg-2.debian.tar.xz
 b2fd56e7ed3609204271c4840c78a6c170223550 14759 rails_6.1.6.1+dfsg-2_source.buildinfo
Checksums-Sha256:
 9e3a9aec42f4cf717f032b81c2ea488884fc83d71f68b23e38cd5550f66347cc 4838 rails_6.1.6.1+dfsg-2.dsc
 6d17ff42c877d7490a6e832f1dc540178bc9203083d7a487a2d6ce809adb1b10 8173652 rails_6.1.6.1+dfsg.orig.tar.xz
 d3145c660a79bb3cd30fb4be9b69f64e55aa46e4bbb3b5eb12ccd7cf8e9fc18c 101952 rails_6.1.6.1+dfsg-2.debian.tar.xz
 55c812eeadabdabe0fbfd5e8ce2705ab1269dd6576d9dd116035ff5c08b618c1 14759 rails_6.1.6.1+dfsg-2_source.buildinfo
Files:
 ea34853a77da63adb2b2588f24425db1 4838 ruby optional rails_6.1.6.1+dfsg-2.dsc
 8eb8019844e018cf1e1356c3fbab51c9 8173652 ruby optional rails_6.1.6.1+dfsg.orig.tar.xz
 ec5d074193dca8020b0cd282054887bd 101952 ruby optional rails_6.1.6.1+dfsg-2.debian.tar.xz
 266bb624b06c4155452e381a3bda7c45 14759 ruby optional rails_6.1.6.1+dfsg-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCAAxFiEEbJ0QSEqa5Mw4X3xxgj6WdgbDS5YFAmMWg7cTHHV0a2Fyc2hA
ZGViaWFuLm9yZwAKCRCCPpZ2BsNLlvK5D/4ydxAH7xwO5lPZqCSO3WbNiSyD5fXw
a7WWjYSf8oI193ZB7xU/DC8MkOmcarV/SRMadIiuiVDFP8zpJWOO3iwDOrnHBw4n
FrOALtIUgWeltIzuhkKWo1DZINQqxcw9Osj4GD6DtGLQVeWBS5kPJEvY7wgT5jmN
x9vMorr3trtdukZyefy0beNUgRhGBog5feT1fSpHYwC5vAH8QM3HJ5ouxAr1Brrp
zDDRXMDuZoEZ+G2QDndPNKo1SslDO15tKRVXwLwHTIofuV/ahP9npJkh2L46fYsX
1ElthLSatcyLH9jOOxvSwUkqWByvoGbKBOWnZk8LlcT7yYJCHWVUyczWY5mnuTjJ
XOmxaFfVrB8vHEVHewk0y3kFQVJx0QFxqbhZrW9RFAjnyElkOrAblBpLitMnCU1Q
IeJVF9i1v+3HUhsBE/Y/PiT4yhV96Xl5eEmEaVhwdxCQ3rxoI6h2qPs2l6KYHvfv
Z/bxr4nqZst7deyQ3mYa6T/R7+Ct3WfOQbUs5zBrQc97hXXm7SHEsFo2kFZT7Nkl
XYKX/jj8g1n47iuuDZWM4Q0VpAMrm95AInuRDo0ARDAhPydP7TIr5jRLyg3O458X
cxLDf3DqPOftgmbGrIUMvlG1IrGrCD+VBhh7i7wzgFREePjAbPtDhiuN0eyNGNDE
wioLE60/Xz96iw==
=ynpo
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 04 Oct 2022 07:26:08 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Oct 8 03:14:46 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.