summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove previous mdadm bug 523334 workaorundHans de Goede2009-11-091-12/+1
| | | | | | Since we are no longer stopping / re-starting mdraid container arrays, we no longer need the workaround for the mdadm --stop on containers bug in the MDRaidArrayDevice teardown method.
* Don't stop mdraid containers or their arrays (#532971)Hans de Goede2009-11-091-0/+6
| | | | | | | Since BIOS RAID sets (containers in mdraid terminology) never change there is no need to stop them and later restart them. Not stopping (and thus also not starting) them also works around bug 523334, which is the cause of bug 532971.
* Include the command line to put anaconda into debugger mode in history.Peter Jones2009-11-091-1/+2
| | | | | | | | | Things being in the history means I don't have to type them. This particular thing is fairly specific to get right, so it's a really good candidate to go in there. So this patch adds it. This also changes the "killall" that's already there to use the pid file, so we know which process it'll pick.
* Allow remote(ish) debugging.Peter Jones2009-11-092-2/+14
| | | | | | This changes SIGUSR2 to start a debugger that you can telnet to on port 8080. At the moment you need to do "C-] mode char\n" in your telnet client to get it into character mode instead of line mode.
* Make sure /var/log/lastlog is there so we don't have ugly logs.Peter Jones2009-11-091-0/+2
| | | | | | Right now when you ssh in, you get errors in the log because sshd wants to interact with /var/log/lastlog. These errors will just confuse people, so create /var/log/lastlog when we start sshd.
* Sending translation for Spanishelsupergomez2009-11-091-2161/+1469
|
* Correct modopts initialization in loader (take 2) (#531932).David Cantrell2009-11-061-10/+33
| | | | | | | | | | | | | The edc665e6fa2ba71e89eb83412738622e916c3a05 commit prevented SIGSEGV but changed behavior of modopts to where we'd never get any values in modopts. What needed to happen is the else clause in addOption() needed to initalize the .options array and add in the option value. That wasn't happening, so strcat() calls in writeModulesConf() were causing SIGSEGV. This patch also adds some realloc() and malloc() checks. Tested with "radeon.nomodeset=1" and without that parameter on x86_64.
* Get rid of dead code, and fix gettimespecofday's math.Peter Jones2009-11-065-76/+2
| | | | | We've got a lot of dead code here. This removes a bunch of it. Also, it fixes gettimespecofday's math to yield the correct result.
* Don't exec without forking first when calling udevadm.Peter Jones2009-11-051-7/+32
| | | | | | Since we don't want init to exit when we call udevadm, fork first. But before we do that, may as well wait for our forked udevd to exit, so there's some chance it's listening for connections.
* If init or loader exit unexpectedly, traceback.Peter Jones2009-11-052-27/+127
| | | | | | | | | | | Currently if init exits unexpectedly, we get "Kernel panic - not syncing: Attempted to kill init!" and then a useless kernel traceback (hey, it went through do_exit()!, who'd'a thunk?) but nothing meaningful about what went wrong in init. This patch attempts to rectify this situation by adding the traceback handler from loader to init, as well as triggering it (in both loader and init) if we exit without going through a path we've specifically marked, by using doExit() instead of exit(3) or _exit(2), as not needing a traceback.
* Fix the vim magic in this file to work.Peter Jones2009-11-051-1/+2
| | | | | | This fixes the vim magic to be something it'll actually do something with. I probably got it wrong the first time, but hey, better usable than not.
* Add handling for sshpw command.Peter Jones2009-11-052-5/+28
| | | | This lets you set passwords to ssh into the anaconda environment.
* Improve createLuserConf behavior and chroot behavior in users.*Peter Jones2009-11-051-11/+60
| | | | | | | | This makes a couple of changes: - fixes bogus access test on libuser.conf in createLuserConf() - adds appropriate logging to createLuserConf() - createLuserConf returns the path it created. - Users.* no longer chroot+del LIBUSER_CONF if the new root is /
* Improve logging of ssh-keygen.Peter Jones2009-11-051-1/+6
| | | | Log stdout/stderr of each ssh-keygen invocation to its own log file.
* Remove tabs in "anaconda"Peter Jones2009-11-051-97/+99
| | | | | The tabs in this file are driving me crazy, so fix them and add the vim hint for formatting.
* pidof is a symlink to killall5, so we need that as well.Peter Jones2009-11-051-0/+1
| | | | | | If we don't have killall5, a symlink to it won't be very valuable, so it's probably not such a bad idea to include the target of the simlink that is pidof as well as the symlink itself.
* Correctly initialize modopts in loader (#531932).David Cantrell2009-11-041-10/+12
| | | | | | Under certain conditions, modopts is never initialized. This patch fixes up that while preserving the existing functionality introduced with 29e18c35.
* Increase the size of /boot a little bit (#530555).Chris Lumens2009-11-041-1/+1
|
* Modify autopart requests to include a separate /home (#150670).Chris Lumens2009-11-041-1/+4
| | | | | | | | | | | | | This modifies the default partitioning as follows: (1) For VGs <= 50 GB, we will continue to make swap and / as normal. (2) For VGs >= 50 GB, / will cap at 50 GB and /home will consume the rest. 50 GB is fairly arbitrary, and was based on the fact that an Everything install of Fedora right now is ~ 40 GB, plus some room for expansion. Very few users are likely to do an Everything install so this should provide plenty of space for upgrades and future growth. Additionally, this is only a default partitioning suggestion and can always be overridden by the user.
* Take the spec's requiredSpace into account when creating LVs.Chris Lumens2009-11-041-0/+5
| | | | | This allows us to disregard certain requests when there's not enough space in the VG for the request to make any sense.
* Add the PartSpec.__str__ method for debugging.Chris Lumens2009-11-041-1/+36
|
* Trim the inital / off the mountpoint before making an LV name from it.Chris Lumens2009-11-041-1/+5
| | | | This prevents LVs from being named things like "lv__home".
* Remove "anaconda" from attributes to skip (#532612, #532737).Chris Lumens2009-11-031-23/+22
| | | | | | 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".
* Fix status for and consolidate handling of '-' in vg/lv names. (#527302)David Lehman2009-11-031-11/+22
|
* Rename "setupShellEnvironment" to "setupSshd". That's all it does.Peter Jones2009-11-031-2/+2
| | | | | Function names should be truthful, I think. It just makes everything easier.
* Put "killall -USR2 anaconda" in a pre-populated history.Peter Jones2009-11-032-1/+8
| | | | | | Having things in .bash_history saves my fingers from pain later in life, which is a noble goal. This also puts pidof and killall in the image, because they're nice things, and we can have nice things.
* Only try to split proxy commands out if there's actually one specified.Peter Jones2009-11-031-2/+6
| | | | | If we try to regexec() on NULL it segfaults, so let's try not to do that...
* Consolidate the parsing of nfs: locations for ks= and stage2= (#529197)Stijn Hoop2009-11-033-28/+35
| | | | | | Makes sure that NFS options can be used in both parameters. Previously this was only parsed for ks= and not for stage2= using two separate code paths. Move this to a shared function in loader/nfsinstall.c.
* Copy cio_ignore kernel parameter to zipl.conf on s390 (#475675).David Cantrell2009-11-021-0/+4
| | | | | | Part of the changes necessary for #475675, we need to take the cio_ignore parameter (if it exists) given during installation and write it to the parameter list in /etc/zipl.conf on the target system.
* Do not modify /etc/hosts from setup package (#530343).David Cantrell2009-11-021-23/+0
| | | | | | | | | | Adding the user-specified hostname to the 127.0.0.1 line is breaking virt systems, among other things. I'm not entirely sure we need this functionality anymore (faking the hostname as 127.0.0.1). This reverts the changes done in 1aa67d5a2cdacd45f92ba15aa9392ba7191a49c7, but looking at the comments for #506384, you'll see the same complaints as #530343 has are present.
* In execWithCallback(), support disabling stdout echo (#528386)David Cantrell2009-11-022-6/+10
| | | | | stdout echo is on by default, add a parameter that lets us turn that off if we want to.
* Select drives in partition dialog, preserving settings. (#529931)David Lehman2009-11-021-2/+2
|
* Sending translation for Greekpkst2009-11-011-2012/+1274
|
* Clear pot and po updates after a 'make release' or 'make archive'.David Cantrell2009-10-301-0/+2
| | | | | | | | These are updated by msgfmt, but leave the po files in the repository as is since they are updated by an external project. We'll keep the pot file up to date, but that happens at 'make bumpver'. Since msgfmt generates new po files for the release tarball, we need to reset all of these files after a 'make release' or 'make archive'.
* Use the new anaconda image in fedora-logos (#529267).Jesse Keating2009-10-301-1/+1
|
* Call udev_trigger with a "change" action and don't filter out dm devices.David Lehman2009-10-301-3/+4
|
* Remove unused attr_nomatch keyword argument from baseudev.udev_trigger.David Lehman2009-10-301-4/+1
|
* Fix logging of isys mount/umount into program.log.Radek Vykydal2009-10-301-1/+1
|
* Sending translation for Dutchwarrink2009-10-301-368/+429
|
* Fix "resize failed: 1" errors for ext2/ext3/ext4 (#517491).David Cantrell2009-10-291-3/+25
| | | | | | | | | | | | | | | | The following install test case has been failing: https://fedoraproject.org/wiki/QA:Testcase_Anaconda_autopart_%28shrink%29_install The problem was with the minSize property in Ext2FS. We use resize2fs to get the minSize for ext2/3/4 filesystems, which is good because resize2fs accounts for additional things an extX volume may need. The problem is the value it reports is in blocks. We have to convert those blocks to bytes, then to megabytes, then round up to account for any fractional megabytes. Use dumpe2fs to get the block size and use resize2fs as we have been, but modify the calculation of size. Also the _setTargetSize() method in FS needed a change. minSize can be less than or equal to newsize, not just less than.
* Log why we're exiting the installer in storage.DASD.startup()David Cantrell2009-10-291-0/+1
| | | | | If the user selects Exit Installer, log a message indicating as much and then exit.
* Improve detailedMessageWindow() in text.py.David Cantrell2009-10-291-22/+22
| | | | | | Rather than use ListboxChoiceWindow(), do what ButtonChoiceWindow() does in snack, but add an additional row with a scrolling list box for longText.
* Use 'zerombr' kickstart command for DASDs needing dasdfmt (#528386).David Cantrell2009-10-292-8/+19
| | | | | | | | | If performing a kickstart install on s390, dasdfmt is only run if: a) There is a UI available to prompt the user. b) 'zerombr' is specified in the kickstart file. The zerombr command will also skip the UI if there is one. The UI prompt is a fallback.
* Add 'zerombr' to list of early kickstart commands we look for.David Cantrell2009-10-291-2/+5
| | | | | | | | zerombr is used during storage.DASD.startup() if the user is performing a non-interactive kickstart install. Since the full kickstart file is not processed until after the storage object has initialized, we need to include this flag in the early kickstart processing because it's used during the storage object initialization.
* Sending translation for Polishraven2009-10-291-491/+520
|
* New version.Chris Lumens2009-10-293-301/+413
|
* TypeError: '_ped.DiskType' object is not callable (#531730)Hans de Goede2009-10-291-4/+4
| | | | | | platform.X86.__init__ did: self.diskLabelType = foo instead of self._diskLabelType = foo. So it was overriding the method from the base class.
* Fix upgrade of GRUB with md raid boot for versions F11 and earlier.Radek Vykydal2009-10-291-0/+21
| | | | | | | | | | | | Up to F11 /dev/mdX in /etc/sysconfig/grub means that grub was installed into mbrs of all /boot md device members' disks. When upgrading grub of such a system, reinstall grub in the mbrs, and update values sysconfig file accordingly (to hold e.g. /dev/sda). Here I'm not completly sure. What if after installation the user reinstalled grub manually - restored mbrs and installed it in /dev/mdX? He wouldn't be happy with our grub update then... This is one of follow-up commits for commit 358a9a34f496fdd2b032edf12274a146b606d1a4, dealing with upgrade.
* Remove another code duplication in grub upgrade code.Radek Vykydal2009-10-292-23/+5
| | | | | This is one of follow-up commits for commit 358a9a34f496fdd2b032edf12274a146b606d1a4, dealing with upgrade.
* Remove code duplication, use fixed code from writeGrub.Radek Vykydal2009-10-291-44/+3
| | | | | This is one of follow-up commits for commit 358a9a34f496fdd2b032edf12274a146b606d1a4, dealing with upgrade.