Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support rwtab and state passed from dracut initrd. | Warren Togami | 2009-09-02 | 1 | -3/+3 |
| | |||||
* | Restore context of recreated files. (#519748) | Bill Nottingham | 2009-08-27 | 1 | -0/+1 |
| | |||||
* | Don't try and save mixer settings if it's not writable. (#515771) | Bill Nottingham | 2009-08-24 | 1 | -1/+1 |
| | |||||
* | Don't call a function that doesn't actually do anything. | Bill Nottingham | 2009-08-21 | 1 | -5/+0 |
| | |||||
* | Fix some whitespace annoyances. | Bill Nottingham | 2009-08-20 | 1 | -44/+44 |
| | |||||
* | /selinux is not configurable. Don't pretend it is (fixes #518164) | Bill Nottingham | 2009-08-20 | 1 | -10/+9 |
| | |||||
* | Remove call to pam_console_apply. | Bill Nottingham | 2009-08-04 | 1 | -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 Nottingham | 2009-07-30 | 1 | -0/+3 |
| | | | | <wtogami@redhat.com>) | ||||
* | Nuke redundant declaration of action | Victor Lowther | 2009-07-30 | 1 | -11/+0 |
| | |||||
* | Use $() instead of `` for process expansion. | Bill Nottingham | 2009-07-30 | 7 | -28/+28 |
| | | | | Adapted from <victor.lowther@gmail.com>. | ||||
* | Redirect bash errors on 'unset' to /dev/null. (#482888) | Bill Nottingham | 2009-06-18 | 2 | -2/+2 |
| | |||||
* | Fix dmraid partition naming (#501476, <hdegoede@redhat.com>) | Bill Nottingham | 2009-05-26 | 1 | -1/+6 |
| | |||||
* | Don't quote upstart signals. (#501155) | Bill Nottingham | 2009-05-19 | 1 | -4/+4 |
| | |||||
* | cgexec has moved to /bin (#495715) | Bill Nottingham | 2009-04-14 | 1 | -2/+2 |
| | |||||
* | Silence errors. | Bill Nottingham | 2009-04-02 | 1 | -1/+1 |
| | |||||
* | Fix syntax error.initscripts-8.92-1 | Bill Nottingham | 2009-04-02 | 1 | -1/+1 |
| | |||||
* | Add a disk scan synchronization point with scsi_wait_scan. (#481470) | Bill Nottingham | 2009-04-02 | 1 | -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. | ||||
* | Drop smbfs support - both the kernel module and the userspace helper are ↵ | Bill Nottingham | 2009-04-02 | 1 | -14/+2 |
| | | | | long gone. | ||||
* | Revert mdadm changes. | Bill Nottingham | 2009-03-31 | 1 | -2/+2 |
| | | | | | This reverts commit 67e59d33e57d4c8feba356320bead2451cbb921b. This reverts commit fcc54b6f014c63b64e37b0d63d871f344385da84. | ||||
* | Handle multiple IP addresses without choking in the stateless code. (#443945) | Bill Nottingham | 2009-03-23 | 1 | -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 Nottingham | 2009-03-20 | 1 | -1/+3 |
| | | | | <vladis.kletnieks@vt.edu>) | ||||
* | Fix raid auto-assembly (with corresponding mdadm changes). (#488038) | Bill Nottingham | 2009-03-18 | 1 | -2/+2 |
| | |||||
* | Support MD on iSCSI (this *SHOULD* be udev rules, but alas) (#480627) | Bill Nottingham | 2009-03-11 | 1 | -0/+3 |
| | |||||
* | cgroup support (<jsafrane@redhat.com>) | Bill Nottingham | 2009-03-06 | 1 | -2/+17 |
| | |||||
* | Fix various issues with dmraid handling (#485895, <hdegoede@redhat.com>) | Bill Nottingham | 2009-03-04 | 2 | -38/+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 |
| | |||||
* | Use the same arguments for kpartx that we do in rc.sysinit. | Bill Nottingham | 2009-02-06 | 1 | -1/+1 |
| | | | | Noticed when reviewing (#448919) | ||||
* | Use a leading path marker when sourcing files. (#482826) | Bill Nottingham | 2009-01-28 | 1 | -1/+1 |
| | | | | bash 4 breaks the prior code. | ||||
* | Don't unmount the nfsd filesystem when unmounting nfs client mounts. ↵ | Bill Nottingham | 2009-01-27 | 1 | -1/+1 |
| | | | | (#481794, <sprabhu@redhat.com>) | ||||
* | Bring up ipsec interfaces last. (#481733) | Bill Nottingham | 2009-01-27 | 1 | -8/+16 |
| | |||||
* | Return success/failure correctly from start/stop. (#480677) | Bill Nottingham | 2009-01-20 | 1 | -1/+7 |
| | |||||
* | Fix typo. (#480799) | Bill Nottingham | 2009-01-20 | 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 |
| | |||||
* | Determine reboot/halt via existing INIT_HALT environment variable. (#475227) | Bill Nottingham | 2008-12-09 | 1 | -1/+1 |
| | | | | No more magic files needed. In fact, I'm not sure they ever were. Whoops. | ||||
* | __pids_var_run: Handle multi-line pid files correctly (#473287) | Bill Nottingham | 2008-12-01 | 1 | -4/+9 |
| | | | | | | | We were only reading the first line of pid files. Given that even those first lines could have multiple pids, this *shouldn't* break anything, but there may be some scripts with multi-line pid files that aren't expecting this. | ||||
* | Tweak return codes (#242912) | Bill Nottingham | 2008-11-26 | 1 | -2/+2 |
| | | | | We'll see what breaks. | ||||
* | 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. | ||||
* | Don't mkswap on halt (#469823) | Bill Nottingham | 2008-11-04 | 1 | -2/+0 |
| | | | | | Doing so blows away any label or UUID on the partition, which makes specifying encrypted swap by label or UUID fail miserably. | ||||
* | 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. | ||||
* | Fix code that causes a syntax error on multiple cards. (#469156) | Bill Nottingham | 2008-10-30 | 1 | -2/+0 |
| | | | | | Just remove the compatibility case, and conflict with older alsa-utils that would require it. | ||||
* | Exit 0 in /etc/rc.d/rc (#469050) | Bill Nottingham | 2008-10-29 | 1 | -0/+1 |
| | | | | Avoids spurious 'rcX main process terminated with status 1' messages from upstart. | ||||
* | 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 |
| | |||||
* | Add some LSB description stuff. (#225900) | Bill Nottingham | 2008-09-30 | 1 | -0/+2 |
| | |||||
* | Add some LSB description stuff. (#225900) | Bill Nottingham | 2008-09-30 | 1 | -0/+2 |
| | |||||
* | Remove %config from init scripts, network scripts. (#225900) | Bill Nottingham | 2008-09-30 | 1 | -0/+0 |
| | | | | Also, fix permissions on rc.d/init.d/functions. | ||||
* | Revert "Explicitly load dm-crypt until we can fix cryptsetup." | Bill Nottingham | 2008-09-30 | 1 | -1/+0 |
| | | | | This reverts commit 2c55e1c2d7f4ee82aa0af9bfebfee889236c56bf. |