Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | functions:daemon(): do not clear environment by the login shell | Bill Nottingham | 2010-09-13 | 1 | -1/+1 |
| | | | | | | | Do not start a login shell, when switching users with runuser, so that existing environment variables are not removed. https://bugzilla.redhat.com/show_bug.cgi?id=564093 | ||||
* | fixed "Determine reboot/halt via existing INIT_HALT environment variable. ↵ | Harald Hoyer | 2009-05-14 | 1 | -1/+1 |
| | | | | (#475006)" | ||||
* | return of rawdevices stuff | Bill Nottingham | 2009-05-14 | 1 | -0/+80 |
| | |||||
* | add md activation before lvm/device-mapper in netfs (#480627) | Harald Hoyer | 2009-05-04 | 1 | -0/+3 |
| | | | | | add md activation before lvm/device-mapper in netfs, as is currently done in rc.sysinit | ||||
* | Don't unmount the nfsd filesystem when unmounting nfs client mounts. ↵ | Bill Nottingham | 2009-05-04 | 1 | -1/+1 |
| | | | | (#481794, <sprabhu@redhat.com>) | ||||
* | Bring up ipsec interfaces last. (#481733) | Bill Nottingham | 2009-05-04 | 1 | -8/+16 |
| | |||||
* | Determine reboot/halt via existing INIT_HALT environment variable. (#475006) | Bill Nottingham | 2009-05-04 | 1 | -1/+1 |
| | | | | No more magic files needed. In fact, I'm not sure they ever were. Whoops. | ||||
* | Don't say that we're shutting off crypto if we aren't actually doing it. ↵ | Bill Nottingham | 2009-05-04 | 1 | -3/+2 |
| | | | | (#471944) | ||||
* | add proper return codes for /etc/init.d/network (#481002) | Bill Nottingham | 2009-05-04 | 1 | -1/+7 |
| | |||||
* | Use the pidfile before running pidof in status(). (#440658) | Bill Nottingham | 2009-05-04 | 1 | -4/+6 |
| | | | | This matches the behavior of killproc. | ||||
* | Don't mkswap on halt (#469823) | Bill Nottingham | 2008-11-10 | 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. | ||||
* | https://bugzilla.redhat.com/show_bug.cgi?id=433702 | Harald Hoyer | 2008-09-16 | 2 | -4/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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=452866 | Harald Hoyer | 2008-09-16 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | The _netdev option is used in /etc/fstab to mark devices that depend on the network for operation. This causes the initscripts to defer mounting file systems located on these devices until the network is brought up and the netfs initscript runs. Device nodes for these devices (nbd, gnbd, iscsi etc.) are created by udev once the appropriate subsystem is started. Processing of the udev backlog may not have completed by the time the netfs script runs causing failures to occur when attempting to mount file systems. This can happen when there are a large number of devices or when device initialisation is slow. This is fixed by adding a udevsettle to the start() function in netfs. | ||||
* | 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 | ||||
* | - also skip network shutdown if there is a '_rnetdev' root device (part of ↵ | Bill Nottingham | 2008-03-03 | 1 | -1/+1 |
| | | | | #435358, <pjones@redhat.com>) | ||||
* | added needed __readlink function | Harald Hoyer | 2008-02-07 | 1 | -0/+4 |
| | |||||
* | fix netconsole init script status | Bill Nottingham | 2007-08-07 | 1 | -9/+7 |
| | |||||
* | - init.d/halt: don't shut down the network in kexec (#223932, ↵r8-45-16-EL | Bill Nottingham | 2007-06-22 | 1 | -1/+1 |
| | | | | <mchristi@redhat.com>) | ||||
* | - add support for VLAN_PLUS_VID_NO_PAD vlans (#229285) | Bill Nottingham | 2007-06-22 | 1 | -2/+2 |
| | |||||
* | add netconsole init script (#223742) | Bill Nottingham | 2007-04-16 | 1 | -0/+147 |
| | |||||
* | - don't unmount network file systems (#217625)r8-45-10-EL | Bill Nottingham | 2006-11-29 | 1 | -1/+1 |
| | |||||
* | fix or_IN and similar locales (#212438) | Bill Nottingham | 2006-10-26 | 1 | -15/+1 |
| | |||||
* | don't write to gdmfifo | Bill Nottingham | 2006-09-27 | 1 | -1/+0 |
| | |||||
* | pass path to '.' always (#206035) | Bill Nottingham | 2006-09-11 | 1 | -1/+1 |
| | |||||
* | - "<<<" doesn't work without a read-write filesystem. No, I'm serious. | Peter Jones | 2006-08-31 | 1 | -4/+3 |
| | |||||
* | - make resolve_dm_name ignore core logger block size when comparing rules | Peter Jones | 2006-08-31 | 1 | -4/+10 |
| | | | | | | | - slightly more readable formatting - make "line" and "newline" the same variable - kill 2 exec() calls, add 1. - shell quoting rill ROT YOUR BRANE. | ||||
* | simpify (based on a prodding from <oblin@mandriva.com>) | Bill Nottingham | 2006-08-25 | 1 | -1/+1 |
| | |||||
* | don't umount /dev/root<foo> (<oblin@mandriva.com>) | Bill Nottingham | 2006-08-17 | 1 | -1/+1 |
| | |||||
* | catch more errors from dmraid (#200683) | Bill Nottingham | 2006-08-07 | 1 | -1/+1 |
| | |||||
* | run multipath on netdev devices (#180977) | Bill Nottingham | 2006-08-01 | 1 | -0/+7 |
| | |||||
* | Use /proc/mounts instead of /etc/mtab (via mount), to handle mount --rbind | Miloslav Trmac | 2006-07-30 | 1 | -2/+4 |
| | | | | (#198426) | ||||
* | Consistently exclude backup files when globbing | Miloslav Trmac | 2006-07-27 | 2 | -5/+16 |
| | |||||
* | deref symlinks in get_numeric_dev | Bill Nottingham | 2006-07-21 | 1 | -1/+1 |
| | |||||
* | quick quiz - which makes more sense, when entering single user mode: | Bill Nottingham | 2006-07-20 | 1 | -21/+0 |
| | | | | | | | | - have 'single' start first, kill /etc/rc, and have it shut down all the services by itself - have /etc/rc kill services normally, and just run 'single' last? Yeah, I thought so. | ||||
* | Add a configurable delay for killproc() (#198429, <jorton@redhat.com>) | Bill Nottingham | 2006-07-20 | 1 | -4/+9 |
| | |||||
* | don't bring down the network if root is on nfs / _netdev | Bill Nottingham | 2006-07-11 | 1 | -1/+9 |
| | |||||
* | /etc/mtab doesn't have comments | Bill Nottingham | 2006-07-11 | 1 | -1/+1 |
| | |||||
* | don't shut down network interfaces (for iscsi) | Bill Nottingham | 2006-07-11 | 1 | -1/+1 |
| | |||||
* | Fix garbled output of rc.sysinit in rhgb (#192604, patch by Tony Nelson | Miloslav Trmac | 2006-07-09 | 1 | -1/+1 |
| | | | | <tonynelson@georgeanelson.com>) | ||||
* | Fix daemon --pidfile=... (#195341, patch by Steven Augart | Miloslav Trmac | 2006-06-17 | 1 | -1/+1 |
| | | | | <saugart@mazunetworks.com>) | ||||
* | Clarify killproc usage message (#193711) | Miloslav Trmac | 2006-06-05 | 1 | -1/+1 |
| | |||||
* | Add encrypted swap and non-root filesystem support (#127378, based on | Miloslav Trmac | 2006-06-01 | 1 | -1/+31 |
| | | | | | a patch by W. Michael Petullo <redhat@flyn.org> and Debian's cryptsetup package) | ||||
* | integrate s390 patch - just check for hwclock before running it | Bill Nottingham | 2006-05-23 | 1 | -1/+1 |
| | |||||
* | Fix handling of mount points with white space (#186713): | Miloslav Trmac | 2006-05-08 | 3 | -149/+101 |
| | | | | | | | | | | | | | - src/fstab-decode.c, src/fstab-decode.8: New files. - src/Makefile: Build and install fstab-decode. - initscripts.spec: Add fstab-decode to %files - rc.d/init.d/functions (fstab_decode_str): New function. (__umount_loop, __umount_loopback_loop): Factor out from copy&pasted copies. (action): Fix command quoting. - rc.d/rc.sysinit: Correctly quote and decode mount points. - rc.d/init.d/halt: Use __umount_* and fstab-decode. (action): Rename from runcmd. Fix command quoting. - rc.d/init.d/netfs: Use __umount_*. | ||||
* | Add NETWORKDELAY and LINKDELAY (#176851) | Miloslav Trmac | 2006-04-18 | 1 | -0/+2 |
| | |||||
* | fix redirect (#187505) | Bill Nottingham | 2006-04-03 | 1 | -1/+1 |
| | |||||
* | (failure, passed, warning, action): Make variables local, fixes running | Miloslav Trmac | 2006-03-27 | 1 | -3/+5 |
| | | | | quotacheck after fsck has repaired something (#168118). | ||||
* | (killproc): Respect -p when removing the pid file | Miloslav Trmac | 2006-03-27 | 1 | -1/+1 |
| | |||||
* | Add support for DHCP on bridges (#125259, original patch by Anders Kaseorg | Miloslav Trmac | 2006-03-27 | 1 | -10/+7 |
| | | | | | | | | | | | <anders@kaseorg.com>): - rc.d/init.d/network: Initialize bridges after bridged interfaces, deinitialize them before bridged interfaces - sysconfig/network-scripts/ifdown-eth: Destroy bridges lazily when the last bridged interface is stopped - sysconfig/network-scripts/ifup-eth: * Handle bridges before checking for module presence or wireless devices * Add bridges lazily when the first bridged interface is started | ||||
* | (status): Try the PID from the PID file if (pidof) fails (#182623) | Miloslav Trmac | 2006-03-19 | 1 | -6/+9 |
| |