aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Correct address family option handling in ipcalc.David Cantrell2009-03-191-42/+41
| | | | | Make sure the default is IPv4. If the check option is specified, make sure we just validate the address and return 1 or 0.
* Compile ipcalc with _GNU_SOURCE defined (for asprintf).David Cantrell2009-03-191-1/+1
|
* Man page updates for ipcalc(1)David Cantrell2009-03-192-7/+23
| | | | | Make sure the ipcalc man page explains the -c, -4, and -6 options. Update some other things. Shamelessly add my name.
* Add a address check capability for IPv4 and IPv6 addresses.David Cantrell2009-03-191-0/+42
| | | | | | | | | | | | | Add the -c, --check argument which enables address validation. The ipcalc program will exit with 0 if the address is valid or 1 if it is invalid, for the specified family. Add the -4, --ipv4 argument to specify the IPv4 address family. Add the -6, --ipv6 argument to specify the IPv6 address family. Ensure that the IPv6 family argument is invalid with the IPv4-only show arguments (broadcast, network, netmask, prefix).
* Use asprintf() rather than malloc() and sprintf().David Cantrell2009-03-191-3/+6
| | | | | Use asprintf() for conversion and abort on memory allocation failures.
* Use inet_ntop() and inet_pton()David Cantrell2009-03-191-5/+27
| | | | | The inet_ntoa() and inet_aton() functions are deprecated and limited to AF_INET only.
* Use 'struct in_addr' for IPv4 addresses.David Cantrell2009-03-191-44/+54
| | | | | Change from using uint32_t to struct in_addr for IPv4 addresses. Get rid of the IPBITS and IPBYTES macros.
* Whitespace cleanups for src/ipcalc.cDavid Cantrell2009-03-191-135/+130
| | | | Consistently use 4 spaces for indentation throughout ipcalc.c
* Merge branch 'master' of ssh://git.fedorahosted.org/git/initscriptsBill Nottingham2009-03-191-1058/+1174
|\
| * Updated Italian translationSilvio Pierro2009-03-181-1058/+1174
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | Conflict with older plymouth.Bill Nottingham2009-03-191-0/+1
| |
* | Stop plymouth when starting single-user mode. (#491062)Bill Nottingham2009-03-191-0/+1
| |
* | Add plymouth shutdown script (#473237)Bill Nottingham2009-03-191-0/+24
| |
* | Conflict with older mdadm.Bill Nottingham2009-03-181-1/+1
|/
* Fix raid auto-assembly (with corresponding mdadm changes). (#488038)Bill Nottingham2009-03-181-2/+2
|
* Add an option for consoletype to always return 0.Bill Nottingham2009-03-174-5/+10
| | | | | This allows tcsh -e to work, with lang.sh. It's a hack, but there really isn't a better way to solve it.
* Remove arp_ip_target on ifdown for bonding devices. (#483711)Bill Nottingham2009-03-171-1/+3
|
* Add vlan support for s390 HSI interfaces. (#490584)Bill Nottingham2009-03-171-1/+1
|
* Remove ifup-sl, ifdown-sl from file list.initscripts-8.91-1Bill Nottingham2009-03-161-2/+0
|
* 8.91-1Bill Nottingham2009-03-161-1/+9
|
* Handle full paths in need_config/source_config by normalizing them (#483257)Bill Nottingham2009-03-161-2/+3
| | | | | | This broke when we fixed the source commands for bash 4. It's not as having configurations outside of /etc/sysconfig/network-scripts was supported, so just normalize any full path passed in to look there.
* Merge branch 'master' of ssh://git.fedorahosted.org/git/initscriptsBill Nottingham2009-03-167-4022/+2886
|\
| * updated Spanish translationDomingo Becker2009-03-161-1707/+1129
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
| * Updated Polish translationPiotr Drąg2009-03-151-338/+155
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
| * Updated catalan poXavier Conde2009-03-151-99/+63
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
| * Updated Serbian Latin translationMilos Komarcevic2009-03-151-318/+132
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
| * Updated Serbian translationMilos Komarcevic2009-03-151-318/+132
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
| * Updated German translationFabian Affolter2009-03-151-1013/+1124
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
| * Updated SwedishMagnus Larsson2009-03-141-229/+151
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | Remove support for 'ifcfg-foo-bar' configurations that automatically inherit ↵Bill Nottingham2009-03-162-13/+0
| | | | | | | | | | | | | | | | from 'ifcfg-foo'. 1) I'm not sure of anything at all that ever supported this except for manual configuration. 2) '-' is a valid character in ethernet device names. So you can't have 'ifcfg-eth0-2' files that work. 3) Having it work for every '-' separated combination, except those that end in 'g' is just strange.
* | Remove slip support.Bill Nottingham2009-03-162-114/+0
|/ | | | We don't provide dip any more, and probably haven't for years.
* Merge branch 'master' of ssh://git.fedorahosted.org/git/initscriptsBill Nottingham2009-03-132-1360/+1292
|\
| * completed 100% punjabi tranaslation.Jaswinder Singh2009-03-121-273/+179
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
| * Updated Brazilian Portuguese translationIgor Pires Soares2009-03-121-1087/+1113
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | Cleanup bridges better on ifdown (#463325, <sean@bruenor@org>)Bill Nottingham2009-03-111-11/+11
| |
* | Support MD on iSCSI (this *SHOULD* be udev rules, but alas) (#480627)Bill Nottingham2009-03-111-0/+3
|/
* update-po && refresh-poBill Nottingham2009-03-1069-71352/+106504
|
* 8.90-1initscripts-8.90-1Bill Nottingham2009-03-091-1/+12
|
* Document CGROUP_DAEMONBill Nottingham2009-03-091-0/+10
|
* cgroup support (<jsafrane@redhat.com>)Bill Nottingham2009-03-061-2/+17
|
* Fix various issues with dmraid handling (#485895, <hdegoede@redhat.com>)Bill Nottingham2009-03-042-38/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've been doing a lot of work on mkinitrd's dmraid support lately some of the lessons learned there also apply to the activation of (not used for /) dmraid arrays in rc.sysinit, this will esp. help the livecd proerly activating and using dmraid sets. The patch fixes the following issues: 1) rc.sysinit (and mkinitrd used to) calls dm_resolve_name() on the output of dmraid, this is not necessary as dm_resolve_name is only needed when the name is /dev/dm-#, it is actually harmful as dm_resolve_name sometimes fails when used like this, causing us to fail to activate dmraid sets 2) rc.sysinit does not remove the partitions from the raw disks used in a raidset the initrd used to use special nash functionality to tell the kernels to forget about the partitions of the raw disks it had scanned at boot. The issue here is, say we have a mirror of sda and sdb, and that mirror has 2 partitions. Then the kernel when scanning the raw disks will find sda1,sda2,sdb1,sdb2. But we do not want anything using those, they should use the devicemapper versions as those are mirrored! I've even seen mounting by LABEL / UUID do the wrong thing by using the raw partitions instead of the raidset partitions. I've recently done a patch to dmraid adding a --rm_partitions cmdline option which makes dmraid do the ioctl which makes the kernel forget about the partitions of the rawdisk (which in turn makes udev remove the device nodes). This way we no longer need the nash magic. Part of my rc.sysinit patch is adding --rm_partitions to the dmraid invocation 3) rc.sysinit uses dmraid -p, which tells dmraid to not setup device maps for the partitions of the raidset and then kalls kpartx to setup the device maps for the partitions. This can be simplified by removing the -p argument to dmraid 4) with all these changes in place there is no longer a reason to loop, a single dmraid invocation is enough. p.s. AFAIK with this patch the last user of dm_resolve_name is gone, so that function can be removed. Better check twice though.
* Remove more device renaming code.Bill Nottingham2009-03-031-4/+0
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/initscriptsBill Nottingham2009-03-033-1001/+4485
|\
| * Two minor corrections.Lauri Nurmi2009-03-021-7/+7
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
| * Updated German translationThomas Spura2009-02-271-994/+775
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
| * adding for maithili; translation by sangeetaRajesh Ranjan2009-02-241-0/+3703
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | Fix typo. (#487926)Bill Nottingham2009-03-031-1/+1
| |
* | loadkeys has a -q option for silent running. Use it.Bill Nottingham2009-02-261-6/+6
|/
* Add compatiblity for openNHRP tunnels (#486559, <claude.tompers@ieee.lu>)Bill Nottingham2009-02-201-1/+2
| | | | | | ifup-tunnel fails for openNHRP type tunnels because the PEER_OUTER_IPADDR is generated dynamically and therefore not given for this type of tunnels. openNHRP tunnels also need a key, this is also added.
* Don't re-init an existing device, it causes errors. (#484411, ↵Bill Nottingham2009-02-061-1/+1
| | | | <jpayne@redhat.com>)