Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 29235

Summary: dhcpcd-1.3.22_p4-r1 creates the now unused /etc/dhcpc directory
Product: Gentoo Linux Reporter: Jason Andryuk <the_deuce>
Component: Current packagesAssignee: Brandon Low (RETIRED) <lostlogic>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jason Andryuk 2003-09-20 19:31:01 UTC
The new dhcpcd-1.3.22_p4-r1 ebuild moves the location of the files used by
dhcpcd into /var.  However, the directory /etc/dhcpc is still created.  This
directory should not be created as it causes confusion since it is present but
not used.  Additionally, the directory will not be removed from old ebuilds
since the directory is config-protected, and most likely populated by files from
the old version.

I suggest removing the directory creation from the makefile, and adding a
warning to the end of the ebuild about the change in locations.  'configdir' is
the makefile variable refering to the creation of dhcpc.  Also there should be a
warning at the end of the ebuild about the change in files locations, and
recommend deletion of the old directory.

configdir is defined in Makefile.in at line 159
creation of the dir occurs at line 342
The files in $(config_DATA) are to be copied into /etc/dhcpc, but $config_DATA
is empty.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Brandon Low (RETIRED) gentoo-dev 2004-02-10 13:26:21 UTC
Fixed.