Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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. | ||||
* | Use the pidfile before running pidof in status(). (#463205) | Bill Nottingham | 2008-09-24 | 1 | -4/+6 |
| | | | | This matches the behavior of killproc. | ||||
* | Just use plymouth directly, not the rhgb-client wrapper. | Bill Nottingham | 2008-09-23 | 2 | -9/+9 |
| | | | | This fixes the fact that the semantics of --details changed. | ||||
* | Use alsactl to save sound settings. (#462677, <jkysela@redhat.com>) | Bill Nottingham | 2008-09-23 | 1 | -3/+4 |
| | |||||
* | Don't unconditionally quit plymouth from rc script. | Ray Strode | 2008-09-23 | 1 | -3/+0 |
| | | | | We need to pass different options depending on whether gdm will run or not. | ||||
* | Check that we're on a tty before trying to start a repair shell. (#463161) | Bill Nottingham | 2008-09-23 | 1 | -2/+2 |
| | | | | | | If netfs isn't running from a tty (say, from NetworkManager), the attempt to start a shell will fail, and we'll immediately fall through to rebooting. That isn't good. | ||||
* | 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? | ||||
* | Remove dead code. | Bill Nottingham | 2008-09-17 | 1 | -18/+0 |
| | |||||
* | https://bugzilla.redhat.com/show_bug.cgi?id=433702 | Harald Hoyer | 2008-09-16 | 3 | -16/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | https://bugzilla.redhat.com/show_bug.cgi?id=447928 | Harald Hoyer | 2008-09-16 | 1 | -1/+1 |
| | | | | | | | | All networking scripts from /etc/sysconfig/network-scripts call logger without full path. This can prevent system from booting if let's say dcc is installed when compiled with wrong parameters and installs /usr/sbin/logger (see bellow) It's not really a bug but this can be easily prevented. All /etc/init.d scripts use full path for logger network-scripts should use it also | ||||
* | 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. | ||||
* | Use the full path for arping. | Bill Nottingham | 2008-09-02 | 1 | -1/+1 |
| | |||||
* | Don't say that we're shutting off crypto if we aren't actually doing it. | Bill Nottingham | 2008-08-29 | 1 | -3/+2 |
| | |||||
* | 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 | 2 | -20/+10 |
| | | | | Also, remove some old rhgb code. | ||||
* | Clean up noise. | Bill Nottingham | 2008-07-09 | 1 | -2/+0 |
| | |||||
* | remove references to static dmraid/multipath binaries (#453987) | Bill Nottingham | 2008-07-03 | 2 | -7/+7 |
| | |||||
* | 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 | 3 | -30/+3 |
| | | | | Don't try to start rhgb. | ||||
* | Revert "Remove rhgb support." | Bill Nottingham | 2008-06-19 | 4 | -6/+75 |
| | | | | 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 |
| | |||||
* | Remove dead code | Bill Nottingham | 2008-05-23 | 1 | -16/+0 |
| | |||||
* | 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 |
| |