Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97065 - net-misc/dhcp-3.0.1-r1: option -q doesn't work as documented
Summary: net-misc/dhcp-3.0.1-r1: option -q doesn't work as documented
Status: RESOLVED DUPLICATE of bug 97063
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-25 13:41 UTC by Sascha Silbe
Modified: 2005-12-07 03:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2005-06-25 13:41:50 UTC
dhcpd(8) says -q only suppresses the copyright notice, but in fact any output to stderr is suppressed.

> When starting dhcpd up from a system startup script (e.g., /etc/rc), it may 
> not be desirable to print out the entire copyright message on startup. To 
> avoid printing this message, the -q flag may be specified.



Reproducible: Always
Steps to Reproduce:
1. /usr/sbin/dhcpd -f -d eth0
2. /usr/sbin/dhcpd -q -f -d eth0

Actual Results:  
root@copper:/service/dhcpd-1# /usr/sbin/dhcpd -f -d eth0
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Warning: subnet 192.168.1.240/28 overlaps subnet 192.168.1.0/24
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory --
  check for failed database rewrite attempt!
Please read the dhcpd.leases manual page if you
don't know what to do about this.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
root@copper:/service/dhcpd-1# /usr/sbin/dhcpd -q -f -d eth0
root@copper:/service/dhcpd-1# 


Expected Results:  
root@copper:/service/dhcpd-1# /usr/sbin/dhcpd -f -d eth0
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Warning: subnet 192.168.1.240/28 overlaps subnet 192.168.1.0/24
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory --
  check for failed database rewrite attempt!
Please read the dhcpd.leases manual page if you
don't know what to do about this.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
root@copper:/service/dhcpd-1# /usr/sbin/dhcpd -q -f -d eth0
Warning: subnet 192.168.1.240/28 overlaps subnet 192.168.1.0/24
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory --
  check for failed database rewrite attempt!
Please read the dhcpd.leases manual page if you
don't know what to do about this.
exiting.
root@copper:/service/dhcpd-1# 


Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11.10-infra i686)
=================================================================
System uname: 2.6.11.10-infra i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 04:44:51)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.9.5, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -O2 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
LINGUAS="en_US en_GB en de_DE de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/inst/level3/sync/portage-local"
SYNC="rsync://rsync.sascha.silbe.org/gentoo-portage"
USE="x86 acl alsa berkdb bitmap-fonts crypt doc emboss fortran gdbm ipv6 jpeg maildir mbox mp3 nas ncurses nls ogg oggvorbis pam pcmcia png python readline ssl truetype-fonts type1-fonts unicode vorbis xml xml2 zlib linguas_en_US linguas_en_GB linguas_en linguas_de_DE linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-05 12:31:14 UTC
Mass reassign wrt Bug 23718, maintainer being retired.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2005-12-07 03:23:53 UTC

*** This bug has been marked as a duplicate of 97063 ***