Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288170 - net-wireless/hostapd: Variable INTERFACES not defined when using softlevels
Summary: net-wireless/hostapd: Variable INTERFACES not defined when using softlevels
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-08 09:25 UTC by Willem Beutels
Modified: 2014-03-21 19:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Willem Beutels 2009-10-08 09:25:55 UTC
When using hostapd with custom configuration files in conf.d per softlevel, the variable INTERFACES is not known during the depency check of the init script

This breaks the support of custom config files on a softlevel basis.

e.g.
2 softlevels: /etc/init.d/runlevels/bridge and /etc/init.d/runlevels/router with resp. config files in conf.d hostapd.bridge and hostapd.router

Could maybe be considered a bug in baselayout as the depency check script does not support custom config files as does the rc script

Reproducible: Always

Steps to Reproduce:
1. create 2 softlevels e.g. bridge and router / create net.br0 interface and net.wlan0 interface
2. create hostapd.bridge which has INTERFACES="br0" and hostapd.router which has INTERFACES="wlan0" in conf.d
3. add softlevels in grub and try to boot into the two softlevels

Actual Results:  
hostapd starts without checking if br0 / wlan0 has started

Expected Results:  
hostapd starts after all dependencies are satisfied
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2010-01-14 15:12:47 UTC
The problem is correctly in baselayout (not supporting softlevel configs), and not in hostapd.

Reassigning to base-system herd, as they maintain baselayout and friends.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-03-20 13:00:14 UTC
I wonder if this is still an issue with openrc...
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2014-03-21 19:50:15 UTC
I would say - 4 years of silence - lets close this bug.

If the problem persists, the bug can always be reopened :)
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-03-21 19:53:44 UTC
Closing.