Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158797 - sys-freebsd/freebsd-baselayout-20060624 dhcient sed error dhclient_edit_config
Summary: sys-freebsd/freebsd-baselayout-20060624 dhcient sed error dhclient_edit_config
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High normal
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-21 22:17 UTC by catfish
Modified: 2007-01-18 04:38 UTC (History)
1 user (show)

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


Attachments
diff -ruN correcting sed syntax (dhclient.diff,841 bytes, patch)
2006-12-21 22:21 UTC, catfish
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description catfish 2006-12-21 22:17:50 UTC
I just installed from the gentoo.org guide.  I am running Gentoo/FreeBSD-6.1 and have discovered the following bug.

With dhclient_edit_config="yes" enabled in /etc/conf.d/net, the dhclient module generates and error from sed stating extra characters at the end of d command.  I suspect this is generated by improper use of the "-i" flag for sed.  From my reading of the man page, -i requires an argument under all circumstances i.e. '-i .mybackup' for a named backup or '-i ""' for no backup.  When the second syntax is used, the error text goes away.

diff to follow

Thanks for a great product!
Comment 1 catfish 2006-12-21 22:21:34 UTC
Created attachment 104555 [details, diff]
diff -ruN correcting sed syntax
Comment 2 catfish 2007-01-18 04:38:37 UTC
6.1 has been expunged and 6.2 is now using the default baselayout.  The rc-scripts are now completely different and use dhclient much more efficiently.  There is no more sed'ding of conf files and the like.

Thanks!