Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix raid auto-assembly (with corresponding mdadm changes). (#488038) | Bill Nottingham | 2009-03-18 | 1 | -2/+2 | |
| | ||||||
* | Fix various issues with dmraid handling (#485895, <hdegoede@redhat.com>) | Bill Nottingham | 2009-03-04 | 1 | -8/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've been doing a lot of work on mkinitrd's dmraid support lately some of the lessons learned there also apply to the activation of (not used for /) dmraid arrays in rc.sysinit, this will esp. help the livecd proerly activating and using dmraid sets. The patch fixes the following issues: 1) rc.sysinit (and mkinitrd used to) calls dm_resolve_name() on the output of dmraid, this is not necessary as dm_resolve_name is only needed when the name is /dev/dm-#, it is actually harmful as dm_resolve_name sometimes fails when used like this, causing us to fail to activate dmraid sets 2) rc.sysinit does not remove the partitions from the raw disks used in a raidset the initrd used to use special nash functionality to tell the kernels to forget about the partitions of the raw disks it had scanned at boot. The issue here is, say we have a mirror of sda and sdb, and that mirror has 2 partitions. Then the kernel when scanning the raw disks will find sda1,sda2,sdb1,sdb2. But we do not want anything using those, they should use the devicemapper versions as those are mirrored! I've even seen mounting by LABEL / UUID do the wrong thing by using the raw partitions instead of the raidset partitions. I've recently done a patch to dmraid adding a --rm_partitions cmdline option which makes dmraid do the ioctl which makes the kernel forget about the partitions of the rawdisk (which in turn makes udev remove the device nodes). This way we no longer need the nash magic. Part of my rc.sysinit patch is adding --rm_partitions to the dmraid invocation 3) rc.sysinit uses dmraid -p, which tells dmraid to not setup device maps for the partitions of the raidset and then kalls kpartx to setup the device maps for the partitions. This can be simplified by removing the -p argument to dmraid 4) with all these changes in place there is no longer a reason to loop, a single dmraid invocation is enough. p.s. AFAIK with this patch the last user of dm_resolve_name is gone, so that function can be removed. Better check twice though. | |||||
* | Fix typo. (#487926) | Bill Nottingham | 2009-03-03 | 1 | -1/+1 | |
| | ||||||
* | Fix switching from targeted to MLS policy (#479054, <dwalsh@redhat.com>) | Bill Nottingham | 2009-01-06 | 1 | -1/+1 | |
| | ||||||
* | Nothing uses $(uname -r) or $(uname -m) any more in rc.sysinit - don't set them. | Bill Nottingham | 2009-01-05 | 1 | -2/+0 | |
| | ||||||
* | Remove /.suspended as well on boot (#270861) | Bill Nottingham | 2008-12-16 | 1 | -2/+3 | |
| | ||||||
* | blkid has a -l option to pick a single device. Use it. (#470027) | Bill Nottingham | 2008-11-05 | 1 | -4/+4 | |
| | | | | | | Notably, it prioritizes RAID/DM/LVM, etc. over the underlying block devices. Given that initial RAID0 members share a UUID with the RAID device itself, we need that. | |||||
* | Properly handle multiple DM devices when checking for slaves. (#462371, ↵ | Bill Nottingham | 2008-10-31 | 1 | -3/+7 | |
| | | | | | | | <wwoods@redhat.com>) Also, do some manipulation of the device name to (hopefully) handle things like /dev/cciss/c0d0p1, and other devices with nested /dev hierarchies. | |||||
* | Don't check that the device exists. | Bill Nottingham | 2008-10-17 | 1 | -2/+0 | |
| | | | | Checking whether or not it's a block device already covers that. | |||||
* | Don't set up a device that's already a device-mapper slave. | Bill Nottingham | 2008-10-17 | 1 | -0/+4 | |
| | | | | It's possible the initrd set the device up under a different LUKS name. | |||||
* | Explicitly run mdadm on boot to catch degraded arrays. (<dledford@redhat.com>) | Bill Nottingham | 2008-10-14 | 1 | -0/+3 | |
| | ||||||
* | Revert "Explicitly load dm-crypt until we can fix cryptsetup." | Bill Nottingham | 2008-09-30 | 1 | -1/+0 | |
| | | | | This reverts commit 2c55e1c2d7f4ee82aa0af9bfebfee889236c56bf. | |||||
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/initscripts | Bill Nottingham | 2008-09-30 | 1 | -0/+1 | |
|\ | ||||||
| * | Explicitly load dm-crypt until we can fix cryptsetup. | Bill Nottingham | 2008-09-30 | 1 | -0/+1 | |
| | | | | | | | | cryptsetup should do this, by all rights. But it does not. | |||||
* | | Explicitly load dm-mod. | Bill Nottingham | 2008-09-30 | 1 | -0/+5 | |
|/ | | | | | | | We do need to explicitly load dm-mod for older kernels, because the various tools won't necessarily do it. *sigh* Reverts a chunk of 2285e2f27e1f9dce216a8b8791bd4f4237bdff80. | |||||
* | Remove hardcoded device-mapper goo. | Bill Nottingham | 2008-09-18 | 1 | -12/+0 | |
| | | | | | 1) Loading dm-mirror, or dm-crypt, or whatever, will load it anyway. 2) We have udev. It creates device nodes. Why are we doing it by hand? | |||||
* | https://bugzilla.redhat.com/show_bug.cgi?id=433702 | Harald Hoyer | 2008-09-16 | 1 | -12/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to init scripts to better support stateless: --rc.sysinit-- - don't update mtab in a r/o root - mount on sys and /dev/pts returns EBUSY on a readonly root - [ -n $CLIENTSTATE ] is always returning true, causing an unnecessary timeout --network-- - /etc/mtab may not have any mount information in the readonly-root cause, but the root mount is likely to be a network mount. Without this, nfs hangs the reboot process. --halt-- - don't try and update a read-only mtab --rwtab-- - /var/empty/sshd/etc/localtime needs to be overwritten by sshd at startup - /var/lib/random-seed is written to at shutdown; this fixes the error but doesn't return the functionality lost in a r/o /var/lib. | |||||
* | Plymouth updates. (#460702, <rstrode@redhat.com>) | Bill Nottingham | 2008-09-10 | 1 | -9/+21 | |
| | ||||||
* | Use 0.0.0.0/0, not 0/0. (#460580) | Bill Nottingham | 2008-09-03 | 1 | -1/+1 | |
| | | | | Updated iproute doesn't like the old syntax. | |||||
* | Don't use -L. (#458652, #458504) | Bill Nottingham | 2008-08-22 | 1 | -1/+1 | |
| | ||||||
* | Properly hide the plymouth splash if needed. | Bill Nottingham | 2008-07-28 | 1 | -8/+10 | |
| | | | | Also, remove some old rhgb code. | |||||
* | remove references to static dmraid/multipath binaries (#453987) | Bill Nottingham | 2008-07-03 | 1 | -5/+5 | |
| | ||||||
* | Remove commented-out code | Bill Nottingham | 2008-06-20 | 1 | -3/+0 | |
| | ||||||
* | Fix /dev/pts mountinitscripts-8.78-1 | Bill Nottingham | 2008-06-20 | 1 | -0/+3 | |
| | ||||||
* | Don't export GRAPHICAL - plymouth is for all modes. | Bill Nottingham | 2008-06-19 | 1 | -18/+0 | |
| | | | | Don't try to start rhgb. | |||||
* | Revert "Remove rhgb support." | Bill Nottingham | 2008-06-19 | 1 | -6/+41 | |
| | | | | This reverts commit c722b0ee95746aa9289efd40bbdd23a87d1e5dee. | |||||
* | Add code to set MALLOC_CHECK_ and MALLOC_PERTURB_ . | Peter Jones | 2008-06-17 | 1 | -0/+6 | |
| | | | | Add mcheck to rc.sysinit. | |||||
* | Fix typo, and don't restorecon on swap, etc. partitions (#448886) | Bill Nottingham | 2008-05-29 | 1 | -1/+1 | |
| | ||||||
* | Silence extraneous error message. | Bill Nottingham | 2008-05-23 | 1 | -1/+1 | |
| | ||||||
* | Don't try to startup crypto if we can't find the device, or if it isn't there. | Bill Nottingham | 2008-05-23 | 1 | -0/+2 | |
| | ||||||
* | Don't echo crypto stuff unless we're actually *doing* something | Bill Nottingham | 2008-05-23 | 1 | -14/+5 | |
| | ||||||
* | Remove rhgb support. | Bill Nottingham | 2008-05-13 | 1 | -42/+1 | |
| | ||||||
* | properly handle symlinks, socketsinitscripts-8.70-1 | Bill Nottingham | 2008-04-15 | 1 | -1/+1 | |
| | ||||||
* | find is now in /bin. Use it. (#192991, #244941, #432818, #442178, #239914) | Bill Nottingham | 2008-04-15 | 1 | -19/+3 | |
| | ||||||
* | Handle encrpyted LVs. (#441728) | Bill Nottingham | 2008-04-09 | 1 | -0/+7 | |
| | | | | This so needs to die. | |||||
* | Revert "Use upstart to start rhgb. Add conflict for older versions." | Bill Nottingham | 2008-03-11 | 1 | -4/+4 | |
| | | | | This reverts commit 696d91f8bacf11b543119069b46b7fbefa495e39. | |||||
* | Use upstart to start rhgb. Add conflict for older versions. | Bill Nottingham | 2008-03-11 | 1 | -4/+4 | |
| | ||||||
* | Remove bits that are now extraneous with console_init. | Bill Nottingham | 2008-02-26 | 1 | -33/+0 | |
| | ||||||
* | use udev rules to set the clock, avoiding issues with modular rtcs (#290731) | Bill Nottingham | 2008-02-01 | 1 | -40/+0 | |
| | ||||||
* | Use udev to intialize configured RAID arrays; conflict with prior mdadm | Bill Nottingham | 2008-02-01 | 1 | -6/+0 | |
| | | | | versions to ensure the correct version with the rules gets pulled in | |||||
* | keep one old copy of dmesg around (#426538) | Bill Nottingham | 2008-02-01 | 1 | -0/+1 | |
| | ||||||
* | fix syntax error. correctly. | Bill Nottingham | 2008-01-21 | 1 | -1/+1 | |
| | ||||||
* | fix syntax error (#429556) | Bill Nottingham | 2008-01-21 | 1 | -1/+1 | |
| | ||||||
* | use lvm, not lvm.static (#429222) | Bill Nottingham | 2008-01-19 | 1 | -2/+2 | |
| | ||||||
* | fix root fs check to catch 'rw,ordered,noatime,etc.' properly (#334171) | Bill Nottingham | 2008-01-10 | 1 | -2/+17 | |
| | ||||||
* | Use proper invocations for authconfig, system-config-network (#426372, | Bill Nottingham | 2008-01-10 | 1 | -4/+4 | |
| | | | | #428202) | |||||
* | - fix encrypted swap partitions with random key | Harald Hoyer | 2007-10-19 | 1 | -1/+1 | |
| | ||||||
* | don't chvt with rhgb - just whack it if we need the terminal | Bill Nottingham | 2007-10-09 | 1 | -18/+4 | |
| | ||||||
* | fix check. duh. | Bill Nottingham | 2007-10-08 | 1 | -1/+1 | |
| | ||||||
* | don't hang if someone somehow manages to get a dangling pipe in | Bill Nottingham | 2007-09-28 | 1 | -3/+3 | |
| | | | | /etc/rhgb/temp (#251219) |