aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 10.1510.15Jan Macku2022-02-151-1/+9
|
* spec: network-scripts needs to depend on dbus-tools for NetworkManager detectionJan Macku2022-02-141-0/+1
| | | | | | | | | | | How to reproduce: ```sh (. /etc/sysconfig/network-scripts/network-functions; is_nm_running && echo "yes") ``` Resolves: #1832897 Co-authored-by: Till Maas <opensource@till.name>
* packit: Run copr builds on release as wellJan Macku2022-02-071-7/+15
|
* ci: Update `.packit.yml` to run on `c8s` `c9s` and `rawhide`Jan Macku2022-02-021-3/+3
|
* Translated using Weblate (Finnish)Ricky Tigg2022-02-021-4/+4
| | | | | | | | Currently translated at 100.0% (158 of 158 strings) Co-authored-by: Ricky Tigg <ricky.tigg@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/fi/ Translation: fedora-sysv/initscripts
* ci: Use Differential ShellCheck actionJan Macku2022-02-016-247/+13
|
* ci(Mergify): configuration updateJan Macku2022-01-251-3/+2
| | | Signed-off-by: Jan Macku <null>
* 10.1410.14Jan Macku2022-01-241-1/+7
|
* ifup-routes: Revert quotesJan Macku2022-01-241-4/+4
| | | | | | Quotes were introduced in a71dcfd392cc1022c255208fdd94a0fc6c13ceb0 Resolves: #2044189
* ifup-routes: Use `ip replace` only on type `route`Jan Macku2022-01-211-4/+6
| | | | | | Since other types might fail due to `replace` to be undefined. Related: #2034799
* ci(Mergify): configuration updateJan Macku2022-01-201-0/+128
| | | Signed-off-by: Jan Macku <null>
* ci: remove testing branch from `shellcheck_test.yml`Jan Macku2022-01-191-1/+0
| | | | Fixes: #405
* 10.1310.13Jan Macku2022-01-131-1/+20
|
* ifup-routes: Log when using `ip $type replace`Jan Macku2022-01-121-2/+12
| | | | Follow-up to #401
* ifup-routes: Use `ip route repace` to avoid raceJan Macku2022-01-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | This should resolve the scenario when the link is brought up prior to disabling accept_ra. This only happens when both IPv4 and IPv6 address is on the interface, because network-scripts does IPv4 first and brings up the interface. Then it does IPv6 which disables the RA's, at that point the node has already learned the route from RA and setting a default route fails. Using `ip route replace` we ensure if the above scenario happens we end-up with the correct default ipv6 route. Huge thanks to Harald who debugged this issue and prepared a patch! Related: #2034799 Co-authored-by: hjensas <hjensas@redhat.com>
* Translated using Weblate (German)Ettore Atalan2021-11-191-12/+10
| | | | | | | | Currently translated at 89.2% (141 of 158 strings) Co-authored-by: Ettore Atalan <atalanttore@googlemail.com> Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/de/ Translation: fedora-sysv/initscripts
* Add LGTM badges to READMEJan Macku2021-11-161-1/+3
|
* ci: set default merge method to rebaseJan Macku2021-11-021-1/+2
|
* ci: disable comments under opened PR in order to fix CIJan Macku2021-11-021-14/+16
|
* network scripts: do not use c-style for-loophanzongcheng2021-11-021-2/+2
| | | | | | Busybox's shell does not support c-style for-loop, use seq method to fix it. Signed-off-by: hanzongcheng <hanzongcheng@huawei.com>
* network scripts: replace "<<<" with pipehanzongcheng2021-11-022-4/+4
| | | | | | Busybox's shell does not support "<<<", fix it by using pipe. Signed-off-by: hanzongcheng <hanzongcheng@huawei.com>
* rc.d/functions: do not use "+=" to concatenate stringhanzongcheng2021-11-021-1/+1
| | | | | | Some shell(like busybox's) do not support "+=" for string concatenation. Signed-off-by: hanzongcheng <hanzongcheng@huawei.com>
* ci: Use default github-token (#395)Jan Macku2021-09-301-1/+0
|
* ci(Mergify): configuration update (#394)Jan Macku2021-09-292-1/+20
|
* ci: Output shellcheck results using PR comments (#393)Jan Macku2021-09-293-12/+53
|
* ci: Update path to csdiff repository (#391)Jan Macku2021-09-141-1/+1
|
* spec: Fix issue with $NEXT_VERSION (#390)Jan Macku2021-09-141-1/+7
|
* Translated using Weblate (Indonesian)Didik Supriadi2021-09-131-6/+8
| | | | | | | | Currently translated at 87.3% (138 of 158 strings) Co-authored-by: Didik Supriadi <didiksupriadi41@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/id/ Translation: fedora-sysv/initscripts
* Translated using Weblate (Spanish)Emilio Herrera2021-09-131-8/+16
| | | | | | | | Currently translated at 94.3% (149 of 158 strings) Co-authored-by: Emilio Herrera <ehespinosa57@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/es/ Translation: fedora-sysv/initscripts
* Translated using Weblate (Czech)Jan Macku2021-09-132-4/+7
| | | | | | | | | | | | | | | | Currently translated at 90.5% (143 of 158 strings) spec: Replace not working awk command with sed (#382) Sed command get version number from spec file and increment last number by one. Work like old awk command was intended to work. Source: https://stackoverflow.com/questions/14348432/how-to-find-replace-and-increment-a-matched-number-with-sed-awk/14348899 (cherry picked from commit bfda3cc2acdea827909e6c89bda5bbb5140cda6c) Co-authored-by: Jan Macku <jamacku@redhat.com> Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/cs/ Translation: fedora-sysv/initscripts
* 10.1210.12Jan Macku2021-09-031-1/+4
|
* spec: Update relation between initscripts and initscripts-service (#386)Jan Macku2021-09-011-2/+2
| | | | Add strong relation between initscripts and initscripts-service. Also update Obsoletes of initscripts package.
* 10.1110.11Jan Macku2021-08-271-1/+4
|
* specfile: Update obsoletes to allow upgrades (#385)Jan Macku2021-08-261-1/+1
| | | Obsoletes with initscripts < 10.10 in order to allow the initscripts-service package to be installed while upgrading from initscripts < 10.10
* 10.1010.10Jan Macku2021-08-261-1/+15
|
* Translated using Weblate (Friulian) (#381)Weblate (bot)2021-07-101-42/+73
| | | | | Translated using Weblate (Friulian) Co-authored-by: Fabio Tomat <f.t.public@gmail.com>
* Translations update from Weblate (#378)Weblate (bot)2021-07-032-38/+50
| | | | | | | * Translated using Weblate (Portuguese (Brazil)) * Translated using Weblate (Swedish) Co-authored-by: Gustavo Costa <xfgusta@gmail.com> Co-authored-by: Anders Jonsson <anders.jonsson@norsjovallen.se>
* added veth supportGeiger2021-06-241-0/+11
|
* ifup-eth: add a new PERSISTENT_DHCLIENT_IPV6 option for IPv6 dhclient daemonZhiqiang Liu2021-06-242-1/+10
| | | | | | | | | | | | | | | | | | | | | In 76226a34 ("ifup-eth: apply PERSISTENT_DHCLIENT to IPv6 dhclient daemon"), one PERSISTENT_DHCLIENT option works for both IPv4 and IPv6, so the IPv4 and IPv6 settings are consistent. However, the user settings for IPv4 and IPv6 are limited. For example, users try to adopt both IPv4 and IPv6 protocol. DHCPv6 servers may be not stable as DHCP servers, thus the expectation for obtaining IPv6 address is lower than IPv4 address. For users, IPv4 address must be obtained for the basic communication. So the PERSISTENT_DHCLIENT option is set to be "yes | 1" for IPv4 address. However, the network service may be stuck until it fails due to missing DHCPv6 servers, and the remaining devices also cannot obtain both IPv4 and IPv6 addresses. The problem is very serious for users. Here, I add a new PERSISTENT_DHCLIENT_IPV6 option only for IPv6 dhclient daemon, so users can set IPv4 and IPv6 separately. Fixes: 76226a3 ("ifup-eth: apply PERSISTENT_DHCLIENT to IPv6 dhclient daemon") Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
* ifdown removes veth pair if both peers are downGeiger2021-06-241-0/+6
|
* rename_device: also support dracut-style kernel cmdline configurationLukas Nykryn2021-06-161-1/+43
| | | | | | | | There are 2 cases where this might be useful. * On machines with initrd build without dracut-network, you can now still use ifname option * On older kernels where double renaming was allowed, normal system replaced the name set by initrd.
* spec: Mark network-scripts as deprecatedNeal Gompa2021-06-031-0/+6
| | | | | | | | The network-scripts package is legacy and deprecated, so nobody should depend on this! If ifcfg-style configuration is still desired, NetworkManager can do this. Thus, mark this as deprecated to ensure people know to not depend on it. Reference: https://docs.fedoraproject.org/en-US/packaging-guidelines/deprecating-packages/
* spec: Initscripts now requires chkconfig (#374)Jan Macku2021-05-311-0/+1
| | | As a easy way to get full legacy system V support.
* Translations update from Weblate (#371)Weblate (bot)2021-05-314-110/+737
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Translated using Weblate (Spanish) Currently translated at 88.6% (140 of 158 strings) Co-authored-by: Emilio Herrera <ehespinosa57@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/es/ Translation: fedora-sysv/initscripts * Added translation using Weblate (Sinhala) Co-authored-by: Hela Basa <r45xveza@pm.me> * Translated using Weblate (Finnish) Currently translated at 100.0% (158 of 158 strings) Co-authored-by: Ricky Tigg <ricky.tigg@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/fi/ Translation: fedora-sysv/initscripts * Translated using Weblate (Korean) Currently translated at 100.0% (158 of 158 strings) Translated using Weblate (Korean) Currently translated at 82.9% (131 of 158 strings) Co-authored-by: simmon <simmon@nplob.com> Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/ko/ Translation: fedora-sysv/initscripts Co-authored-by: Emilio Herrera <ehespinosa57@gmail.com> Co-authored-by: Hela Basa <r45xveza@pm.me> Co-authored-by: Ricky Tigg <ricky.tigg@gmail.com> Co-authored-by: simmon <simmon@nplob.com>
* spec: Move service script into subpackageJan Macku2021-05-313-5/+40
| | | | | | | | | | This changes moves service script into initscripts-service subpackage. The subpackage could be install without main package. This change allows audit not to require initscripts and require only initscripts-service instead. Requested by: msekleta@redhat.com
* ci: Onboard initscripts to PackitJan Macku2021-04-221-0/+13
|
* ci: Migrate from Travis to GH ActionsJan Macku2021-03-118-43/+63
| | | | | | | There are two workflows, integration_test and shellcheck_test. Those are similar to original travis jobs. Co-authored-by: Frantisek Sumsal <frantisek@sumsal.cz>
* 10.0910.09Jan Macku2021-02-151-1/+5
|
* doc: Document ARPING_WAIT and ARPING_UPDATE_WAITJan Macku2021-02-121-0/+10
|
* network scripts: Avoid infinite loop of arpingJan Macku2021-02-122-4/+5
| | | | | | | | | Introduced in the bonding driver (commit ae46f184bc1f) now reports transmission failures. Before that, it silently dropped the packet and replied with success error code. The arping of iputils retries endlessly when a transmission error occurs. This patch fix this behavior.