Your message dated Tue, 28 Jan 2025 12:37:28 +0000
with message-id <[email protected]>
and subject line Bug#1094329: fixed in unit-translator 0.7-1
has caused the Debian Bug report #1094329,
regarding utrans: Substitution in line 246 of /usr/share/utrans/backends/lsb 
directly leads to a syntax error
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 [email protected]
immediately.)


-- 
1094329: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094329
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: utrans
Version: 0.6-4
Severity: grave
Tags: patch
Justification: renders package unusable

I assume that a list of secbits flags separated by space characters
should have been converted into a `+secbit1,+secbit2,...,+secbitN` string.
If this is the case, the following patch solves this problem.

The former version with the parameter expansion never worked with Bash
(version 5.2.37).

The `-z` in the `sed` invocation prohibits line splitting.

--- /usr/share/utrans/backends/lsb      2025-01-24 11:09:40.000000000 +0100
+++ /usr/share/utrans/backends/lsb.new  2025-01-27 09:18:27.361643417 +0100
@@ -243,7 +243,8 @@
 
                if [[ -n "${service[SecureBits]:-}" ]]; then
                        secbits=${service[SecureBits]/-/_}
-                       lsb[SETPRIV_ARGS]+="--securebits +${secbits//[$[' 
\r\t\n']/,+} "
+                       secbits_trans="$(echo "$secbits" | sed -z 's/[ 
\r\t\n]/,+/g')"
+                       lsb[SETPRIV_ARGS]+="--securebits +$secbits_trans "
                fi
 
                if [[ "${service[CapabilityBoundingSet]+defined}" ]] ; then


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.6-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages utrans depends on:
ii  libcap2-bin  1:2.66-5+b1

Versions of packages utrans recommends:
ii  cron [cron-daemon]                3.0pl1-189
ii  openbsd-inetd [inet-superserver]  0.20221205-3+b2
ii  sasa [socket-activate]            0.3-1
ii  sysv-rc                           3.13-1

utrans suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: unit-translator
Source-Version: 0.7-1
Done: Mark Hindley <[email protected]>

We believe that the bug you reported is fixed in the latest version of
unit-translator, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Hindley <[email protected]> (supplier of updated unit-translator 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 [email protected])


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

Format: 1.8
Date: Tue, 28 Jan 2025 11:23:10 +0000
Source: unit-translator
Architecture: source
Version: 0.7-1
Distribution: unstable
Urgency: medium
Maintainer: Mark Hindley <[email protected]>
Changed-By: Mark Hindley <[email protected]>
Closes: 1094329
Changes:
 unit-translator (0.7-1) unstable; urgency=medium
 .
   * New upstream version 0.7. Includes:-
     - backends/lsb: remove stray '[' in SecureBits substitution.
       (Closes: #1094329)
Checksums-Sha1:
 375d1f34f4d42505b5be025556cf153fcd5fd3f1 2029 unit-translator_0.7-1.dsc
 a8e3e4b93e016d25e4c2d82236b3c80b77ff2bf1 34644 unit-translator_0.7.orig.tar.gz
 d5e90e3db2056874cf285bfcba10be1df532a04b 3920 
unit-translator_0.7-1.debian.tar.xz
 ba2739901fbddd61f2736ce54ac28ee340cad8f6 7150 
unit-translator_0.7-1_amd64.buildinfo
Checksums-Sha256:
 344d5c0bf82c300612d13f725816bdf15f0bbd4758366ab083b8bb34fae8dbce 2029 
unit-translator_0.7-1.dsc
 eb9cbe7d90d5887656a4560cf496ce86fac759208d705dd3b1b868b410dc7b85 34644 
unit-translator_0.7.orig.tar.gz
 b6cb0738f7689134975e36b7a217eba9269d43b7c9f48b6dd9e494aa39720352 3920 
unit-translator_0.7-1.debian.tar.xz
 08829b0e0f6835ede2176f47795b2c402f6e9718e1df429f651765afac0c661c 7150 
unit-translator_0.7-1_amd64.buildinfo
Files:
 dd9a34cca4da8bee6c102796f4aa8fcd 2029 admin optional unit-translator_0.7-1.dsc
 9be5f5a5e352c5499cd8d138de17e50f 34644 admin optional 
unit-translator_0.7.orig.tar.gz
 d0705dcffcb60c53cb9b7120c42a2d02 3920 admin optional 
unit-translator_0.7-1.debian.tar.xz
 b68366471097a13b5a064f66cf485ad5 7150 admin optional 
unit-translator_0.7-1_amd64.buildinfo

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

iQIzBAEBCAAdFiEEUGwVpCsK9aCoVCPu0opFvzKH1kkFAmeYyowACgkQ0opFvzKH
1kmz9w/9E3zDym2MSFZcd0OAXSEnlaao6yq/pIYCiAwX/6NEp519+GOoIOs3Ol7I
CvKTZQQwyVUBSJC/vbSChaTNOO33Xwa9nKEAdjvICLXgK67GUC5eY8OIvb/4RynV
FpMlZheFkfG+/H2JXhMuxWfqiWLptZsDQNS2xE2c6kaaKeKYooKXgCr1O7fkksK0
vKgH/obtMowmkohktoFICGcHiF5MA7QVQVOObc6CPxSbb57oXJpbOxoSm+J6l2GP
eZZFlxu5nSuJf/YCA+11Kq60UrdbV3vydOe2aABIGjUoo1+87lPJl5iMJ3pbIVyP
HdFfWvrHqGkOIfwXqu3ytwbcVv7VEdlOBCyXKZRIv4iwHcUUuEmSWZxbyuCppbiJ
Gu7Wc4VzzFIPte2nMMX5UWSw8E7zGdeJjZSv7jx5Gm/WjuWJjtCmbnJD8xqkURY1
iZmw0H6zUYJUCrqP6GcDqJRYJp2vZ+0B/axtbzV8ZG8TtDw/hTbzRN1TlWbItewV
G92humcmJE6/m4qt+rUMd0WIO8PamMS8/hLodjbnkDK9CQK8SDQNcmeKBOUh+3j1
lxykTQI1sDNEGIvwIwAUeniF0wIoGN2SQjiEu9c+pGsOxPgdSnI5WQ7v9WXBoAky
1kbt30K0zS+ifuQz+Z8RTPHRDdx0g437Tp2LEF7i44A19KseYyc=
=ucef
-----END PGP SIGNATURE-----

Attachment: pgpY0CtmHUMf5.pgp
Description: PGP signature


--- End Message ---

Reply via email to