Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340991 - sys-apps/openrc hostname dependencies on init scripts is tricky
Summary: sys-apps/openrc hostname dependencies on init scripts is tricky
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2010-10-14 14:59 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-10-24 04:55 UTC (History)
0 users

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


Attachments
Patch for the problem (0001-Don-t-use-hostname-on-bootmisc-sysctl-since-it-doesn.patch,952 bytes, patch)
2010-10-24 02:05 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-14 14:59:30 UTC
Both sysctl and bootmisc seem to have an 'use' dependency over hostname, this can get tricky on EC2 instances where the hostname has to be fetched via network.

Is there any special reason why those two init scripts need hostname or can it be dropped?
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-24 02:05:54 UTC
Created attachment 251757 [details, diff]
Patch for the problem
Comment 2 SpanKY gentoo-dev 2010-10-24 04:17:01 UTC
it being in bootmisc is historical and is no longer necessary:
http://sources.gentoo.org/baselayout/branches/baselayout-1_12/init.d/bootmisc?r1=150&r2=157

it being in sysctl is because sysctl was split out of bootmisc and the depend settings were copied over

so both may be dropped