Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493516 - sys-apps/openrc USE=netifrc should not install /etc/init.d/loopback since net-misc/netifrc also installs /etc/init.d/net.lo
Summary: sys-apps/openrc USE=netifrc should not install /etc/init.d/loopback since net...
Status: RESOLVED DUPLICATE of bug 490750
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: 2013-12-07 11:50 UTC by szatox
Modified: 2014-01-14 17:02 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 szatox 2013-12-07 11:50:11 UTC
Both, openrc and netifrc provide their own ways to configuring local loopback virtual interface. Those 2 are conflicting (like only one of those can be started at any time). I believe openrc with USE="netifrc" should not install /etc/init.d/loopback file, leaving it's job to /etc/init.d/net.lo.
This way would also make updates from openrc-11 smoother.

Reproducible: Always
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2013-12-09 14:16:02 UTC
Loopback is the succesor of net.lo.

But net.lo shouldn't be used anymore, see bug 490750. So maybe both bugs could be fixed if net.lo would be removed from net-misc/netifrc...
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2013-12-09 14:33:15 UTC
Mh, this is a duplicate of bug 490750.

net.lo is still used for creating your interfaces, e.g.

  ln -s /etc/init.d/net.lo /etc/init.d/net.eth0

So we cannot get rid of it.

But as said, it is not used at boot runlevel anymore, because it was replaced by loopback. And this needs to be handled, see bug 490750.
Comment 3 William Hubbs gentoo-dev 2013-12-11 05:24:36 UTC
The netifrc use flag was never meant to be a permanent solution for
installing netifrc. I am working with the folks on -dev to come up with
a better way to do that for folks who want it but to get rid of this use
flag in OpenRC, since openrc really doesn't need netifrc.
Comment 4 William Hubbs gentoo-dev 2014-01-14 17:02:46 UTC

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