| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Resolves: rhbz#836307
|
| | |
| | |
| | |
| | |
| | |
| | | |
When F12 (the global default continue hotkey) is pressed the button
value is None. But we still want to process the details when this
happens. The use of bool here makes it a little easier to read.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
snack/newt returns None for a button if F12 is pressed which is a global
default. There can be passphrase data in the box when this happens and
we should read it. The only time we should ignore anything in the box
is if the user has explicitely pressed the cancel button. If the
passphrase box is empty but the user pressed F12 we still handle that
correctly as an implicit cancel.
|
| | |
| | |
| | |
| | |
| | |
| | | |
/etc/zipl.conf is written by anaconda when we install the boot loader.
Because we mess with it, we have to reset the selinux context on it
before rebooting.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If a kickstart pre/post fails we read the logfile and add it to the
anaconda log. This doesn't work well for device nodes like /dev/console
so skip reading the log it isn't a regular file.
Resolves: rhbz#835563
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Forced reboot just kills processes without shutting units/services
down. In case of NetworkManager.service this terminating of NM is racing
with that of dhclient. If dhclient dies first, NM brings down respective
connection which - if used by NFS mounted in dracut (e.g. for repo=nfs:
repo=nfsiso: installs) - causes hang when systemd umounts filesystems.
Resolves: rhbz#818581
|
| | |
| | |
| | |
| | |
| | | |
If zipl doesn't succeed, the install won't reboot when finished. This
is not an acceptable situation.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
execWithCapture normally doesn't care about non-zero exits in called
processes. In some cases (most?) this is preferred. In few cases we do
actually care about the success or failure of the execution. "fatal"
provides a boolean that will allow callers to decide if they care or
not.
An OSError is raised because there is already code to catch that in the
except section.
Related: rhbz#730023
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Device formats have both a type and mountType property. The mountType
property has a fallback of reading the _type attribute, if _mountType
isn't set. But when we're migrating filesystems, the _mountType will
have already been set, so just modifying _type won't effect any code
looking at mountType. This can lead to the wrong data being written out
to say /etc/fstab.
|
| | | |
|
| | |
| | |
| | |
| | | |
This is mostly code that was in vnc.py as well as anaconda itself.
|
| | |
| | |
| | |
| | |
| | | |
If your disk is read-only, we're just going to flat out ignore it and
not offer it to you for anything.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
swapon creates a table using 1 B for each page in the swap. Therefore when a
huge swap (e.g. 500 GB) is created, swapon fails with ENOMEM, because it
is using vmalloc that allocates a continuous memory. Thus we need to limit the
maximum size of swap partitions. And since we don't know the strict limit, let's
use 128 GB that seems to work and should be enough for everybody.
(ported 35679a70eab52b3b040a61fce9d0e43dbb977c98 from rhel6-branch)
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We were using an algorithm that suggested the swap size as 2 GB + size of
RAM, but this resulted in huge swaps on machines with a lot of RAM. The new
algorithm comes from the discussion with other teams.
(ported 84b3444a277b73abeaddf7d4b186a79569eb56d2 from rhel6-branch)
(ported 37415063594d00c896ff3c50496582f0c4e9e3d9 from rhel6-branch)
|
| | |
| | |
| | |
| | | |
Related: rhbz#823086
|
| | |
| | |
| | |
| | |
| | |
| | | |
The "-f" option keeps former naming with "-fcoe" suffix.
Resolves: rhbz#823086
|
| | |
| | |
| | |
| | | |
Resolves: rhbz#830756
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These kind of devices, when qla4xxx.ql4xdisablesysfsboot=1,
is discovered by anaconda/udev as iscsi device yet it can not
be handled by iscsiadm so we need to treat it specially.
Resolves: rhbz#823810
|
| | |
| | |
| | |
| | |
| | |
| | | |
Set NM_CONTROLLED to "no" and pass ip= and ifname= parameters to dracut.
Resolves: rhbz#819132
|
| | |
| | |
| | |
| | |
| | |
| | | |
This adds the -a option to makeupdates, it will expand the contents of
an rpm into the root of the updates image. This overlays the installer's
root filesystem, allowing any file to be updated.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
(cherry picked from commit 3f1abc384736f0e105b46612e0601a50784a9528)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rule #1 of Computing: It Works Better When You Turn It On.
Make anaconda.target request anaconda-cleanup-initramfs.service so it
actually gets started.
|
| | |
| | |
| | |
| | | |
Forgot to add it to the specfile, so builds failed. Whoops.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Multiple threads drawing in a Gtk.main loop cause Gtk crash. To prevent such
crashes, we need to run exception handling dialogs in the same thread as the
main loop (if running).
|
| | |
| | |
| | |
| | | |
UserInterface object no longer has the __del__() method.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
python-meh has its own methods, but we have our own exception handling code
(inherited from the python-meh's one) that needs access to both python-meh
UI and anaconda UI. Hence anaconda's UIs need a mainExceptionWindow and
saveExceptionWindow methods calling the python-meh's ones (GUI or TUI).
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This means you get the whatever-support group installed if you have the
whatever language selected during installation.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds a new logfile for packaging (/tmp/packaging.log) which will
contain everything related to yum and rpm as well as other package
systems when they are added. This also re-adds logging of the rpm
scriptlet output.
The 'Installing ...' messages end up being logged twice. Because rpm
only logs to a file we capture the scriptlet output along with the
package install message so that you can associate scriptlet problems
with their package. This adds this file's log to our logs after the
transaction is complete (or fails).
|
| | |
| | |
| | |
| | |
| | |
| | | |
The second instance of rsyslog is not needed, and it interferes with
virtio logging. The yum and rpm file io logging will be dealt with
in another patch.
|
| | |
| | |
| | |
| | |
| | | |
This patch looks scarier than it is, laregely because it requires unindenting
a bunch of code to not have a rescue mode test involved.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is still just the existing newt rescue mode interface, but with adding
advanced devices removed (requires other code that no longer exists). Of
course, this all needs to be removed and replaced by something that does not
use newt in the future but for now, it's enough of a stop-gap to fulfill
release requirements.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is needed to have it work in the rescue mode interface, though it has
not yet been tested due to the difficulty of testing an updates image without
active networking.
|
| | |
| | |
| | |
| | |
| | | |
All upgrading will be handled by an external process, and this gets rid of
callers to some storage functions that I need to make rescue mode work again.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
log to syslog as well as /mnt/sysimage/root/install.log so that virtio
and remote logging see the progress of the install.
|
| | |
| | |
| | |
| | |
| | | |
The rsyslog template for forwarding logs over virtio was lost when
loader was removed.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Keep the yum cache instead of deleting it and re-downloading it.
This saves time and bandwidth, and also helps reduce memory since / is
on a ram backed device-mapper device.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
We need to require a newer (Gtk3) version of python-meh.
|
| | |
| | |
| | |
| | |
| | | |
People usually don't know that 'continue' command quits the debugger,
so display them a little hint.
|
| | |
| | |
| | |
| | |
| | | |
Killing ananconda left no way to report a bug via python-meh/libreport
once user entered the post-mortem pdb session.
|