aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
Commit message (Collapse)AuthorAgeFilesLines
* Use net_log where appropriate.Bill Nottingham2011-06-011-1/+1
| | | | | | | | | | Conflicts: rc.d/init.d/network sysconfig/network-scripts/ifup-aliases sysconfig/network-scripts/ifup-eth [Harald Hoyer <harald@redhat.com>: resolved conflicts]
* don't match filesystem types in hostnames (#703203, <jmueller@data-tronics.com>)Bill Nottingham2011-06-011-1/+2
|
* rc.d/init.d/network: fixed sed patch for '#' in interface namesHarald Hoyer2011-06-011-2/+0
| | | | fixed ac07916b8f0a84c62fce6c1a4094fd80caa4a687
* Add a comment explaining the oft-confused -t nox,y,z mount syntax.Bill Nottingham2011-04-191-0/+1
| | | | | | | [Harald Hoyer <harald@redhat.com>: backported 5e2b364ebd6] The 'no' applies to all listed filesystem types, not just the first. Since this comes up in bugzilla once every month or two, explicitly comment it.
* Avoid noisy output if no iscsid check during shutdown or rebootMartin Poole2011-04-191-1/+1
| | | | | | | | | | | .... Shutting down system logger: find: /sys/class/iscsi_session/: No such file or directory Shutting down interface eth0: ... Reviewed-by: Harald Hoyer <harald@redhat.com> Commited-by: Harald Hoyer <harald@redhat.com>
* Fix mishandled argument to fstab-decode. (#685137)Bill Nottingham2011-04-191-1/+1
|
* Don't do force/lazy umount for the first nfs umount. (#676851, ↵Bill Nottingham2011-04-191-2/+2
| | | | | | | | | <jlayton@redhat.com>) [Harald Hoyer <harald@redhat.com>: backport of a9b0d6b5c65] This can cause hung tasks that aren't cleaned up or killed properly, as their dangling references won't get caught.
* add # as a valid character in network device namesMatt Domsch2011-04-191-0/+2
|
* network: don't turn of net on shutdown if iscsi is runningMike Christie2010-10-131-0/+8
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=583218#c37
* Clarify description (#637176)Bill Nottingham2010-09-241-1/+1
|
* remove deprecation comments for raw devices and fix pathHarald Hoyer2010-09-131-4/+2
|
* functions:daemon(): do not clear environment by the login shellBill Nottingham2010-09-131-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 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>)