aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* 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
* cleanup /var/run/libvirtHarald Hoyer2009-06-161-0/+1
| | | | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=505600 libvirt-0.6.3-8.el5 now includes /var/run/libvirt/network and /var/run/libvirt/qemu so the /var cleanup script rc.sysinit needs to be extended to accommodate the additional directory depth, otherwise the user gets messages on boot about not being able to remove the files because they are directories.
* 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
* add gfs2 to rc.sysinit mount (#494963)Bill Nottingham2009-05-041-2/+2
|
* 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.
* Remove /.suspended as well on boot (#270861)Harald Hoyer2009-05-041-1/+1
|
* blkid has a -l option to pick a single device. Use it. (#470027)Bill Nottingham2008-11-101-5/+5
| | | | | | 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 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.
* Mount encrypted logical volumes during boot (#466115, Bill Nottingham)Harald Hoyer2008-11-101-0/+7
|
* https://bugzilla.redhat.com/show_bug.cgi?id=433702Harald Hoyer2008-09-163-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=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 root fs check to catch 'rw,ordered,noatime,etc.' properly (#334171)Bill Nottingham2008-01-101-2/+18
|
* add LUKS uuid support (#360071, <karsten@redhat.com>)Bill Nottingham2008-01-101-3/+11
|
* Use proper invocations for authconfig, system-config-network (#426372, #428202)Bill Nottingham2008-01-101-4/+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
|
* revert for now - something else odd is going on hereBill Nottingham2007-01-191-6/+1
|
* - copy dhclient lease files from the initrd into /var/lib/dhclient sor8-45-15-ELPeter Jones2007-01-181-1/+6
| | | | | the network doesn't get reset during startup with iscsi / Resolves: #218791
* - don't unmount network file systems (#217625)r8-45-10-ELBill Nottingham2006-11-291-1/+1
|
* fix dmraid test (#216490)Bill Nottingham2006-11-201-1/+1
|
* mount tmpfs with -n (#213132)Bill Nottingham2006-10-311-1/+1
|
* fix or_IN and similar locales (#212438)Bill Nottingham2006-10-262-19/+5
|
* use dmraid.static (#211297)Bill Nottingham2006-10-181-3/+3
|
* revert early-login support (#210386)Bill Nottingham2006-10-121-2/+2
|
* - Handle "nodmraid" and "nompath" command line options (#209377)Peter Jones2006-10-111-2/+3
|
* fix mismerger8-44Bill Nottingham2006-10-041-5/+6
|
* set keymap correctly in non-UTF8 locale (#167363)Bill Nottingham2006-10-041-3/+7
| | | | | separate tmpfs-usage for stateless from readonly-root (requested by OLPC)
* redirect stderr (#209204)Bill Nottingham2006-10-041-1/+1
|
* don't write to gdmfifoBill Nottingham2006-09-271-1/+0
|
* * rc.sysinit: Also check for localhost.localdomain when resettingBill Nottingham2006-09-271-1/+1
| | | | | | | the hostname for stateless clients. Remove explicit mount of $STATE_MOUNT/.files. Copy the puppet CA's certificate from the r/o image into $STATE_MOUNT. (#206331, <law@redhat.com>)
* syntaxBill Nottingham2006-09-211-1/+1
|
* run with -m so that subprocesses get their own process group (part ofBill Nottingham2006-09-212-0/+4
| | | | #184340)
* better check here (#190989, #110761)Bill Nottingham2006-09-211-2/+2
|
* change blkid.tab pathBill Nottingham2006-09-191-1/+1
|
* set default affinity if specified (#203359)Bill Nottingham2006-09-151-0/+11
|
* pass path to '.' always (#206035)Bill Nottingham2006-09-111-1/+1
|
* run setsysfont always when /dev/tty1 existsBill Nottingham2006-09-081-2/+2
|
* allow going to a shell if the system is shut down uncleanlyBill Nottingham2006-09-081-1/+10
|