Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1189299
| From | Leandro Lucarella <luca-debian@llucax.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1065573: kxc: initramfs script writes a line to resolv.conf with $IPV4DNS0 even if empty |
| Date | 2024-03-06 21:50 +0100 |
| Message-ID | <If6n8-eSnw-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Package: kxc Version: 0.15-4.1+b1 Severity: important Tags: patch Dear Maintainer, The script /usr/share/initramfs-tools/scripts/init-premount/kxc-premount-net writes a line to /etc/resolv.conf adding a "nameserver $IPV4DNS0" even if that environment variable is empty. If I understand correctly that variable is only set if a DNS is passed via the ip= kernel parameter. Popular simple configurations like ip=dhcp will then have no DNS server set there, which will end up with a bad /etc/resolv.conf line with "namesever ". -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.4.0-1-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages kxc depends on: ii cryptsetup 2:2.6.1-6+b1 ii kxgencert 0.15-4.1+b1 kxc recommends no packages. kxc suggests no packages. -- no debconf information
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1065573: kxc: initramfs script writes a line to resolv.conf with $IPV4DNS0 even if empty Leandro Lucarella <luca-debian@llucax.com> - 2024-03-06 21:50 +0100 Bug#1065573: Wrong patch Leandro Lucarella <luca@llucax.com> - 2024-03-06 22:00 +0100
csiph-web