ports/172268: pkg_add -C some/diradns/pdnsd fails because of unpopulated /dev
Nick Hibma
nick at anywi.com
Tue Oct 2 08:10:04 UTC 2012
>Number: 172268
>Category: ports
>Synopsis: pkg_add -C some/diradns/pdnsd fails because of unpopulated /dev
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 02 08:10:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Nick Hibma
>Release: FreeBSD 8.1-STABLE amd64
>Organization:
AnyWi Technologies
>Environment:
System: FreeBSD arenal.anywi.com 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Sep 13 15:48:43 CEST 2010 root at arenal.anywi.com:/usr/obj/usr/src/sys/ARENAL amd64
Port files as of today.
>Description:
pkg_add -C /usr/obj/nanobsd.8/some/dir -r pdnsd
returns an error code. In the pkg-install script /dev/zero is referenced (for
creating the initial cache file), but that is not there because in the chroot
/dev is not populated.
>How-To-Repeat:
>Fix:
nick at bitske:~ % diff pkg-install.old pkg-install
7c7
< dd if=/dev/zero of=${PDNSDB}/pdnsd.cache bs=1 count=4 >/dev/null 2>&1
---
> truncate -s 4 ${PDNSDB}/pdnsd.cache
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list