| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We need to pass the mountpoint and the chroot in separately so everything
doesn't end up under /mnt/sysimage. Doing that results in the contexts
being set to mnt_t, which causes all sorts of problems on reboot.
|
|
|
|
|
|
|
| |
This patch makes resetFileContext return the context (a string)
on success, and None on failure. This fixes the "set SELinux
context for newly mounted ..." log messages to actually show
the context set.
|
| |
|
|
|
|
|
|
|
| |
This parameter basically means a protected partition cannot be modified or
deleted, but can be dealt with on a read-only basis. Right now, the only
time we need that is so the hdiso install source can be written out to
/etc/fstab.
|
|
|
|
|
| |
In the live install, having things mounted leads to tracebacks.
This isn't really fool-proof, but it should help
|
|
|
|
|
|
|
| |
We never change the release number when making a release from git, but
it would be useful to start having the dist tag in the release field so
when people report bugs we can easily identify the product they are
using.
|
|
|
|
|
|
| |
In kickstartNetworkUp(), call is_nm_connected() to see if we are in
NM_STATE_CONNECTED. If we are in any other state, prompt for network
configuration and start NetworkManager.
|
| |
|
|
|
|
|
| |
The real fix for this would involve removing one of the two upgrade checks
we have, but that's too much too soon to the final release of F11.
|
| |
|
|
|
|
|
|
| |
Remove the chunk of code that sortds bind mounts to the end. It appears
to be completely bogus, and certainly breaks mounting of /dev during
installation.
|
|
|
|
| |
Fixes a traceback on upgrade.
|
|
|
|
|
|
|
|
| |
If the device contains a valid partition table we do not care what else
udev tells us is there.
Once we move to optionally partitioned devices, this may no longer be
adequate logic for this type of problem.
|
|
|
|
|
|
|
|
| |
(#496343)."
This reverts commit 7d2799eb905fae1d28607ae3adf3a2929c7e6ece. I changed
the places we raise DeviceError to also raise the device path, so this
change is not necessary.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This only fixes the traceback, but not the deeper cause which
is that we are not editing original format request, but our last
request (edit), so e.g. in 2nd edit "Original filesystem type"
label and "Migrate" option are wrong (reflecting our last
request, not the original format). I added some more conditions
so that we do not display the info and do not offer migration
in such cases. Note that the checks also affect non-raid
existing partition editing in the same sense. The conditions
should be kept when the behavior is fixed.
|
|
|
|
|
|
|
| |
If you have an existing disk layout and choose custom partitioning and
want to resize an existing logical volume and filesystem, targetSize was
getting the new size value before an ActionFormatResize() was created
for the device, which resulted in a traceback.
|
|
|
|
|
|
|
| |
Make the pulsed progress windows only pulse but so quickly. The net
effect is that the filesystem creation progress window now slides back
and forth (albeit with a little much punctuation) rather than blindingly
oscillating at breakneck speed.
|
|
|
|
|
|
| |
Since all tests are either flags.cmdline.has_key() or "if
flags.cmdline.get()", we want this to be None when there's no equals
sign, rather than True.
|
|
|
|
|
|
|
| |
"nomodeset" is one of the command line options that it's very likely
you'll want post-install if you want it during install. Ergo, this
patch adds it to the list of options preserved in the normal bootloader
config file after installation.
|
|
|
|
|
|
| |
If available, use device.format.mountType instead of device.format.type
when writing out fstab. This way we write out the real fstype name, not
the UI name.
|
|
|
|
|
|
|
| |
If self._configdir and self._configname are set after
efiBootloaderInfo.__init__() is called, they're never right for EFI
systems. If we set them before, efiBootloaderInfo.__init__() only
*conditionally* overwrites them, so normal x86 is safe.
|
|
|
|
|
|
|
| |
This fix makes loaderData->stage2Data be initialized unconditionally.
Without it, we sometimes get a garbage pointer there, and that results
in a segfault (if you're lucky) in mountNfsImage when it tries to use
the data.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
On SMP ppc64 machines, we need to install kernel.ppc64 instead of
kernel-smp.ppc. There is no kernel-smp.ppc64 because that's provided by
kernel.ppc64, so skip looking for any kernel-smp package on ppc64.
|
| |
|
|
|
|
|
|
|
|
|
| |
Before starting X we set up a SIGCHLD handler to raise OSError if
Xorg dies. But if that happens, we'll skip over the code that
restores the old SIGCHLD handler, and thus the next subprocess we
run will cause anaconda to catch OSError and die.
This patch moves the signal restore code into a finally: block.
|
| |
|
| |
|
|
|
|
|
|
| |
We have to try as late as possible to identify the device that contains
the swap file to maximize the chances that the filesystem will be
mounted when we go to look for it.
|
|
|
|
|
| |
For swap files we need to know anaconda.rootPath and since we're also
using anaconda.intf it seems like time to just give in and pass anaconda.
|
|
|
|
| |
This fixes a traceback during upgrade mount.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This adds the newly established passphrase to all preexisting LUKS
devices so that the system can be booted by entering a single passphrase.
|
|
|
|
|
|
|
|
| |
In order to include these in pycryptsetup we had to create yet
another duplicate copy of execWithRedirect. This patch brings them
back into anaconda so we can easily modify them if needed until
the day when pycryptsetup has this functionality. It also allows us
to redirect the output to someplace useful for debugging.
|
| |
|
| |
|
|
|
|
| |
...but only they are reformatting the device.
|
| |
|