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


Groups > linux.debian.kernel > #93571

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

From andrew bezella <abezella@archive.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1143537: dracut-network: shellcheck quoting breaks parse_option_121 in dhclient
Date 2026-08-03 22:00 +0200
Message-ID <No6Zj-8Jnc-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[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.

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#1143537: dracut-network: shellcheck quoting breaks parse_option_121 in dhclient andrew bezella <abezella@archive.org> - 2026-08-03 22:00 +0200

csiph-web