Subject: bin/28624: cgdconfig with no keygen entry fails silently
To: None <,>
From: Andreas Gustafsson <>
List: netbsd-bugs
Date: 12/12/2004 09:51:00
>Number:         28624
>Category:       bin
>Synopsis:       cgdconfig with no keygen entry fails silently
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 12 09:51:00 +0000 2004
>Originator:     Andreas Gustafsson
>Release:        NetBSD 2.0_BETA
System: NetBSD 2.0_BETA NetBSD 2.0_BETA (GUAVAMP) #3: Tue Sep 28 10:41:58 EEST 2004 i386
Architecture: i386
Machine: i386

If the CGD paramsfile does not contain a keygen entry, cgdconfig will
fail without printing any error message to indicate what is wrong.


Create a CGD paramsfile with no keygen entry and run cgdconfig
using that paramsfile.  An empty file will do.  For example:

   true >/etc/cgd/foo
   cgdconfig cgd0 /dev/foo

Notice that the cgdconfig command prints no diagnostic output even
though it fails to configure the cgd and exits with a status of 255.


None provided.