Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536982 - net-misc/netifrc-0.3.0 - ignores /etc/conf.d/net and does whatever it wants
Summary: net-misc/netifrc-0.3.0 - ignores /etc/conf.d/net and does whatever it wants
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: netifrc (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: netifrc Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-18 15:44 UTC by gentoo-user
Modified: 2015-07-13 19:10 UTC (History)
2 users (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 gentoo-user 2015-01-18 15:44:08 UTC
/etc/conf.d/net:
dns_domain="domain"
dns_servers="172.16.0.11"

config_eno1="172.16.0.12 netmask 255.240.0.0 brd 172.31.255.255"

modules_wlo1="wpa_supplicant"
wpa_supplicant_wlo1="-Dnl80211"
config_wlo1="192.168.1.244/24"
routes_wlo1="default via 192.168.1.1"

rc_net_lo_provide="net"

This config works as intended with net-misc/netifrc-0.2.4, but with net-misc/netifrc-0.3.0 it creates a bridge interface (that it doesn't configure), runs dhcpcd on wlo1 even though I specify an address by hand (actually, I just noticed that net-misc/netifrc-0.2.4 starts dhcpcd for this config as well, but only on one system and I can't find out why), it then throws an error that the service failed to start and I'm left with a mostly broken network config (except for the ethernet interface, that one just works for whatever reason).

Reproducible: Always

Steps to Reproduce:
1. Add net.wlo1 to runlevel
2. switch to runlevel/reboot into runlevel
3. watch the network config break
Actual Results:  
The network was configured incorrectly and then exited with a failure.

Expected Results:  
The network is configured correctly and exits with exit success.
Comment 1 Nikoli 2015-04-21 19:45:53 UTC
Does this problem still exist with 0.3.1?
Comment 2 gentoo-user 2015-07-13 19:10:21 UTC
No, it seems that netifrc-0.3.1 fixes it