| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|\
| |
| | |
fix https://bugs.gentoo.org/show_bug.cgi?id=536758
|
| |
| |
| |
| | |
The shill version of shell_var is not correctly escaping vars
|
|\ \
| | |
| | | |
Miscellaneous fixes
|
| | |
| | |
| | |
| | | |
This is undefined in POSIX.
|
| | |
| | |
| | |
| | |
| | | |
X-Gentoo-Bug: 536282
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=536282
|
| |/
| |
| |
| |
| | |
- Remove quotes from description.
- Set Type=oneshot.
|
|\ \
| | |
| | | |
firewalld: remove use of OpenRC need function
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
You can't use OpenRC's dependency functions in module depend functions,
because they aren't called in the OpenRC init script's depend function.
System administrators are responsible for ensuring that the dependencies
for their configuration are set correctly via (for OpenRC)
/etc/conf.d/net.
|
| |
| |
| |
| | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|\ \
| |/
|/| |
functions.sh: fix check for OpenRC
|
|/
|
|
|
|
|
| |
Fix the check for OpenRC so that it actually matches whether it's
running under OpenRC.
Reported-By: Patrick McLean <chutzpah@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
netifrc systemd support
This marks the culmination of the GSoC 2014 netifrc project: systemd support.
I'd like to extend a huge thank you to my GSoC student on this project: Rabi Shanker (rabisg)
For the idea, proposal, and his work notes, please see:
https://wiki.gentoo.org/wiki/Google_Summer_of_Code/2014/Ideas/netifrc_on_systemd
https://wiki.gentoo.org/wiki/User:Rabisg/GSOC_2014_Proposal
https://wiki.gentoo.org/wiki/User:Rabisg/GSOC_14
There is a little bit of documentation to come, and along with ebuild updates.
This series does also introduce a test suite to netifrc, on which there is much work to come.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Reviewed-by: Michal Gorny <mgorny@gentoo.org> (systemd-specific pieces)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Run it using
sudo python3 test/src/netifrc.py test/specs/config.yaml
to generate the test output
and
sudo MODE=slave python3 test/src/netifrc.py test/specs/config.yaml
to match the output on a system-system against the output generated
on the previous openrc system
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
bonding: use iproute2 rather than ifconfig if it is installed
|
|/
|
|
|
| |
Currently the bonding contains 2 calls to ifconfig for a couple of operations,
this makes it use iproute2 instead if it is installed.
|
|
|
|
|
|
| |
“unset x” also removes the “local x” property, so the next assignment and/or read to/from $x will access the global variable “x”.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
| |
Newer dhcpcd versions use a different signal internally (SIGALRM), but
dhcpcd -k interface_name will work with both newer and older versions
of dhcpcd.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Gentoo-Bug: 516920
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516920
|
|
|
|
|
|
|
| |
All ip commands that change state should have a ve* call before them to
enable verbose output of what is going on.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Handle cached modulelist being newer than current time, as it would not
be recached even when needed; force recache.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Gentoo-Bug: 506966
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=506966
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
This adds support for macchanger 1.6 as well as keeping support
for macchanger <1.6.
Reported-By: teknocratdefunct@riseup.net
X-Gentoo-Bug: 504458
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=504458
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
| |
If the system is using newnet, then we should not run to fire the
netifrc triggers.
X-Gentoo-Bug: 503530
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| |
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
| |
Improve distfile generation to include a changelog, which is not
possible with git-archive
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
udev-init-scripts contains some rules to trigger network activation on
device creation. There are actually netifrc specific, so let's package
them instead.
X-Gentoo-Bug: 487922
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=487922#c4
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
| |
ifconfig module does not support IPv6 routes without
default prefix, eg "-net ::/0"
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Gentoo-Bug: 442594
|
|
|
|
|
|
|
|
| |
Document per Kernel bonding.txt that some parameters are mutually
exclusive, eg miimon & arp_*.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Gentoo-Bug: 468964
|
|
|
|
|
|
|
|
|
| |
If you have a NIC that takes a long time to come up, the previous
default of 5 seconds is too low, because the card might not be available
yet. Increase the default to 10 seconds.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Gentoo-Bug: 482300
|
| |
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|\
| |
| |
| |
| | |
* bug482364:
Clarify the "no configuration specified" message
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is not quite correct. The part that is not specified is
config_${IFVAR}. It is possible to configure an interface to use DHCP
but not specify an address.
X-Gentoo-Bug: 482364
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482364
|
|/
|
|
|
|
|
|
|
| |
This is a workaround as OpenRC is no longer silent on errors even with
--quiet. Bug #482396 tracks the OpenRC issue.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Gentoo-Bug: 460756
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=460756
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|\ |
|
| |
| |
| |
| |
| |
| | |
expect, and add new dad_timeout option defaulting to 5s for bug 481970
Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
|
|\ \ |
|