Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1202227 > unrolled thread

Bug#1074250: ifupdown2 not working with python3.12

Started byDave B <sid@donsid.net>
First post2024-06-25 10:20 +0200
Last post2024-07-21 09:20 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1074250: ifupdown2 not working with python3.12 Dave B <sid@donsid.net> - 2024-06-25 10:20 +0200
    Bug#1074250: ifupdown2: PR offered to maintainers for merge Jan Huijsmans <bofh@koffie.nu> - 2024-07-09 09:40 +0200
    Bug#1074250: ifupdown2 not working with python3.12 Alex <gaaf@gmx.net> - 2024-07-11 09:40 +0200
    Bug#1074250: ifupdown2 not working with python3.12 Jan Huijsmans <bofh@koffie.nu> - 2024-07-21 09:20 +0200

#1202227 — Bug#1074250: ifupdown2 not working with python3.12

FromDave B <sid@donsid.net>
Date2024-06-25 10:20 +0200
SubjectBug#1074250: ifupdown2 not working with python3.12
Message-ID<IT9zb-5qAc-1@gated-at.bofh.it>
Package: ifupdown2
Version: 3.0.0-1.1
Severity: grave
Tags: ipv6
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation? The upgrade to python3.12 which replaced "readfp" with "read_file)
   * What exactly did you do (or not do) that was effective (or ineffective)? I replaced "readfp" to read_file in /usr/share/ifupdown2/ifupdown/main.py and it fixed the problem.
   * What was the outcome of this action? ifup and ifdown started working properly.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.3-060903-generic (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ifupdown2 depends on:
ii  iproute2  6.9.0-1
ii  python3   3.12.2-1

ifupdown2 recommends no packages.

Versions of packages ifupdown2 suggests:
ii  bridge-utils     1.7.1-2
ii  ethtool          1:6.9-1
pn  isc-dhcp-client  <none>
pn  python3-gvgen    <none>
pn  python3-mako     <none>

-- no debconf information

[toc] | [next] | [standalone]


#1203674 — Bug#1074250: ifupdown2: PR offered to maintainers for merge

FromJan Huijsmans <bofh@koffie.nu>
Date2024-07-09 09:40 +0200
SubjectBug#1074250: ifupdown2: PR offered to maintainers for merge
Message-ID<IYdC9-Rkp-5@gated-at.bofh.it>
In reply to#1202227
Package: ifupdown2
Version: 3.0.0-1.1
Followup-For: Bug #1074250

I found this bug yesterday on my systems, it was reported upstream on
4-4-2024, maintainer asked for a pull request so it could be patched but
it was never offered.

The maintainer just got a pull request by me to patch this issue. Please
incorporate the patch into the package and update.


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'oldstable-security'), (500, 'oldoldstable'), (500, 'testing'), (500, 'oldstable'), (100, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.7-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ifupdown2 depends on:
ii  iproute2  6.9.0-1
ii  python3   3.12.2-1

ifupdown2 recommends no packages.

Versions of packages ifupdown2 suggests:
ii  bridge-utils     1.7.1-2
pn  ethtool          <none>
ii  isc-dhcp-client  4.4.3-P1-5
pn  python3-gvgen    <none>
pn  python3-mako     <none>

-- no debconf information

[toc] | [prev] | [next] | [standalone]


#1203891

FromAlex <gaaf@gmx.net>
Date2024-07-11 09:40 +0200
Message-ID<IYWzf-1jPZ-3@gated-at.bofh.it>
In reply to#1202227
On Tue, 25 Jun 2024 03:05:39 -0400 Dave B <sid@donsid.net> wrote:
> Package: ifupdown2
> Version: 3.0.0-1.1
> Severity: grave
> Tags: ipv6
> Justification: renders package unusable
>
> Dear Maintainer,
>
>    * What led up to the situation? The upgrade to python3.12 which
replaced "readfp" with "read_file)


Dear maintainer,

Please let the package depend on a specific, tested, python version
(3.11 for now) instead of the generic python3 package. Python is
infamously known for breaking backward compatibility on every occasion
they get. For a critical package like ifupdown2, this random breakage is
not acceptable. Depending on a specific pyhton verion should alleviate
this problem a little bit.
--
mvg,

Alex Hermann

[toc] | [prev] | [next] | [standalone]


#1204980

FromJan Huijsmans <bofh@koffie.nu>
Date2024-07-21 09:20 +0200
Message-ID<J2z1n-3Eg7-1@gated-at.bofh.it>
In reply to#1202227
Package: ifupdown2
Version: 3.0.0-1.2
Followup-For: Bug #1074250

Issue still exists inn the -1.2 version.

Bug is fixed in commit https://github.com/CumulusNetworks/ifupdown2/commit/fc0318378e878ffe639d1d1285936d1256dd67cf, but not included in package.


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'oldstable-security'), (500, 'oldoldstable'), (500, 'testing'), (500, 'oldstable'), (100, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.7-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ifupdown2 depends on:
ii  iproute2  6.9.0-1
ii  python3   3.12.3-1

ifupdown2 recommends no packages.

Versions of packages ifupdown2 suggests:
ii  bridge-utils     1.7.1-2
pn  ethtool          <none>
ii  isc-dhcp-client  4.4.3-P1-5
pn  python3-gvgen    <none>
pn  python3-mako     <none>

-- no debconf information

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web