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


Groups > linux.debian.kernel > #93571 > unrolled thread

Bug#1143537: dracut-network: shellcheck quoting breaks parse_option_121 in dhclient

Started byandrew bezella <abezella@archive.org>
First post2026-08-03 22:00 +0200
Last post2026-11-04 16:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1143537: dracut-network: shellcheck quoting breaks parse_option_121 in dhclient andrew bezella <abezella@archive.org> - 2026-08-03 22:00 +0200
    Bug#1143537: marked as done (dracut-network: shellcheck quoting  breaks parse_option_121 in dhclient) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-11-04 16:10 +0100

#93571 — Bug#1143537: dracut-network: shellcheck quoting breaks parse_option_121 in dhclient

Fromandrew bezella <abezella@archive.org>
Date2026-08-03 22:00 +0200
SubjectBug#1143537: dracut-network: shellcheck quoting breaks parse_option_121 in dhclient
Message-ID<No6Zj-8Jnc-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: dracut-network
Version: 106-6
Severity: normal
Tags: patch upstream
X-Debbugs-Cc: abezella@archive.org

Dear Maintainer,

thank you for your time and effort in supporting debian.

we are performing an FAI install where the dhcpd is supplying
rfc3442-classless-static-routes.  this causes errors and the
networking doesn't come up properly:

```
[   17.272100] dracut-initqueue[1474]: /sbin/dhclient-script: line 124: [: 23 198 51 100 0 0 0 0 23 198 51 102 0 0 0 0 26 203 0 113 192 0 0 0 0 26 192 0 2 128 0 0 0 0 27 192 0 2 192 0 0 0 0: integer expression expected
[   17.304085] dracut-initqueue[1474]: /sbin/dhclient-script: line 130: [: 23 198 51 100 0 0 0 0 23 198 51 102 0 0 0 0 26 203 0 113 192 0 0 0 0 26 192 0 2 128 0 0 0 0 27 192 0 2 192 0 0 0 0: integer expression expected
[   17.336066] dracut-initqueue[1474]: /sbin/dhclient-script: line 135: [: 23 198 51 100 0 0 0 0 23 198 51 102 0 0 0 0 26 203 0 113 192 0 0 0 0 26 192 0 2 128 0 0 0 0 27 192 0 2 192 0 0 0 0: integer expression expected
[   17.376083] dracut-initqueue[1474]: /sbin/dhclient-script: line 139: [: 23 198 51 100 0 0 0 0 23 198 51 102 0 0 0 0 26 203 0 113 192 0 0 0 0 26 192 0 2 128 0 0 0 0 27 192 0 2 192 0 0 0 0: integer expression expected
[   17.408068] dracut-initqueue[1474]: /sbin/dhclient-script: line 148: shift: shift count out of range
[   17.428068] dracut-initqueue[1474]: /sbin/dhclient-script: line 149: shift: shift count out of range
[   17.496077] dracut-initqueue[1474]: /sbin/dhclient-script: line 150: shift: shift count out of range
[   17.516069] dracut-initqueue[1474]: /sbin/dhclient-script: line 151: shift: shift count out of range
[   43.392663] dracut-initqueue[2348]: Error: either "to" is duplicate, or "198" is a garbage.
```

this bug has been identified and resolved in other distributions,
notably:
linux.oracle.com | ELBA-2022-4070
https://linux.oracle.com/errata/ELBA-2022-4070.html
network-legacy: Revert some shellcheck that breaks parse_option_121 in dhclient [Orabug: 33778173]

this shellcheck quoting was introduced in:
fix(network-legacy): shellcheck for modules.d/35network-legacy · dracut-ng/dracut@8c0fcdd · GitHub
https://github.com/dracut-ng/dracut/commit/8c0fcdd931883e0d2d58762f7fc5bbc2626d1c5d

the attached patch file reverts the problematic quoting and after the
initramfs is rebuilt the networking comes up properly.

thanks in advance.

  andy


-- System Information:
Debian Release: 13.6
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.96+deb13-amd64 (SMP w/14 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8:en.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dracut-network depends on:
pn  dracut-core      <none>
pn  iputils-arping   <none>
ii  isc-dhcp-client  4.4.3-P1-8
ii  network-manager  1.52.1-1
ii  systemd          257.13-1~deb13u1

Versions of packages dracut-network recommends:
ii  curl        8.14.1-2+deb13u4
pn  iscsiuio    <none>
pn  nbd-client  <none>
ii  nfs-common  1:2.8.3-1
ii  open-iscsi  2.1.11-1+deb13u2

dracut-network suggests no packages.

[toc] | [next] | [standalone]


#94771 — Bug#1143537: marked as done (dracut-network: shellcheck quoting breaks parse_option_121 in dhclient)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2026-11-04 16:10 +0100
SubjectBug#1143537: marked as done (dracut-network: shellcheck quoting breaks parse_option_121 in dhclient)
Message-ID<NVKMG-9OPO-17@gated-at.bofh.it>
In reply to#93571

[Multipart message — attachments visible in raw view] — view raw

Your message dated Wed, 04 Nov 2026 15:58:23 +0100
with message-id <a6cfe79e9730599fdb0ccfcab63506d84bf2688a.camel@debian.org>
and subject line Re: dracut-network: shellcheck quoting breaks parse_option_121 in dhclient
has caused the Debian Bug report #1143537,
regarding dracut-network: shellcheck quoting breaks parse_option_121 in dhclient
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.)


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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web