aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 10.11.410.11.4Jan Macku2022-02-241-1/+4
|
* spec: Update initscripts ObsoletesJan Macku2022-02-241-1/+1
| | | Related: #2057917
* 10.11.310.11.3Jan Macku2022-02-241-1/+7
|
* Drop unnecessary obsoletesAdam Williamson2022-02-241-5/+1
| | | | | | | | | | | | | | | | | | | | Since initscripts requires these packages anyway, the obsoletes aren't necessary. They're only useful if you split off a new subpackage and *don't* have the main package require it, but you still want it to be installed on updates. In this case, initscripts requires both initscripts-rename-device and initscripts-service, so there's no need for them to obsolete older versions of it. The initscripts-rename-device obsoletes was somehow messing up live image creation during the openQA update test (caused the live image not to include initscripts at all). This fixes that. Signed-off-by: Adam Williamson <awilliam@redhat.com> (cherry picked from commit 4e39c08825a55107a6accf7ad7b4d82ddd30e9ec) Related: #2057917
* spec: Move rename_device to subpackage `initscripts-rename-device`Jan Macku2022-02-241-3/+21
| | | | | | | | It allows to rename_device to be installed independently on initscripts. (cherry picked from commit 69a2526fa919a1ab215a4b19640b2214e0a1d78e) Resolves: #2057917
* ci: Update `.packit.yml` to run on `c9s`Jan Macku2022-02-071-7/+11
|
* ci: Use Differential ShellCheck actionJan Macku2022-02-024-19/+20
| | | | (cherry picked from commit 3eee59032cd3f1793d13fe16dbd609d350d5fbb7)
* 10.11.210.11.2Jan Macku2022-01-261-1/+8
|
* ifup-routes: Revert quotesJan Macku2022-01-241-4/+4
| | | | | | | | Quotes were introduced in a71dcfd392cc1022c255208fdd94a0fc6c13ceb0 (cherry picked from commit f0171b8449033400db59a47a610124fc285dfe06) Resolves: #2040679
* ifup-routes: Use `ip replace` only on type `route`Jan Macku2022-01-241-4/+6
| | | | | | | | Since other types might fail due to `replace` to be undefined. (cherry picked from commit 28f50e5582f3641afac795e0e009fd22875b8dbb) Related: #2040679
* ifup-routes: Log when using `ip $type replace`Jan Macku2022-01-141-2/+12
| | | | | | (cherry picked from commit a31060817ef8b03814b240442811ea5caa082d1c) Resolves: #2040679
* ifup-routes: Use `ip route repace` to avoid raceJan Macku2022-01-141-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! (cherry picked from commit a71dcfd392cc1022c255208fdd94a0fc6c13ceb0) Resolves: #2040679 Co-authored-by: hjensas <hjensas@redhat.com>
* ci: Update path to csdiff repository (#391)Jan Macku2021-09-141-1/+1
| | | | (cherry picked from commit 90c4a1e83c342b9ea08d7c6ead728c33be0d9cc8)
* 10.11.110.11.1Jan Macku2021-09-011-1/+6
|
* spec: Replace not working awk command with sed (#387)Jan Macku2021-09-011-1/+1
| | | | | | | | 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)
* 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.
* 10.0810.08Jan Macku2021-02-041-1/+5
|
* network: fix condition in set_link_up()Jan Macku2021-02-041-2/+5
|
* spec: sync with FedoraJan Macku2021-01-221-0/+1
| | | | | Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
* 10.0710.07Jan Macku2021-01-221-1/+11
|
* Revert "remove rename_device_lock when process does not exist"Jan Macku2021-01-211-13/+1
| | | This reverts commit dbff71b664c7536d09dc3172259d8984005b60fa.
* doc: Fix "Duplicated string found in the file."Jan Macku2021-01-201-2/+2
|
* Merge remote-tracking branch 'weblate/master'Jan Macku2021-01-207-194/+280
|\
| * Translated using Weblate (Finnish)Jan Kuparinen2021-01-131-42/+55
| | | | | | | | | | | | | | Currently translated at 100.0% (158 of 158 strings) Translation: fedora-sysv/initscripts Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/fi/
| * Translated using Weblate (Friulian)Fabio Tomat2020-09-271-57/+85
| | | | | | | | | | | | | | Currently translated at 65.1% (103 of 158 strings) Translation: fedora-sysv/initscripts Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/fur/
| * Translated using Weblate (Italian)Fabio Tomat2020-09-271-4/+5
| | | | | | | | | | | | | | Currently translated at 69.6% (110 of 158 strings) Translation: fedora-sysv/initscripts Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/it/
| * Translated using Weblate (Friulian)Fabio Tomat2020-09-171-21/+46
| | | | | | | | | | | | | | Currently translated at 20.8% (33 of 158 strings) Translation: fedora-sysv/initscripts Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/fur/
| * Translated using Weblate (Czech)Daniel Rusek2020-09-011-22/+13
| | | | | | | | | | | | | | Currently translated at 90.5% (143 of 158 strings) Translation: fedora-sysv/initscripts Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/cs/
| * Translated using Weblate (Swedish)Göran Uddeborg2020-08-301-28/+41
| | | | | | | | | | | | | | Currently translated at 100.0% (158 of 158 strings) Translation: fedora-sysv/initscripts Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/sv/
| * Translated using Weblate (Hungarian)Balázs Meskó2020-07-211-9/+19
| | | | | | | | | | | | | | Currently translated at 100.0% (158 of 158 strings) Translation: fedora-sysv/initscripts Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/hu/
| * Translated using Weblate (Croatian)Milo Ivir2020-07-151-9/+15
| | | | | | | | | | | | | | Currently translated at 83.5% (132 of 158 strings) Translation: fedora-sysv/initscripts Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/hr/
| * Translated using Weblate (Italian)Enrico Bella2020-07-101-7/+9
| | | | | | | | | | | | | | Currently translated at 69.6% (110 of 158 strings) Translation: fedora-sysv/initscripts Translate-URL: https://translate.fedoraproject.org/projects/fedora-sysv/initscripts/it/