• Bug#1106396: syncache: does not work for Trixie with Ruby 3.3

    From William Desportes@21:1/5 to All on Sat May 24 11:50:01 2025
    Package: syncache
    Version: 1.4-1
    Severity: grave
    Tags: sid, trixie, patch
    Found: 1.4-1.1
    Found: 1.4-1.2

    Ruby 3.2 removed taint and untaint methods: https://bugs.ruby-lang.org/issues/16131#note-3

    I installed syncache today, and it outputs this right after the package install:

    syncache-drb[43005]: /usr/bin/syncache-drb:114:in `block in
    set_options': undefined method `untaint' for an instance of String (NoMethodError)
    syncache-drb[43005]: @pidfile = arg.dup.untaint
    syncache-drb[43005]: ^^^^^^^^
    syncache-drb[43005]: from
    /usr/lib/ruby/3.3.0/getoptlong.rb:863:in `block in each'
    syncache-drb[43005]: from <internal:kernel>:187:in `loop' syncache-drb[43005]: from
    /usr/lib/ruby/3.3.0/getoptlong.rb:860:in `each'
    syncache-drb[43005]: from /usr/bin/syncache-drb:97:in
    `set_options'
    syncache-drb[43005]: from /usr/bin/syncache-drb:200:in `run' syncache-drb[43005]: from /usr/bin/syncache-drb:218:in `<main>' systemd[1]: syncache.service: Control process exited, code=exited, status=1/FAILURE

    Removing ".untaint" from the file makes the service work.

    --
    William Desportes

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@1:229/2 to All on Thu Jul 3 10:40:02 2025
    From: owner@bugs.debian.org

    This is a multi-part message in MIME format...

    Your message dated Thu, 03 Jul 2025 08:34:01 +0000
    with message-id <E1uXFOL-0000O2-IP@fasolo.debian.org>
    and subject line Bug#1106396: fixed in syncache 1.4-1.3
    has caused the Debian Bug report #1106396,
    regarding syncache: does not work for Trixie with Ruby 3.3
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1106396: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106396
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 24 May 2025 09:39:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-15.2 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
    DKIM_VALID_EF,HAS_PACKAGE,RCVD_IN_DNSWL_NONE,
    RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,
    SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 131; neutral, 29; spammy,
    2. spammytokens:0.944-+--H*r:bugs.debian.org, 0.932-+--today
    hammytokens:0.000-+--trixie, 0.000-+--Trixie, 0.000-+--systemd,
    0.000-+--pidfile, 0.000-+--NoMethodError
    Return-path: <williamdes@wdes.fr>
    Received: from mx2.mails.wdes.eu ([2.57.253.83]:56884 he