| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
so the user knows what's going on and doesn't get a blank screen.
|
| |
|
|
|
|
|
| |
This is because we use the system syslog on live installs instead of
starting our own with its own special file locations.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This patch also moves rootPassword into Users where it belongs and auth
into Security where it belongs.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
anaconda.ksdata is only non-None if there's a kickstart file, just like
anaconda.isKickstart would be. Therefore, we don't need two variables
to test for the same condition.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This is yet another way of running anaconda that gets extremely limited use,
no testing, and no consideration during development to making sure it still
works. Again, we need to stop pretending and get rid of modes that we don't
support.
|
|
|
|
|
|
|
| |
This hasn't worked since the switch to python-meh, though it's looked like
it has worked. Before, dumpState would cause an exception because it hadn't
been adapted to python-meh. This exception would then get written out as
/tmp/anaconda-tb-*, which made dumpState look like it worked.
|
|
|
|
|
|
| |
When we dump the anaconda object in python-meh, the object won't be named
"anaconda". It'll be named "obj". python-meh will stick that on the front
of every attribute, so we need to remove "anaconda".
|
|
|
|
|
|
|
| |
Remove the ANACONDAVERSION environment variable and embed the version
number at build time. The isys.getAnacondaVersion() function returns
the version number to Python code. If need be, it can be extended to
libisys.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This involves getting rid of most of the real code out of this file, adding a
minimal subclass of the ExceptionHandler class to do the copying and pdb setup
anaconda needs, and calling the install method from within anaconda. We also
need to no longer call handleException from elsewhere in anaconda. That method
no longer exists.
|
|
|
|
| |
Just auditing the world for clarity, don't mind me.
|
|
|
|
|
|
| |
Also decrease yum debug log detail.
Related commit introducing yum.log is
96999a5ba329b41bf555ab945a4749755b97c974.
|
|
|
|
|
|
| |
Include /proc/cmdline in exception dumps so that we can see
what arguments people are trying to pass without having to
ask every single time.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes two problems with how we determine tracebacks are the same based
on filename comparisons:
(1) Comparisons between python files on i386 and x86-64 tracebacks fail because
/usr/lib and /usr/lib64 are different, even though the files themselves are the
same.
(2) Comparisons between python files on the running system and in /tmp/updates
fail obviously. This is a little less concerning to fail on, but since the
lines of code are likely to change in an updates.img, duplicates should still
work properly.
|
|
|
|
|
|
|
| |
The __str__ method on a KickstartParser will cause the whole object to be printed
out as a kickstart file. This means we have no chance to exclude certain
sensitive pieces of information. It would be better for us to not see the ksdata
at all than to see passwords.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
exception.py:
- Remove unused partedUtils import.
- Collect things from storage, not partitions.
gui.py:
- exceptionDisks is in storage now, not diskset.
installclasses/rhel.py:
installclasses/fedora.py:
- setDefaultPartitioning take storage arg, not partitions.
iw/autopart_type.py:
- Find things in storage, not partitions.
iw/bootloader_main_gui.py:
iw/osbootwidget.py:
- Remove unused partedUtils import.
- Find fsset in storage now.
- Use storage, not diskset, for iterating over disks/partitions.
iw/lvm_dialog_gui.py:
- Fix several typos from the original storage update.
iw/partition_gui.py:
- Find unusedMDMembers in storage, not partitions.
iw/partitionui_helpers_gui.py:
- Use StorageDevice.minSize,maxSize for resize limits.
- Update doUIRAIDLVMChecks to use new storage module.
packages.py:
- Use new storage module to list vgs for selinux hack.
storage/__init__.py:
- Fix FSSet.createSwapFile so it creates the file on the
correct device.
storage/iscsi.py:
- Use new storage module to identify iscsi disks.
textw/partition_text.py:
textw/upgrade_text.py:
- Initial update to use new storage module.
yuminstall.py:
- Use storage module to find space for upgrade transaction.
- Use storage module to locate protected partitions to mount
in doPreInstall.
|
| |
|
| |
|
| |
|
|
|
|
| |
This function is just a pass-through for isys.readFSType().
|
| |
|
| |
|
|
|
|
|
| |
This is the patch Chris posted, modified to use
inspect.stack to generate the traceback.
|
|
|
|
|
|
|
|
|
|
| |
This allows us to generate traceback-like stacks on demand
using inspect.stack(). stack() returns a list of tuples
representing the stack frames at the time of invocation. A
traceback object can be converted to a list of these
tuples by calling inspect.getinnerframes(tb). NOTE: the
stack() function returns the frames in the opposite order
of a traceback's.
|
| |
|
| |
|
|
|
|
|
|
| |
This is useful because the status_whiteboard can be used for other things -
like NEEDSRETESTING. Our old search doesn't take this into account and will
therefore fail to find dupes if the whiteboard contains something else.
|
|
|
|
|
|
|
|
|
|
| |
Prerelease version of Fedora sometimes get version numbers in .treeinfo or
.buildstamp like 10-Beta. However, this version does not exist in bugzilla so
we get an error trying to save the bug. This could also happen in respins.
So, grab a list of all the versions that are valid for the product out of
bugzilla and make sure productVersion exists. If not, either use the
develVersion from the installclass or just use the last one out of the the
list.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|