| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
pump. Prefer DHCPv4 for now
* isys/isys.py (dhcpNetDevice): Rename pumpNetDevice to this,
leave pumpNetDevice stub
* isys/Makefile (nltest): Fix build of test program
|
|
|
|
| |
interfaces.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and convert to dotted-quad netmask notation.
* iw/network_gui.py (NetworkWindow.editDevices): Allow user to enter
CIDR prefix or dotted-quad netmask for IPv4 settings, validate the
IPv4 and IPv6 prefix and make sure they fall within the required
range, if user enters IPv4 CIDR prefix then convert to dotted-quad
netmask for the sysconfig ifcfg-ethX file.
* iw/network_gui.py (NetworkWindow.editDevices): Call get_text() to
get the value of the ipv6prefix box rather than using an instance of
a gtk.Entry() object.
* iw/network_gui.py (NetworkWindow.getScreen): Set hostname, gateway,
and DNS entry boxes to be 41 characters wide.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to these functions with inet_pton() and inet_ntop().
* isys/isys.py: Added inet_convertNetmaskToPrefix() utility function
to convert dotted-quad IPv4 netmasks to CIDR prefix values.
* iw/network_gui.py (createIPRepr): Renamed to createIPV4Repr() and
have it write out ip/prefix rather than ip/netmask.
* iw/network_gui.py (createIPV4Repr): Added to handle IPv6 write
outs to the tree store.
* iw/network_gui.py (NetworkWindow.editDevice): Add IPv6 info to
the tree store.
* iw/network_gui.py (NetworkWindow.setupDevices): Initialize tree
store with IPv4 and IPv6 information.
|
|
|
|
|
| |
less often (but in more codepaths :/). Also add filtering of DGC LUNZ
devices, which don't ever represent addressable storage.
|
|
|
|
|
|
|
|
|
|
| |
* fsset.py (FileSystemType.mount): Reset file context on
mountpoints (#202525)
* packages.py (setFileCons): Use new parameter to resetFileContext
* isys/isys.py (resetFileContext): Allow passing a rootpath
* isys/isys.c (doResetFileContext): Likewise.
|
| |
|
|
|
|
| |
* isys/isys.py (getDasdState): Fix unformatted dasds again (#203260)
|
|
|
|
| |
This fixes that.
|
|
|
|
| |
screws up dm devices in our cache
|
| |
|
|
|
|
|
| |
selection screen to never appear. This may re-break 201108, but this stuff
is too tricky to debug without new CDs. Let's see what happens next time.
|
| |
|
| |
|
| |
|
|
|
|
| |
* loader2/ftp.c: Notes to myself.
|
|
|
|
| |
* isys/nfsmount.c: Revert to previous version (DNS problems).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and pass that to the ftpOpen() call.
* urlinstall.py (UrlInstallMethod.__init__): Use urlparse.
* isys/dns.c, isys/dns.h: Updated for IPv6 support.
* loader2/Makefile: Cleanups.
* loader2/ftp.c, loader2/ftp.h: Updated for IPv6 support.
* loader2/loader.c: Whitespace consistency.
* loader2/method.c: Whitespace consistency.
* loader2/urls.c: Updated for IPv6 support.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
doPumpNetDevice() functions, but rewritten to use libdhcp instead
of pump. Since the UI has not changed for IPv6, these two functions
don't really do IPv6 stuff yet.
* isys/Makefile: Link and compile with libdhcp.
NOTE: This requires libdhcp-1.9 (which I haven't released yet) because I
moved the IP_STRLEN macro to ip_addr.h instead of having it in anaconda.
|
| |
|
|
|
|
| |
I had an idea that we could make loader smaller if we didn't call toupper() or string functions. Well, we use string functions all over the place, but I did remove the toupper() calls I used. Yeah, not exciting. Believe it or not, this was involved in a large tracking-down of double free()'s yesterday.
|
| |
|
|
|
|
|
| |
there is media present in devices where it may be removed. This should
finish up getting USB installation working.
|
|
|
|
|
|
|
|
| |
* loader2/net.c (setupNetworkDeviceConfig): Remove s390 hack
* network.py (sanityCheckIPString): Remove s390 hack
* isys/isys.py (sync): Remove s390 hack
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* iw/iscsi_gui.py (iscsiWindow.getNext): Don't need to do the
startup here now.
* isys/isys.py (compareDrives): Sort xvd devices first since
they're the "bootable" ones for Xen
(driveIsIscsi): Determine if a drive is iscsi or not. Kind of ugly.
* zfcp.py (ZFCP.write): Copy zfcp.conf here.
* yuminstall.py (YumBackend.doPreInstall): Write out network, zfcp
and iscsi info prior to the install starting.
* partitioning.py (partitionObjectsInitialize): Flush drive dict
on initialization, set up iscsi devices here, make device nodes
for drives
* kickstart.py (AnacondaKSHandlers.doIscsi): Initial iscsi
kickstart support. This syntax *will* change
* iscsi.py (iscsi.action): Set nodes to start up automatically on
boot in the db
(iscsi.startup): Give a popup while we're waiting on iscsi devs
to initialize
(iscsi.write): Write out iscsi config
* fsset.py: Add various bits so that we can set that a device
should be marked as _netdev in the fstab and use it appropriately
for iscsi.
|
| |
|
|
|
|
| |
* isys.py (sync): sync seems to cause an oops on s390 (#195630)
|
|
|
|
| |
* isys/isys.py (inet_ntoa): Fix on 64bit machines
|
|
|
|
| |
* isys/isys.py (readReiserFSLabel_int): Close leaky fd
|
|
|
|
|
|
| |
Ok, so what exactly are we looking at here? A slapped-together pile of stuff that uses libdhcp instead of pump. I call it a work in progress. Right now we have support for regular IPv4-based installs. IPv6 is sort-of halfway there. I'm still wedging it in to place (i.e., dodging sigsegvs). I wanted to get an IPv4-libdhcp-move committed now so that it's in CVS. The pump-compatible API in libdhcp is mostly useless, so I'm moving things from using the core-dumping pump API functions to just using the libdhcp stuff directly. I had to back out a lot of IPv6 stuff I did in the interim.
Please avoid making huge changes to the loader2 network code because I'm still tearing through that.
|
| |
|
|
|
|
|
|
|
|
|
| |
* isys/getipaddr.c: Removed.
* isys/isys.c (doGetIPAddress): Call netlink_interfaces_ip2str()
instead of getIPAddr().
* isys/net.h: Removed getIPAddr() prototype.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the function and handle IPv4 and IPv6 address lengths more
gracefully.
* isys/nl.c (netlink_interfaces_ip2str): Added function to return the
IP address of the specified device name. If you have an IPv4 address
for the device, that's returned. If you only have an IPv6 address,
that's returned. The string returned is the human-readable IP addr.
* isys/nl.c (_netlink_interfaces_elem_find): Renamed the
_netlink_interfaces_elem_mac2str function since it's a generic intf
search routine.
* isys/nl.c (netlink_init_interfaces_list): If there is no IPv6
address, memset intfinfo->ip6_addr to all zeros.
* isys/nl.h: Prototype updates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LDFLAGS.
* isys/getmacaddr.c: Removed.
* isys/getmacaddr.h: Removed.
* isys/isys.c: Call netlink_interfaces_mac2str() in doGetMacAddress.
* isys/nl.c (netlink_format_mac_addr): Malloc space for buf if it's
NULL when we enter the function.
* isys/nl.c (netlink_interfaces_mac2str): Return buffer malloc is
handled by netlink_format_mac_addr).
* loader2/Makefile: Add glib CFLAGS and LDFLAGS.
* loader2/net.c: Call netlink_format_mac_addr() and
netlink_interfaces_mac2str().
* loader2/urlinstall.c: Call netlink_interfaces_mac2str() instead of
getMacAddr().
|
| |
|
|
|
|
|
|
|
|
|
| |
netlink_interfaces_mac2str()...and their helper functions.
* isys/nl.c: Several things... In netlink_format_mac_addr, make the
formatted MAC address uppercase. Added netlink_interfaces_mac2str which
searches the interface list and hands you the human-readable MAC address
for the specified interface. Added netlink_interfaces_list_free to free
the interfaces list and associated elements.
|
|
|
|
| |
ARP headers.
|
|
|
|
|
|
|
|
| |
Yeah, so we have some netlink_* functions now. You can build nltest in the
isys directory and it'll dump info on your interfaces including the index
number, the name, the MAC address, the IPv4 address, and the IPv6 address.
Next up is rewriting isys functions to use the netlink_* functions.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
own functions. Allow usb-storage installs.
* partitions.py: warn if you're using firewire or usb
* loader2/modules.c (loadModule): Delay on reloading usb-storage, as
it takes undefined time as well. Without this /tmp/scsidisks is
wrong.
* loader2/modules.c (writeModulesConf): don't exclude usb-storage
or sbp2.
|
|
|
|
| |
on actually having the device in use.
|
| |
|
|
|
|
| |
it for other cvs ops.
|
| |
|
|
|
|
| |
* isys/isys.c: Fix the build again
|
|
|
|
|
| |
* isys/isys.c: Don't include kernel fs headers -- the e2fsprogs
ones have what we need.
|
|
|
|
| |
* isys/dasd.c: Fix the s390 build for real with a temporary hack
|