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

Bug 444232

Summary: sys-apps/coreutils: Add USE=hostname for those who do not want net-tools
Product: Gentoo Linux Reporter: Alex Xu (Hello71) <alex_y_xu>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: arne.flagge
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: All   
See Also: http://bugs.gentoo.org/show_bug.cgi?id=128538
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch coreutils-*.ebuild to add USE=hostname
Patch coreutils-*.ebuild to add USE=hostname
Patch coreutils-*.ebuild to add USE=hostname

Description Alex Xu (Hello71) 2012-11-21 21:01:01 UTC
I have read #128538 and nothing on my system appears to call domainname. However, if net-tools is removed, the hostname service will not start because /bin/hostname is not provided by coreutils. Coreutils should have a USE=hostname dependent on -net-tools to sort-of support this.
Comment 1 Alex Xu (Hello71) 2012-11-21 21:09:44 UTC
Created attachment 330166 [details, diff]
Patch coreutils-*.ebuild to add USE=hostname
Comment 2 Alex Xu (Hello71) 2012-11-21 21:10:57 UTC
Not quite sure if --enable-no-install-program overrides --enable-install-program.
Comment 3 SpanKY gentoo-dev 2012-11-22 04:25:20 UTC
the hostname service shouldn't exist in the first place
Comment 4 Alex Xu (Hello71) 2012-11-22 04:27:10 UTC
Then what sets the hostname? net?
Comment 5 Alex Xu (Hello71) 2013-04-20 01:21:07 UTC
Created attachment 346050 [details, diff]
Patch coreutils-*.ebuild to add USE=hostname

A patch that actually works this time.
Comment 6 Alex Xu (Hello71) 2013-04-20 01:25:29 UTC
Created attachment 346052 [details, diff]
Patch coreutils-*.ebuild to add USE=hostname

Block net-tools if USE=hostname.
Comment 7 Alex Xu (Hello71) 2014-09-06 00:48:20 UTC

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