summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix an infinite loop by properly iterating over the disks store (#557856).Chris Lumens2010-01-221-2/+2
|
* Sending translation for Germanjensm2010-01-221-533/+559
|
* Prevent init from telling us its story if the shutdown was planned.Ales Kozumplik2010-01-221-0/+1
| | | | | | | | dcantrell's recent change to the shutdown mechanism exposed a situation when shutdown is correctly handled but the init's exit handler still gets called and dumps its callstack, that's not desirable because (in case of an exception in python code for example) part of the useful information on the screen is scrolled out of view.
* Add a description attribute to MDRaidArrayDeviceHans de Goede2010-01-211-0/+16
| | | | | This stops us from backtracing when trying to formulate the question if we need to init the label on the array.
* Don't do exclusiveDisks checking for BIOS RAID membersHans de Goede2010-01-211-0/+1
| | | | | | | BIOS RAID members, and mdraid BIOS RAID containers are normally not in exclusiveDisks, only the sets they contain are. So do not do exclusiveDisks checking for them, as ignoring the members will result in the sets never being found.
* Fix a syntax error in filter_gui.pyHans de Goede2010-01-211-1/+1
|
* Make multipath support use device-mapper-multipath to setup mpaths.Peter Jones2010-01-212-43/+116
| | | | | Use device-mapper-multipath's "multipath" tool to find and set up multipath devices.
* Make PartitionDevice have its own teardown() when used with mpath.Peter Jones2010-01-211-0/+20
| | | | | | This makes PartitionDevice.teardown() remove device-mapper tables when appropriate, so devices using them don't have to clean up the partition and all the conditional testing that comes with that.
* Create multipath.confPeter Jones2010-01-214-500/+64
| | | | | | | | Revamp this since multipath is now writing our rules for us. Use device.serial/device.vendor/device.model where appropriate, and don't give the device a braindead mode. Also change /when/ we write the files out.
* Make sure MultipathDevice is setup correctly.Peter Jones2010-01-211-13/+10
| | | | | | Make sure exists is set when creating MultipathDevice, as well as any other ancillary data. Also revamp MultipathDevice.status since we now can create it in realtime like everything else does.
* List biosraids w/ disks and don't include them w/ md arrays in partgui.David Lehman2010-01-211-5/+5
|
* Add biosraid property and use it in MDRaidArrayDevice.partitionable.David Lehman2010-01-211-0/+10
|
* Make partitionable a property of StorageDevice instead of a plain attr.David Lehman2010-01-211-7/+10
|
* Remove the multipath name generator, it is no longer used.Peter Jones2010-01-211-14/+0
| | | | | With the move to getting mpath setup from /sbin/multipath, we no longer need to generate device names.
* Set StorageDevice.exists before calling Device.__init__Peter Jones2010-01-211-1/+1
| | | | | | | | Set self.exists in StorageDevice.__init__ before calling Device.__init__, because some Device methods use .exists and they can be called before StorageDevice.__init__ finishes. This probably needs more rethinking, but it makes things better for now.
* Add another command to .bash_history.Peter Jones2010-01-211-0/+1
| | | | | This adds "tail -f /tmp/storage.log" to .bash_history in the install environment.
* Sending translation for Polishraven2010-01-211-471/+478
|
* Sending translation for Dutchwarrink2010-01-211-470/+483
|
* Introducing a proper syslog daemon allows us to remove the syslogd stub we have.Ales Kozumplik2010-01-217-143/+93
|
* Merge branch 'forward_all'Ales Kozumplik2010-01-212-1/+27
|\
| * Python logging is talking to the syslog daemon.Ales Kozumplik2010-01-212-1/+27
| | | | | | | | | | This allows anaconda to progressively send contents of anaconda.log, storage.log and program.log to a remote machine.
* | make dracut only activate the root LV (#553295)Hans de Goede2010-01-212-4/+6
|/ | | | | | Currently we are making dracut activate the entire root containing VG, dracut-004 now has support for activating only specified LV's, this patch moves us over to that.
* New version.David Cantrell2010-01-203-287/+366
|
* Add mpath device to selection instead of its constituents.Peter Jones2010-01-201-4/+4
| | | | | If we've got an mpath device in FilterWindow, it should be added to the selection, not the constituent devices for each path.
* Make all StorageDevice-s support .vendor and .modelPeter Jones2010-01-202-13/+47
| | | | | | | | | | | | Not everything has one, but this makes them all at least show "None" instead of having to do the hasattr dance. Also, it now normally gets the info from udev rather than using parted's concatenated version (which fixes some minor UI problems as well as making it available at more places.) Also add a correct "model" method to MultipathDevice - we want to display the model for the underlying disk device, not "linux device mapper device" or whatnot.
* Add a parser for 'multipath -d' output.Peter Jones2010-01-202-0/+76
| | | | | We need to find out about multipath topology from /sbin/multipath, which unfortunately needs some parsing - it's fairly easy, though.
* Multipath members should not be added to the ignored disk list.Peter Jones2010-01-201-2/+4
| | | | | We don't want multipath members ignored (yet), because we need addUdevDevice() to act on them.
* Add udev accessor for ID_MODEL_FROM_DATABASE/ID_MODEL.Peter Jones2010-01-201-0/+4
| | | | We get model info from udev, and it's useful to expose it.
* Add udev_device_get_multipath_name().Peter Jones2010-01-202-5/+12
| | | | | Add udev_device_get_multipath_name() to find the name of a consituent's device, and also reorganize a little. Also use this in FilterWindow()
* Use mpath names instead of serials to group them.Peter Jones2010-01-201-5/+3
| | | | | Since we're using the multipath tools, we don't need to group by serial. Also don't use the name generator.
* Add an exception to use when multipath fails.Peter Jones2010-01-201-0/+3
| | | | | This adds an exception to use when multipath (and related utilities) fail.
* Add missing log_method_call()s.Peter Jones2010-01-201-0/+3
| | | | | Call log_method_call() in MultipathDevice.addParent() and Device.setupParents()
* Introduces rsylogd to anaconda (part of #524980)Ales Kozumplik2010-01-204-158/+133
| | | | | | | A proper syslog daemon allows for remote logging that includes installed system's syslog. Removes the init.c code that simulated syslog activity until now.
* Fix compile problem from 65a3c05.Ales Kozumplik2010-01-203-5/+2
|
* Remove unnecessary free from the rpmextract error handlerMartin Sivak2010-01-201-1/+0
| | | | | | libarchive lacks proper documentation of its memory management, but it seems that it takes care of freeing the memory itself. So remove the bogus free from our code.
* Fix SIGSEGV in dlabel feature (#556390)Martin Sivak2010-01-202-7/+11
| | | | | | | | g_slist_alloc is only used to create a new entry in the list and it is not needed to initialize the list (it actually inserted an empty item at the beginning of the list). Also use strdup to store a copy of the device name (+ cleanup code)
* Support ignore all/reinit all on the disk reinitialization question (#512011).Chris Lumens2010-01-192-20/+76
| | | | | | | | | | It's possible for the user to have a huge number of disks, which could result in this dialog popping up a huge number of times. Therefore, it'd be a good idea to allow the user to apply their same choice to all following times when the dialog would pop up. Note that it would be nicer to add some sort of checkbox to MessageWindow to make this more clear, but that is not exactly trivial to do.
* Handle reboot better on s390 (#533198)David Cantrell2010-01-191-31/+8
| | | | | | | | Do not install a handler for SIGINT on s390 since you can't really press Ctrl+Alt+Del there. Only handle SIGUSR1 and SIGUSR2 as handled in linuxrc.s390 (which comes from loader which comes from iutil.py). Always make sure we unmount filesystems and kill off processes, then reboot if that's requested or exit and display the halt message.
* Reset network setting input counters for IPv4 and IPv6 (#553761).David Cantrell2010-01-191-0/+2
| | | | | | | | | | | | | In loader, the manual TCP/IP configuration loop prompts the user then validates the input. Each time a particular piece of input validates, the counter is incremented. If the counter does not equal the right now at the end of the loop, we tell the user to re-enter the information correctly. But the second time around, if any input was valid the first time, it will be counted again, throwing off the count we check at the end of the loop. This patch just resets the IPv4 and IPv6 counters if we detected invalid input.
* Fix reading dasd status sysfs attribute (#536803).David Cantrell2010-01-191-1/+2
|
* Fix whitespace error that was introduced.Peter Jones2010-01-191-1/+1
|
* setStage2LocFromCmdline() shouldn't strdup so much.Peter Jones2010-01-191-34/+33
| | | | | | setStage2LocFromCmdline() doesn't need to do so much allocation just to use strtok(), which should be cleansed with fire anyway. Get rid of both.
* s390 CHPID types must be treated in hex for lookup table to work (#552844)Steffen Maier2010-01-182-4/+4
|
* Fixed the setting of LD_LIBRARY_PATH in rescueMartin Gracik2010-01-181-1/+3
| | | | | | | | The hardcoded setting of LD_LIBRARY_PATH was not taking into consideration if there are lib or lib64 directories, and was also overwriting everything loader put there before. Changed to just prepend "/mnt/sysimage" to the directories we already have in the path.
* Use StorageError insead of enumerating all the different storage errors.Peter Jones2010-01-151-1/+1
| | | | | | devicetree.teardownAll() often causes storage errors which all get ignored, but we've been enumerating them individually. use their superclass instead.
* Get rid of "stage2param" in parseCmdLineFlags(); it is unused.Peter Jones2010-01-151-4/+2
| | | | | stage2param is set in parseCmdLineFlags, but it's not actually used for anything. Take it out.
* Make clearDisksWindow use device.model not device.partedDevice.modelPeter Jones2010-01-151-1/+1
| | | | | StorageDevice and all its heirs have device.model so it can be subclassed; use it.
* Include device-mapper-multipath in stage2.imgPeter Jones2010-01-151-3/+9
| | | | This puts /sbin/multipath and related utilities in install.img.
* Load all scsi_dh_* modules, since they can't be modprobe by aliases...Peter Jones2010-01-151-0/+51
| | | | | | Load all scsi_dh_* modules. These know how to bind to scsi targets, and which devices to bind to, so this will really only effect people with those targets.
* Display the first filter notebook page that has any disks on it.Chris Lumens2010-01-151-0/+11
| | | | | | We used to be always showing page 0, but it's possible there are no basic devices in the system. The result is you staring at a blank page. Instead, we should show whichever page has something on it to see.