Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444232 - sys-apps/coreutils: Add USE=hostname for those who do not want net-tools
Summary: sys-apps/coreutils: Add USE=hostname for those who do not want net-tools
Status: RESOLVED DUPLICATE of bug 128538
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: Normal enhancement with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-11-21 21:01 UTC by Alex Xu (Hello71)
Modified: 2014-09-06 00:48 UTC (History)
1 user (show)

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


Attachments
Patch coreutils-*.ebuild to add USE=hostname (file_444232.txt,2.17 KB, patch)
2012-11-21 21:09 UTC, Alex Xu (Hello71)
Details | Diff
Patch coreutils-*.ebuild to add USE=hostname (coreutils-hostname.patch,966 bytes, patch)
2013-04-20 01:21 UTC, Alex Xu (Hello71)
Details | Diff
Patch coreutils-*.ebuild to add USE=hostname (coreutils-hostname.patch,1.18 KB, patch)
2013-04-20 01:25 UTC, Alex Xu (Hello71)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***