aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
Commit message (Collapse)AuthorAgeFilesLines
* When creating btmp, ensure the proper context. (#656928)Bill Nottingham2010-11-291-1/+1
|
* Don't use rhgb-client; it's long since deprecated.Bill Nottingham2010-11-031-4/+5
|
* Revert "add systemd services"Bill Nottingham2010-10-141-2/+655
| | | | | | This reverts commit f280984f691e0c3cbca2b31dad7a32a5c66ab51b. This will be reworked a bit and re-added.
* add systemd servicesHarald Hoyer2010-10-051-655/+2
|
* Reset btmp on boot too, if necessary (#633768, <dmach@redhat.com>)Bill Nottingham2010-09-141-2/+3
|
* Don't frob the console loglevel on boot. (#621257, #626572)Bill Nottingham2010-08-241-5/+0
| | | | | | | | 1) This didn't do anything useful prior to rsyslog, as sysklogd would reset it. 2) This overrides the kernel commandline, for people who want to temporarily reset it there 3) This actually turns messages back on out from underneath plymouth, which isn't nice. To frob the console loglevel, pass it on the kernel command line.
* Remove support for hotkey interactive startup. (#605016)Bill Nottingham2010-06-301-20/+0
| | | | | | | | It cannot work reliably as done in this way. (It's possible to do surgery to do it in plymouth itself, but not here.) Interactive startup via the 'confirm' commandline option is still available.
* Also init_crypto for encrypyed network block devices. (#605600)Bill Nottingham2010-06-231-160/+0
|
* Use /etc/system-release.Bill Nottingham2010-06-181-6/+6
|
* Always reboot on autorelabel. (#595823)Bill Nottingham2010-06-031-19/+9
| | | | | | It's not just init that could be mislabeled and cause problems; there's udev, random other command from rc.sysinit, etc. Furthermore, this avoids a problem with ending up in permissive mode.
* Use new lvm2 --sysinit option. Conflict with older lvm2. (#588777)Bill Nottingham2010-05-181-3/+1
|
* Ignore monitoring on startup. (#589037)Bill Nottingham2010-05-051-1/+1
|
* Change how we handle RAID arrays. (<dledford@redhat.com>)Bill Nottingham2010-04-091-1/+1
| | | | Conflict with older mdadm to make sure we're in sync.
* The current rawhide dmraid has proper error codes.Bill Nottingham2010-02-261-1/+1
|
* Check dmraid's return code, to catch 'no raid sets' error. (#568790)Bill Nottingham2010-02-261-1/+1
| | | | | | In future dmraid versions, all the errors ('no raid disks', etc.) will return proper error codes, so we can dispense with the string checks as well.
* Suppress bogus LVM2 warnings. (#561938, <prajnoha@redhat.com>)Bill Nottingham2010-02-161-0/+2
|
* Eliminate bunch of unnecessary stat calls and command invocations.Ville Skyttä2010-01-121-14/+14
|
* Move mdadm after dmraid. (#494821)Bill Nottingham2010-01-111-3/+3
|
* Fix indenting/whitespace.Bill Nottingham2010-01-111-25/+25
|
* Simplify various string match constructs.Ville Skyttä2010-01-071-4/+4
|
* Handle yet another random return string from dmraid.Bill Nottingham2009-11-251-1/+1
|
* Put /dev/shm in mtab too, as dracut now mounts it. (#528667)Bill Nottingham2009-10-151-0/+1
|
* dmraid can return 'no raid disks' to stdout. Handle it. (#527726, ↵Bill Nottingham2009-10-091-8/+11
| | | | <mschmidt@redhat.com>)
* Do not try and activate ISW raidsets, unless noiswmd is passed. (#524355, ↵Bill Nottingham2009-09-211-3/+5
| | | | <hdegoede@redhat.com>)
* Support rwtab and state passed from dracut initrd.Warren Togami2009-09-021-3/+3
|
* Restore context of recreated files. (#519748)Bill Nottingham2009-08-271-0/+1
|
* Fix some whitespace annoyances.Bill Nottingham2009-08-201-44/+44
|
* /selinux is not configurable. Don't pretend it is (fixes #518164)Bill Nottingham2009-08-201-10/+9
|
* Remove call to pam_console_apply.Bill Nottingham2009-08-041-3/+0
| | | | | 1) pam_console is doing it wrong. Use udev's acl support. 2) exactly what are we resetting for dynamically created udev devices?
* Use resolv.conf from dracut netboot before setting hostname. (#514801, ↵Bill Nottingham2009-07-301-0/+3
| | | | <wtogami@redhat.com>)
* Use $() instead of `` for process expansion.Bill Nottingham2009-07-301-10/+10
| | | | Adapted from <victor.lowther@gmail.com>.
* Fix dmraid partition naming (#501476, <hdegoede@redhat.com>)Bill Nottingham2009-05-261-1/+6
|
* Silence errors.Bill Nottingham2009-04-021-1/+1
|
* Fix syntax error.initscripts-8.92-1Bill Nottingham2009-04-021-1/+1
|
* Add a disk scan synchronization point with scsi_wait_scan. (#481470)Bill Nottingham2009-04-021-0/+3
| | | | | | We need to wait for scans to finish for mdadm & LVM to work (and heck, even fsck). Note that this won't necessarily fix USB, as it has an asyncrhonous delay even before it starts scanning.
* Revert mdadm changes.Bill Nottingham2009-03-311-2/+2
| | | | | This reverts commit 67e59d33e57d4c8feba356320bead2451cbb921b. This reverts commit fcc54b6f014c63b64e37b0d63d871f344385da84.
* Handle multiple IP addresses without choking in the stateless code. (#443945)Bill Nottingham2009-03-231-2/+3
| | | | | If you have multiple addresses that resolve to different things, it will still be unpredictable. In which case... set your hostname yourself.
* Catch the right return code from asking for the password. (#483269, ↵Bill Nottingham2009-03-201-1/+3
| | | | <vladis.kletnieks@vt.edu>)
* Fix raid auto-assembly (with corresponding mdadm changes). (#488038)Bill Nottingham2009-03-181-2/+2
|
* Fix various issues with dmraid handling (#485895, <hdegoede@redhat.com>)Bill Nottingham2009-03-041-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 Nottingham2009-03-031-1/+1
|
* Fix switching from targeted to MLS policy (#479054, <dwalsh@redhat.com>)Bill Nottingham2009-01-061-1/+1
|
* Nothing uses $(uname -r) or $(uname -m) any more in rc.sysinit - don't set them.Bill Nottingham2009-01-051-2/+0
|
* Remove /.suspended as well on boot (#270861)Bill Nottingham2008-12-161-2/+3
|
* blkid has a -l option to pick a single device. Use it. (#470027)Bill Nottingham2008-11-051-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 Nottingham2008-10-311-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 Nottingham2008-10-171-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 Nottingham2008-10-171-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 Nottingham2008-10-141-0/+3
|
* Revert "Explicitly load dm-crypt until we can fix cryptsetup."Bill Nottingham2008-09-301-1/+0
| | | | This reverts commit 2c55e1c2d7f4ee82aa0af9bfebfee889236c56bf.