summaryrefslogtreecommitdiffstats
path: root/isys
Commit message (Collapse)AuthorAgeFilesLines
* 2007-05-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-05-071-0/+4
| | | | | * isys/isys.h (EARLY_SWAP_RAM): Bump early swap on 64bit platforms. cache + larger pointer size kills us a bit. (#238266)
* * isys/isys.py (dhcpNetDevice): Don't need to take dhcpclass as aDavid Cantrell2007-05-071-1/+2
| | | | seperate argument since we have that in the dev object.
* * isys/isys.c (doDhcpNetDevice): Pass pumplogger to pumpDhcpClassRun()David Cantrell2007-04-271-1/+6
| | | | | so we can see error messages in the syslog. * isys/isys.c: Add pumplogger() pass-through.
* * rescue.py (startNetworking): Call the right functions to bring upDavid Cantrell2007-04-272-48/+83
| | | | | | | | | | | | | networking in rescue mode when booting from CD or DVD (#238080) * isys/isys.py: Remove pumpNetDevice, replace with dhcpNetDevice that can handle IPv4 and IPv6 (#238080). * isys/isys.c (doDhcpNetDevice): Handle IPv4 and IPv6 stacks (#238080). * isys/isys.c (doConfigNetDevice): Likewise. * loader2/net.c (setupNetworkDeviceConfig): The netmask will never be an IPv6 address.
* * isys/isys.py (compareNetDevices): If either device lacks an int inDavid Cantrell2007-04-231-2/+5
| | | | its name, return 0 (#237431).
* * isys/isys.py (getLinkStatus): Be a little more intelligent about whatDavid Cantrell2007-04-201-1/+8
| | | | | | we get from _isys.getLinkStatus(). -1 is unknown state, which will map to True in the calling Python function. Only return True when we get a 1 back, otherwise False (#236483).
* 2007-04-18 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-181-1/+1
| | | | | * isys/isys.h (EARLY_SWAP_RAM): Lower value for early swap (dwmw2, #236508)
* 2007-04-18 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-181-0/+12
| | | | | | | | | | | | * isys/isys.py (driveDict): Ignore drives that the live install is running from. This should help avoid trying to install the bootloader to the USB key that you're running the live image off of * livecd.py (LiveCDImageMethod.postAction): Fix unmount to work and re-enable it so that people aren't left with /mnt/sysimage mounted in most cases (LiveCDImageMethod.protectedPartitions): Mark the live image partition as protected
* * isys/nl.c (netlink_init_interfaces_list): Should catch instancesDavid Cantrell2007-04-182-6/+11
| | | | | | | where namelen is zero. * isys/isys.py (inet_calcNetBroad): Fix broadcast address calculation (#236266).
* * isys/nl.c (netlink_init_interfaces_list): Fix RTM_GETLINK messageDavid Cantrell2007-04-173-30/+38
| | | | | | | | reassembly. Also, make sure we read the entire interface name rather than just the first four characters. Use BUFSZ macro throughout code. Fixes numerous problems, including the missing HWADDR line (#234764) * isys/nl.h: Define BUFSZ. * isys/isys.c: Looks like I fixed some whitespace.
* Ignore PS3 flash (#236481)Paul Nasrat2007-04-171-0/+8
|
* 2007-04-05 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-061-3/+3
| | | | * isys/dasd.c: Fix the build
* * isys/dasd.c: Fix the formatting and check return values onDavid Cantrell2007-04-051-88/+104
| | | | things that give us return values.
* * isys/dasd.c: Condense read_vlabel() in to read_volume_label(), newDavid Cantrell2007-04-051-12/+13
| | | | | function is named read_vlabel(). Support reading FBA entries in addition to EKCD entries from /proc/dasd/devices.
* Use /dev/ devices nodes for probing RAID superblocks, instead of recycling theChris Lumens2007-03-281-11/+15
| | | | same node in /tmp (#172648, #208970, #215231).
* * gui.py (releaseNotesButtonClicked): Spaces vs. tabs, tonight at 11.David Cantrell2007-03-272-9/+10
| | | | | | | | | * network.py (hasActiveDev): Use isys.getLinkStatus() rather than isys.getIPAddress() (#232512). * isys/isys.c (doGetIPAddress): Do not clear netlink cache. * isys/nl.c: Netlink cache searching cleanups.
* Clear out cached netlink information so we display the Remote button on theChris Lumens2007-03-121-0/+5
| | | | exception window.
* For fuck's sake. You'd think I had never used a pointer before. Don'tDavid Cantrell2007-03-091-1/+1
| | | | worry, I'll punish myself.
* * isys/str.c (strcount): If tmp is NULL, return 0 (#231290).David Cantrell2007-03-081-0/+3
|
* * isys/nl.c (netlink_init_interfaces_list): Handle netlink messagesDavid Cantrell2007-03-061-7/+31
| | | | | for RTM_GETLINK that are larger than 4K. This allows us to handle a variable number of network devices in the system (#230525).
* * loader2/net.c (strcount): Moved to isys/str.c.David Cantrell2007-03-062-0/+42
| | | | | * isys/str.c: Added strcount() function. * isys/str.h: Prototype for strcount.
* 2007-02-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-02-072-114/+0
| | | | | * isys/isys.py (fbconProbe): Remove obsolete crap. * isys/isys.c (doFbconProbe): Likewise.
* 2007-01-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-231-0/+2
| | | | | * isys/isys.py (makeDevInode): Don't remake device nodes that already exist.
* * loader2/net.c (doDhcp): Add 'anaconda-' to the front of the automaticDavid Cantrell2007-01-221-1/+2
| | | | | vendor-class-identifier (#220082). * isys/isys.c (doDhcpNetDevice): Likewise.
* 2007-01-18 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-181-1/+1
| | | | | | | | | | * isys/Makefile (_isys.so): Use LDFLAGS * loader2/Makefile (loader): Likewise. * stubs/Makefile ($(LIBUTF8)): Likewise. * Makefile: Likewise. * isomd5sum/Makefile (CFLAGS): Use common CFLAGS and LDFLAGS; use LDFLAGS everywhere * utils/Makefile: Use common LDFLAGS
* 2007-01-17 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-171-1/+4
| | | | * isys/auditd.c: Don't exit if we're not using SELinux (Elliot Peele)
* Don't care about the return value of asprintf.Chris Lumens2007-01-091-2/+4
|
* If dhcpclass is empty, build one from uname() likeDavid Cantrell2007-01-051-2/+7
| | | | 'Linux 2.6.18-1.2869.fc6 i686' (#220082).
* * isys/isys.c (doDhcpNetDevice): Honor dhcpclass param (#220057).David Cantrell2006-12-181-1/+4
| | | | * loader2/net.c: Likewise.
* 2006-12-15 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-12-151-2/+3
| | | | * isys/wireless.c (get_wreq): Build fix for new kernel headers
* 2006-12-14 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-12-151-0/+6
| | | | | | | * anaconda.spec: Bump version. * isys/isys.c (doRaidStart): Raid autorun is dead, fix the build for now. md is going to be broken until we move to mdadm
* 2006-12-12 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-12-121-1/+1
| | | | * isys/isys.py (doProbeBiosDisks): EDD should work on x86_64 (#218123)
* * isys/wireless.c (set_essid, get_essid): Init wreq struct beforeDavid Cantrell2006-11-281-3/+7
| | | | use (#215367).
* - don't segfault when importing isys on ppc (#214653)Peter Jones2006-11-082-2/+6
|
* * isys/str.c: Added str2case() to handle str2upper() and str2lower().David Cantrell2006-11-062-9/+38
| | | | * isys/str.h: Prototype changes.
* Tab to spaces.David Cantrell2006-11-031-1/+1
|
* Added IPv6 DNS lookup support to libisys.David Cantrell2006-11-023-43/+136
|
* Space cleanups.David Cantrell2006-11-021-1/+1
|
* 2006-10-25 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-10-251-3/+5
| | | | | * isys/isys.py (driveDict): Fix potential case where we could have a leaked file descripter (#212191)
* 2006-10-19 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-10-191-2/+2
| | | | * isys/nl.c: We only ever do anything with ethernet (#210195)
* - anaconda (__main__): Only do auditDaemon if we're not in test orPeter Jones2006-10-111-2/+1
| | | | | | rootpath mode. - isys/auditd.c (audit_daemonize): Don't start a new process group, and do "exit(0)" rather than "return" after recieving SIGTERM.
* 2006-10-10 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-10-101-63/+35
| | | | | | | | * lang-table: Add Telugu (#207428) * isys/eddsupport.c: Update from Rez Kabir AT dell to support specifying bios drive as long as a drive matches the signature and to fix problems with medium-less devices (#207331)
* * isys/isys.py (inet_calcNetBroad): Umm, use ntohl() so it works on allDavid Cantrell2006-10-031-10/+6
| | | | | | | | | | | | platforms. * iw/network_gui.py (NetworkWindow.handleBroadCastError): Tell users the IPv4 information given is invalid, since this error message will occur when calculating the network and broadcast address using the IPv4 ip address and netmask. * textw/network_text.py (handleBroadCastError): Add missing error handling function for network and broadcast address calculation.
* * iw/network_gui.py (NetworkWindow): Use isys.netmask2prefix() andDavid Cantrell2006-10-032-19/+17
| | | | | | | | | | | | | | isys.prefix2netmask() correctly. * textw/network_text.py (NetworkDeviceWindow): Use isys.prefix2netmask() correctly. * isys/isys.c (doPrefixToNetmask): Renamed to a shorter function name and it somewhat matches what the isys.py passthrough is called. We also take an int as the argument now and return a string. * isys/isys.py (netmask2prefix): Added this function to replace the borken inet_convertNetmaskToPrefix() function.
* * isys/isys.py (inet_doConvertPrefixToNetmask): Removed since it doesDavid Cantrell2006-10-022-7/+18
| | | | | | | | | | | | not work right. Added prefix2netmask() passthrough to _isys. * isys/isys.c (doConvertPrefixToNetmask): When Python fails, use C. Added isys.prefix2netmask() for use in Python code to convert a CIDR prefix to a dotted-quad format netmask (#207845). * iw/network_gui.py (NetworkWindow): Use isys.prefix2netmask() * textw/network_text.py (NetworkDeviceWindow): Use isys.prefix2netmask()
* * isys/isys.c (doDhcpNetDevice): Call pumpSetupInterface() afterDavid Cantrell2006-09-201-1/+8
| | | | | | we call pumpDhcpClassRun() to bring the interface up. NOTE: This function only does IPv4 stuff right now since the UI code needs changes before IPv6 can be worked in (#206192, #200109).
* * isys/Makefile: Make nltest target depend on str.o.David Cantrell2006-09-191-1/+1
|
* * isys/isys.c (doDhcpNetDevice): Rename to be dhcp instead ofJeremy Katz2006-09-123-10/+14
| | | | | | | | pump. Prefer DHCPv4 for now * isys/isys.py (dhcpNetDevice): Rename pumpNetDevice to this, leave pumpNetDevice stub * isys/Makefile (nltest): Fix build of test program
* * isys/nl.c: Only collect IPv4 and IPv6 addresses for IFF_RUNNINGDavid Cantrell2006-09-111-11/+18
| | | | interfaces.
* Skip attached devices without media present (like CF readers, etc.) (#205465).Chris Lumens2006-09-111-0/+5
|