aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
Commit message (Collapse)AuthorAgeFilesLines
* fixed "Determine reboot/halt via existing INIT_HALT environment variable. ↵Harald Hoyer2009-05-141-1/+1
| | | | (#475006)"
* return of rawdevices stuffBill Nottingham2009-05-141-0/+80
|
* add md activation before lvm/device-mapper in netfs (#480627)Harald Hoyer2009-05-041-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 Nottingham2009-05-041-1/+1
| | | | (#481794, <sprabhu@redhat.com>)
* Bring up ipsec interfaces last. (#481733)Bill Nottingham2009-05-041-8/+16
|
* Determine reboot/halt via existing INIT_HALT environment variable. (#475006)Bill Nottingham2009-05-041-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 Nottingham2009-05-041-3/+2
| | | | (#471944)
* add proper return codes for /etc/init.d/network (#481002)Bill Nottingham2009-05-041-1/+7
|
* Use the pidfile before running pidof in status(). (#440658)Bill Nottingham2009-05-041-4/+6
| | | | This matches the behavior of killproc.
* Don't mkswap on halt (#469823)Bill Nottingham2008-11-101-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=433702Harald Hoyer2008-09-162-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=452866Harald Hoyer2008-09-161-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=447928Harald Hoyer2008-09-161-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 Nottingham2008-03-031-1/+1
| | | | #435358, <pjones@redhat.com>)
* added needed __readlink functionHarald Hoyer2008-02-071-0/+4
|
* fix netconsole init script statusBill Nottingham2007-08-071-9/+7
|
* - init.d/halt: don't shut down the network in kexec (#223932, ↵r8-45-16-ELBill Nottingham2007-06-221-1/+1
| | | | <mchristi@redhat.com>)
* - add support for VLAN_PLUS_VID_NO_PAD vlans (#229285)Bill Nottingham2007-06-221-2/+2
|
* add netconsole init script (#223742)Bill Nottingham2007-04-161-0/+147
|
* - don't unmount network file systems (#217625)r8-45-10-ELBill Nottingham2006-11-291-1/+1
|
* fix or_IN and similar locales (#212438)Bill Nottingham2006-10-261-15/+1
|
* don't write to gdmfifoBill Nottingham2006-09-271-1/+0
|
* pass path to '.' always (#206035)Bill Nottingham2006-09-111-1/+1
|
* - "<<<" doesn't work without a read-write filesystem. No, I'm serious.Peter Jones2006-08-311-4/+3
|
* - make resolve_dm_name ignore core logger block size when comparing rulesPeter Jones2006-08-311-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 Nottingham2006-08-251-1/+1
|
* don't umount /dev/root<foo> (<oblin@mandriva.com>)Bill Nottingham2006-08-171-1/+1
|
* catch more errors from dmraid (#200683)Bill Nottingham2006-08-071-1/+1
|
* run multipath on netdev devices (#180977)Bill Nottingham2006-08-011-0/+7
|
* Use /proc/mounts instead of /etc/mtab (via mount), to handle mount --rbindMiloslav Trmac2006-07-301-2/+4
| | | | (#198426)
* Consistently exclude backup files when globbingMiloslav Trmac2006-07-272-5/+16
|
* deref symlinks in get_numeric_devBill Nottingham2006-07-211-1/+1
|
* quick quiz - which makes more sense, when entering single user mode:Bill Nottingham2006-07-201-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 Nottingham2006-07-201-4/+9
|
* don't bring down the network if root is on nfs / _netdevBill Nottingham2006-07-111-1/+9
|
* /etc/mtab doesn't have commentsBill Nottingham2006-07-111-1/+1
|
* don't shut down network interfaces (for iscsi)Bill Nottingham2006-07-111-1/+1
|
* Fix garbled output of rc.sysinit in rhgb (#192604, patch by Tony NelsonMiloslav Trmac2006-07-091-1/+1
| | | | <tonynelson@georgeanelson.com>)
* Fix daemon --pidfile=... (#195341, patch by Steven AugartMiloslav Trmac2006-06-171-1/+1
| | | | <saugart@mazunetworks.com>)
* Clarify killproc usage message (#193711)Miloslav Trmac2006-06-051-1/+1
|
* Add encrypted swap and non-root filesystem support (#127378, based onMiloslav Trmac2006-06-011-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 itBill Nottingham2006-05-231-1/+1
|
* Fix handling of mount points with white space (#186713):Miloslav Trmac2006-05-083-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 Trmac2006-04-181-0/+2
|
* fix redirect (#187505)Bill Nottingham2006-04-031-1/+1
|
* (failure, passed, warning, action): Make variables local, fixes runningMiloslav Trmac2006-03-271-3/+5
| | | | quotacheck after fsck has repaired something (#168118).
* (killproc): Respect -p when removing the pid fileMiloslav Trmac2006-03-271-1/+1
|
* Add support for DHCP on bridges (#125259, original patch by Anders KaseorgMiloslav Trmac2006-03-271-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 Trmac2006-03-191-6/+9
|
* Minor cleanups (#173574):Miloslav Trmac2006-03-191-23/+6
| | | | | - Don't duplicate unset - Remove two (eval `grep ...`) instances