| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
path. (#486507)
For example, this allows DHCPv6 to run.
|
|
|
|
| |
pppd. (#448881)
|
| |
|
|
|
|
|
| |
Make sure that get_hostname() if the user specifies either address
family.
|
| |
|
|
|
|
|
| |
Make sure the default is IPv4. If the check option is specified,
make sure we just validate the address and return 1 or 0.
|
| |
|
|
|
|
|
| |
Make sure the ipcalc man page explains the -c, -4, and -6 options.
Update some other things. Shamelessly add my name.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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() for conversion and abort on memory allocation
failures.
|
|
|
|
|
| |
The inet_ntoa() and inet_aton() functions are deprecated and limited
to AF_INET only.
|
|
|
|
|
| |
Change from using uint32_t to struct in_addr for IPv4 addresses.
Get rid of the IPBITS and IPBYTES macros.
|
|
|
|
| |
Consistently use 4 spaces for indentation throughout ipcalc.c
|
|\ |
|
| |
| |
| |
| | |
Transmitted-via: Transifex (translate.fedoraproject.org)
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
This allows tcsh -e to work, with lang.sh. It's a hack, but there really
isn't a better way to solve it.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| | |
Transmitted-via: Transifex (translate.fedoraproject.org)
|
| |
| |
| |
| | |
Transmitted-via: Transifex (translate.fedoraproject.org)
|
| |
| |
| |
| | |
Transmitted-via: Transifex (translate.fedoraproject.org)
|
| |
| |
| |
| | |
Transmitted-via: Transifex (translate.fedoraproject.org)
|
| |
| |
| |
| | |
Transmitted-via: Transifex (translate.fedoraproject.org)
|
| |
| |
| |
| | |
Transmitted-via: Transifex (translate.fedoraproject.org)
|
| |
| |
| |
| | |
Transmitted-via: Transifex (translate.fedoraproject.org)
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
We don't provide dip any more, and probably haven't for years.
|
|\ |
|
| |
| |
| |
| | |
Transmitted-via: Transifex (translate.fedoraproject.org)
|
| |
| |
| |
| | |
Transmitted-via: Transifex (translate.fedoraproject.org)
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|