aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sysconfig/init* files droppedDavid Kaspar [Dee'Kej]2017-10-165-48/+12
| | | | | Users can still create the /etc/sysconfig/init file manually to override the default values, which are now taken from init.d/functions.
* sysctl.conf.s390 droppedDavid Kaspar [Dee'Kej]2017-10-123-26/+0
| | | | This is a follow up to 13d638c0a7df4a998429163b9a0189dcffa2393a.
* usleep: change the error message to print the full replacement commandlineZbigniew Jędrzejewski-Szmek2017-09-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also drop the argv[0] as previx — the message already includes the name of the program. $ src/usleep 1 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 1e-06" instead... $ src/usleep 10 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 1e-05" instead... $ src/usleep 20 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 2e-05" instead... $ src/usleep 100 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.0001" instead... $ src/usleep 200 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.0002" instead... $ src/usleep 300 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.0003" instead... $ src/usleep 400 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.0004" instead... $ src/usleep 1000 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.001" instead... $ src/usleep 10000 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.01" instead... $ src/usleep 100000 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.1" instead... $ src/usleep 1000000 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 1" instead... $ src/usleep 10000000 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 10" instead... For very small and very large values, printf uses scientific notation, but that seems nicer than using %.f which would always leave trailing zeroes. sleep accepts scientific notation, so things should still work. https://bugzilla.redhat.com/show_bug.cgi?id=1494168
* 9.779.77David Kaspar [Dee'Kej]2017-08-151-1/+5
|
* specfile: Fix failing build for s390* architectureDavid Kaspar [Dee'Kej]2017-08-151-0/+1
| | | | Error caused by commit 13d638c0a7df4a.
* Drop no longer supported SPARC architectureDavid Kaspar [Dee'Kej]2017-08-152-9/+0
|
* 9.769.76David Kaspar [Dee'Kej]2017-08-071-1/+5
|
* Makefile: return make archive for testing purposesLukas Nykryn2017-08-071-0/+9
|
* Revert "Makefile: replace /var/run with /run"Lukas Nykryn2017-08-072-8/+4
| | | | | | | | | | | When we are creating rpm, we install initscripts to chroot, so the ROOT variable is set. And since we need that directory in the package [1], we would have to create it in spec file anyway. [1] https://fedoraproject.org/wiki/Packaging:Tmpfiles.d This reverts commit b119d37d1929a09e25bf288d0273aaaf8c7de86e.
* 9.75-19.75David Kaspar [Dee'Kej]2017-08-071-1/+8
|
* Makefile: $ROOT variable is now empty by defaultDavid Kaspar [Dee'Kej]2017-08-071-1/+1
|
* Makefile: Fix additional error in commit b119d37d1David Kaspar [Dee'Kej]2017-08-071-4/+4
|
* ifup-eth: wait for STP to complete setup on bridge if $DELAY is not setDavid Kaspar [Dee'Kej]2017-08-071-4/+21
| | | | | Otherwise obtaining IP from DHCP might fail. Based on patch from: * Rich Alloway <richard.alloway@roguewave.com> | CentOS BZ #0011138
* init.d/functions: is_true() & is_false() extended by ON/OFF supportDavid Kaspar [Dee'Kej]2017-08-071-2/+2
| | | | | In some cases we are using "on" or "off" as values. is_true() and is_false() can be used for evaluation of these values as well.
* init.d/functions: convert2sec() function addedDavid Kaspar [Dee'Kej]2017-08-072-1/+17
| | | | | | | | | | And network-scripts/network-functions was patched to use convert2sec(). This function can be used to convert the value of its first parameter to a number of seconds - based on the time unit (specified as the second parameter). This is mostly useful for converting values for use with the sleep(1).
* 9.74-19.74David Kaspar [Dee'Kej]2017-08-041-1/+4
|
* Makefile: fix whitespace error in commit b119d37d1David Kaspar [Dee'Kej]2017-08-041-1/+1
|
* 9.73-1David Kaspar [Dee'Kej]2017-08-031-1/+9
|
* Makefile: replace /var/run with /runZbigniew Jędrzejewski-Szmek2017-08-031-3/+7
| | | | | | Do not create anything under /run when $(ROOT) is non-empty: when we're installing into a chroot /run might not be mounted, and creating files there is counterproductive.
* Replace /var/run with /run everywhereZbigniew Jędrzejewski-Szmek2017-08-0313-30/+30
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1471489
* Update references to sysctl.confZbigniew Jędrzejewski-Szmek2017-07-271-5/+5
| | | | | This file hasn't been called that for a while, so update various references to the new sysctl.d names.
* Drop sysctl.d/00-system.confZbigniew Jędrzejewski-Szmek2017-07-273-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This file now only contains lines to disable netfilter on bridges. In kernel 3.18 this filtering functionality was made non-default by moving it to br_netfilter [https://bugzilla.redhat.com/show_bug.cgi?id=512206]. Aybody who actually wants to use br_netfilter has to load it explicitly anyway, so disabling it through sysctl isn't necessary anymore. The reason for removal is that by default (i.e. when br_netfilter is not loaded), we get a warning on every boot: systemd-sysctl[210]: Couldn't write '0' to 'net/bridge/bridge-nf-call-ip6tables', ignoring: No such file or directory systemd-sysctl[210]: Couldn't write '0' to 'net/bridge/bridge-nf-call-iptables', ignoring: No such file or directory systemd-sysctl[210]: Couldn't write '0' to 'net/bridge/bridge-nf-call-arptables', ignoring: No such file or directory This is confusing for users and inelegant. The downside of removing this file is for people who load br_netfilter for some reason *and* do no want to use it, will have to take an additional step now (either restore the sysctl settings or remove br_netfilter from /etc/modules-load.d or wherever). I expect the number of people affected to be very small. (Note that the file was overwritten on sparc and s390, so those architectures see no change.)
* Drop 256term.{sh,csh}Zbigniew Jędrzejewski-Szmek2017-07-213-52/+0
| | | | | | | | | | | | | | From https://fedoraproject.org/wiki/Changes/Drop_256term.sh: This is a work-around and it's better to for the terminal emulator to set $TERM properly on its own. Various terminal emulators have been updated to do that. When those scripts are removed, whatever the virtual terminal or terminal emulator sets as $TERM will be used. Fixes #107. C.f. https://bugzilla.redhat.com/show_bug.cgi?id=1165439.
* ARPUPDATE introducedDavid Kaspar [Dee'Kej]2017-07-144-2/+15
| | | | | | | | | The ARPUPDATE option has been introduced. It defaults to 'yes'. By setting the ARPUPDATE to 'no', administrator can disable updating neighbouring computers with ARP information about current NIC. This is especially needed when using LVS Load Balancing with Direct routing enabled.
* 9.72-19.72David Kaspar [Dee'Kej]2017-05-251-1/+6
|
* rename_device.c: rewrite of isCfg() functionDavid Kaspar [Dee'Kej]2017-05-251-12/+32
| | | | | * .orig & .old now recognized as config files * code cleanup
* Add *.old to list of ignored filesDavid Kaspar [Dee'Kej]2017-05-251-2/+2
|
* Replace usleep(1) calls with sleep(1) callsDavid Kaspar [Dee'Kej]2017-05-253-5/+9
| | | | | The time units had to be manually converted from microseconds to seconds. Hopefully this was done right.
* usleep.1: Deprecation warning added into man pageDavid Kaspar [Dee'Kej]2017-05-251-0/+5
|
* 9.71-19.71David Kaspar [Dee'Kej]2017-05-251-1/+16
|
* usleep: print deprecation warning from now onDavid Kaspar [Dee'Kej]2017-05-241-0/+3
|
* sysconfig.txt: mention previously introduced NO_DHCP_HOSTNAME optionDavid Kaspar [Dee'Kej]2017-05-031-0/+4
|
* DHCP_FQDN and DHCP_SEND_HOSTNAME introducedDavid Kaspar [Dee'Kej]2017-05-034-16/+53
| | | | | | | | | | | | | | The way DHCP_HOSTNAME is being sent to DHCP server has been completely reworked... DHCP_FQDN now allows user to specify fully qualified domain name to be sent to DHCP server instead of just using simple hostname. This option takes precedence before DHCP_HOSTNAME variable. DHCP_SEND_HOSTNAME can be used to tell initscripts to not send either DHCP_HOSTNAME or DHCP_FQDN to DHCP server. Both of these options should behave same as they do in NetworkManager.
* re-add missing $HOSTNAME initializationDavid Kaspar [Dee'Kej]2017-04-262-3/+9
|
* ifup: add support for VLAN_EGRESS_PRIORITY_MAPLukas Nykryn2017-04-111-0/+2
|
* specfile: mark 'rwtab' and 'statetab' as config filesDavid Kaspar [Dee'Kej]2017-03-281-2/+2
|
* killproc/status: add missing '-b <binary>' optionDavid Kaspar [Dee'Kej]2017-03-281-5/+30
| | | | Taken from RHEL-6.9, for forward compatibility.
* ifdown-eth: we need to flush global scope as wellLukas Nykryn2017-03-281-1/+4
| | | | ... but it is stuck some time
* ifup-eth: remove quote marksLukas Nykryn2017-03-221-1/+1
| | | | | With quote marks all the parameters to dhclient are passed as one Resolves: #1410429
* po: download latest translations from zanataLukas Nykryn2017-03-2260-147045/+12518
|
* rwtab: add /var/lib/systemd/timersJan Synacek2017-03-091-0/+1
| | | | Resolves: #1414090
* Update initscripts.potPiotr Drąg2017-03-011-144/+155
|
* Port headers in xgettext_sh.py to 2017Piotr Drąg2017-03-011-6/+9
|
* 9.70-19.70Lukas Nykryn2017-02-272-18/+7
| | | | Move everything to github
* Remove duplicate Basque translationPiotr Drąg2017-02-271-696/+0
| | | The correct language code for Basque is “eu”, which already exists in initscripts, and this duplicate file is empty anyway.
* Makefile: remove autorelabel stuffLukas Nykryn2017-02-271-2/+0
| | | | autorelabel was moved to selinux package
* ipv6_add_addr_on_device: replace the existing address on NICDavid Kaspar [Dee'Kej]2017-02-271-1/+1
| | | | | | | | Instead of adding the IPv6 address when ifup is called, we replace the address, because it might have been auto-assigned before by RA. This is to assure that static NIC configuration will take effect if the NIC was already dynamically configured by RA.
* network: load NetworkManager connection via dbusPetr Horáček2017-02-141-1/+9
| | | | | Use dbus to refresh configuration files for NetworkManager in order to make ifup and ifdown faster.
* network: check for running NetworkManager via dbusPetr Horáček2017-02-141-1/+5
| | | | Use dbus instead of nmcli to make ifup command faster.
* sysconfig/network: NO_DHCP_HOSTNAME option introducedDavid Kaspar [Dee'Kej]2016-11-162-9/+29
| | | | | | | Previously, some administrators were unable to force initscripts to not obtatin hostname from DHCP, even though they were using static configuration of network. Righ now, setting 'NO_DHCP_HOSTNAME' to 'yes', 'true' or '1' in /etc/sysconfig/network will allow them to do so.