| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This reverts commit 5a0189827c1c6db21ecbfd01f00ee1f5edbb7a77.
gcc-4.4.0-0.31 in rawhide fixes the problem we were seeing.
|
|
|
|
|
|
|
|
|
| |
Problem with -O2 and some string functions with the latest version of
gcc in rawhide. Work around the problem for now so we can compile,
ideally we can revert this patch in the future.
gcc bug:
https://bugzilla.redhat.com/show_bug.cgi?id=492973
|
|
|
|
|
|
| |
Be more defensive about what we get back from the _isys module. Do
not assume we get an error string. If it's empty, place None in the
tuple.
|
| |
|
|
|
|
|
| |
If NULL is given as the last parameter to doPwMount(), do not try
to dereference it.
|
| |
|
|
|
|
| |
Use True/False over 1/0. It's the future.
|
|
|
|
| |
{-1,-1} isn't the right way to send infinity to ppoll(), NULL is.
|
| |
|
|
|
|
|
|
| |
This patch gets iscsi going with the new storage code. There are still
a few hicups left (such as NetworkManager downing the interface our / is on),
but I'll address those in separate patches.
|
|
|
|
|
|
|
| |
These no longer belong in isys.py as putting them in the classes is much
more correct. I also put a mediaPresent method on Device in general.
This will come in handy when we start dealing with USB CF readers and
similar devices that can be present without having media.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
To get a parted.Device object, we call:
parted.getDevice(path)
To create a new parted.Disk object, we need a parted.Device and
we call:
parted.Disk(device=parted.Device)
|
| |
|
|
|
|
|
|
| |
Can't cast from a void pointer to struct mii_ioctl_data. Create
a local variable and copy in to struct ifreq and back out again
to do the same thing.
|
| |
|
|
|
|
| |
Various packaging fixed from review (#225246)
|
| |
|
|
|
|
|
|
|
|
| |
Last dbus removal patch for code written in C. This one changes
iface_ip2str() to use libnm-glib to get the IPv4 address of the
specified interface.
[rawhide]
|
|
|
|
| |
These functions are not used in anaconda by anything.
|
|
|
|
|
|
|
|
|
|
|
| |
The first patch in a two (possibly three) patch series that replaces
some direct D-Bus code with libnm-glib calls. Much less verbose,
easier to read, etc, etc.
Tested this patch locally and all seems well. Calling it a day for
now.
[rawhide]
|
| |
|
|
|
|
|
| |
We have to manually advance the iter when working with D-Bus, so if
continue in a loop, be sure to call the next() function on the iter.
|
|
|
|
|
|
|
|
|
|
|
|
| |
A corner case, but if a user boots up with boot.iso and has no
network devices available, we get all the way to package selection
and user is told they cannot continue. This is after all of the
other screens and partitioning.
In the welcome screen, perform a check to see if the user has booted
the installer to a point where it requires a network install for the
packages. If so, tell the user they cannot continue and exit the
installer.
|
| |
|
|
|
|
|
| |
The ipv4method and ipv6method variables are in use now, remove
flags that are not used anymore.
|
| |
|
|
|
|
|
| |
If the user supplies ksdevice=link, make sure we automatically
select the first network device found that has an active link.
|
| |
|
|
|
|
|
|
|
|
|
| |
Bring back the isys.resetResolv() function to kick glibc and make it
reinitialize itself from /etc/resolv.conf again. We need to do this
to account for NetworkManager writing out a new resolv.conf.
In network.bringUp(), init i to 0 so we actually loop and poll
NetworkManager's state.
|
| |
|
| |
|
|
|
|
|
|
| |
We do not need the old dhcpNetDevice() or
configNetDevice() functions or the resolver code in
isys since we are using NetworkManager now.
|
|
|
|
|
| |
Make sure we carry over the settings from the ifcfg-DEVICE
files and current device states from NetworkManager.
|
| |
|
|
|
|
|
|
| |
On newer kernels the symlinks are arranged differently, causing driveIsIscsi
to fail to detect iscsi drives in current rawhide. This patch fixes this,
fixing rh 461839, rh 461841.
|
| |
|
|
|
|
|
| |
libaudit API changed a bit. Only have audit_reply now, and
not auditd_reply_list.
|
|
|
|
|
|
|
|
|
|
|
| |
This patch does two things: (1) It makes sure that NM doesn't run more than
once, though we still need to figure out why it's being asked to start up
several times. (2) Block the rest of the network configuration process from
running until after NM is up and we can talk to it. This fixes the traceback
where nothing is providing the .services file.
We still need to investigate whether static network configuration works and
how the UI flows in error cases.
|
|
|
|
|
|
| |
No need to pass iface_t to iface_start_NetworkManager().
Remove unnecessary else { exit(0); } from the child process.
Increase wait loop to 45 iterations.
|
|
|
|
|
| |
The NM_STATE_* constants are possible values for the State
property of NetworkManager.
|
|
|
|
| |
iface_dns_lookup() is not used anymore, removed it.
|
|
|
|
|
| |
I'm rewriting all of this file eventually, but for today you
get the rewrite of iface_ip2str().
|
|
|
|
|
| |
err is a double pointer, so make sure we set it, clear it, and
populate it correctly when calling doPwMount().
|
|
|
|
| |
Code isn't used anywhere in anaconda anymore.
|
|
|
|
|
|
| |
In network.py, I need to get properties for all interfaces
that NM knows about, so expand getDeviceProperties() to do
that.
|
| |
|
| |
|