NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/59863: dhcpd / updating resolv.conf requires /usr mounted for basename, but it's too early
>Number: 59863
>Category: bin
>Synopsis: dhcpd / updating resolv.conf requires /usr mounted for basename, but it's too early
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 24 20:00:01 +0000 2025
>Originator: adrian chadd
>Release: 11.99.14
>Organization:
>Environment:
NetBSD sgimips-o2-r5000.home.cacheboy.io 11.99.4 NetBSD 11.99.4 (GENERIC32_IP3x) #0: Sun Dec 14 05:25:02 UTC 2025 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sgimips/compile/GENERIC32_IP3x sgimips
>Description:
post install the device is still configured to use dhcp for its IP, not static assignment.
This means that it runs the dhcp client and updates resolv.conf from it, however that requires 'basename' in /usr/bin, but on this particular install, i have / and /usr separate.
The boot messages in question, so the sequencing is more obvious:
===
[ 18.6827641] root on sd0a dumps on sd0b
[ 18.7321008] root file system type: ffs
[ 18.7843625] kern.module.path=/stand/sgimips/11.99.4/modules
[ 19.5714040] entropy: best effort
Wed Dec 24 19:48:09 -00 2025
Starting root file system check:
/dev/rsd0a: file system is clean; not checking
Setting sysctl variables:
ddb.onpanic: 1 -> 0
swapctl: setting dump device to /dev/sd0b
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
/dev/rsd0g: file system is clean; not checking
/dev/rsd0e: file system is clean; not checking
/dev/rsd0f: file system is clean; not checking
[ 27.9892342] entropy: ready
Loaded entropy from /etc/entropy-file.
Waiting for entropy...done
Setting tty flags.
Starting network.
Hostname: sgimips-o2-r5000.home.cacheboy.io
IPv6 mode: host
Configuring network interfaces: mec0.
Adding interface aliases:.
Waiting for duplicate address detection to finish...
Starting dhcpcd.
/libexec/resolvconf/libc: warn: basename: not found
: signature mismatch: /etc/resolv.conf
/libexec/resolvconf/libc: warn: basename: not found
: run `resolvconf -u` to update
/libexec/resolvconf/libc: warn: basename: not found
: signature mismatch: /etc/resolv.conf
/libexec/resolvconf/libc: warn: basename: not found
: run `resolvconf -u` to update
/libexec/resolvconf/libc: warn: basename: not found
: signature mismatch: /etc/resolv.conf
/libexec/resolvconf/libc: warn: basename: not found
: run `resolvconf -u` to update
Building databases: dev, utmp, utmpx.
Starting syslogd.
Setting date via ntp.
Mounting all file systems...
Clearing temporary files.
Checking quotas: done.
===
>How-To-Repeat:
Filesystems;
sgimips-o2-r5000# cat /etc/fstab
# NetBSD /etc/fstab
# See /usr/share/examples/fstab/ for more examples.
/dev/sd0a / ffs rw 1 1
/dev/sd0g /home ffs rw 1 2
/dev/sd0e /usr ffs rw 1 2
/dev/sd0f /var ffs rw 1 2
/dev/sd0b none swap sw,dp 0 0
kernfs /kern kernfs rw
ptyfs /dev/pts ptyfs rw
procfs /proc procfs rw
/dev/cd0a /cdrom cd9660 ro,noauto
tmpfs /var/shm tmpfs rw,-m1777,-sram%25
>Fix:
Likely need to implement basename in sh script and use that in /libexec/resolvconf/libc ?
Home |
Main Index |
Thread Index |
Old Index