aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'initscripts-9.41-1' into mga-41Colin Guthrie2012-10-2810-2315/+44
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag as initscripts-9.41-1 Conflicts: .gitignore Makefile inittab po/xgettext_sh.py prefdm rc.d/init.d/functions rc.d/init.d/halt rc.d/init.d/killall rc.d/init.d/netfs rc.d/init.d/network rc.d/init.d/single rc.d/rc rc.d/rc.local rc.d/rc.sysinit service src/console_check.c src/console_init.c sysconfig.txt sysconfig/network-scripts/ifdown sysconfig/network-scripts/ifdown-eth sysconfig/network-scripts/ifup sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/ifup-ippp sysconfig/network-scripts/network-functions systemd/system/fedora-wait-storage.service udev/rules.d/10-console.rules Merge Notes: 1. prefdm: We are keeping the current prefdm script which parses /etc/sysconfig/desktop to find the current preferred dm. We also keep the hunk in sysconfig.txt which relates to the afore mentioned file. Longer term, we should drop this and move to per-dm units. 2. sysconfig/network-scripts/ifup-ippp is still removed at our end... is there a replacement? 3. I used our /sbin/service as it varies quite a lot from fedora. I'd be tempted to drop our custom version in favour of upstream (s/libexec/lib/) 4. ifup/ifdown NM wrappers have been included - previously we just printed a "Device is manged by NM skipping.." message. CONFLICT (modify/delete): udev/rules.d/10-console.rules deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of udev/rules.d/10-console.rules left in tree. Auto-merging systemd/system/fedora-wait-storage.service CONFLICT (content): Merge conflict in systemd/system/fedora-wait-storage.service Auto-merging systemd/fedora-storage-init Auto-merging sysconfig/network-scripts/network-functions CONFLICT (content): Merge conflict in sysconfig/network-scripts/network-functions Removing sysconfig/network-scripts/net.hotplug Auto-merging sysconfig/network-scripts/ifup-sit Auto-merging sysconfig/network-scripts/ifup-post Auto-merging sysconfig/network-scripts/ifup-plusb CONFLICT (modify/delete): sysconfig/network-scripts/ifup-ippp deleted in HEAD and modified in initscripts-9.41-1. Version initscripts-9.41-1 of sysconfig/network-scripts/ifup-ippp left in tree. Auto-merging sysconfig/network-scripts/ifup-eth CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifup-eth Auto-merging sysconfig/network-scripts/ifup CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifup Auto-merging sysconfig/network-scripts/ifdown-sit Auto-merging sysconfig/network-scripts/ifdown-post Auto-merging sysconfig/network-scripts/ifdown-eth CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifdown-eth Auto-merging sysconfig/network-scripts/ifdown CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifdown Auto-merging sysconfig.txt CONFLICT (content): Merge conflict in sysconfig.txt Removing src/testdinit Removing src/testd.c Removing src/securetty.c Removing src/securetty.8 Removing src/getkey.c Removing src/getkey.1 Removing src/fstab-decode.c Removing src/fstab-decode.8 CONFLICT (modify/delete): src/console_init.c deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of src/console_init.c left in tree. CONFLICT (modify/delete): src/console_check.c deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of src/console_check.c left in tree. Auto-merging service CONFLICT (content): Merge conflict in service CONFLICT (modify/delete): rc.d/rc.sysinit deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/rc.sysinit left in tree. CONFLICT (modify/delete): rc.d/rc.local deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/rc.local left in tree. CONFLICT (modify/delete): rc.d/rc deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/rc left in tree. CONFLICT (modify/delete): rc.d/init.d/single deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/single left in tree. Auto-merging rc.d/init.d/network CONFLICT (content): Merge conflict in rc.d/init.d/network CONFLICT (modify/delete): rc.d/init.d/netfs deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/netfs left in tree. Auto-merging rc.d/init.d/netconsole CONFLICT (modify/delete): rc.d/init.d/killall deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/killall left in tree. CONFLICT (modify/delete): rc.d/init.d/halt deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/halt left in tree. Auto-merging rc.d/init.d/functions CONFLICT (content): Merge conflict in rc.d/init.d/functions CONFLICT (modify/delete): prefdm deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of prefdm left in tree. Auto-merging ppp/ip-up.ipv6to4 CONFLICT (modify/delete): po/xgettext_sh.py deleted in HEAD and modified in initscripts-9.41-1. Version initscripts-9.41-1 of po/xgettext_sh.py left in tree. Removing inittab.upstart Removing inittab.systemd Removing inittab.s390 Auto-merging inittab CONFLICT (content): Merge conflict in inittab Removing init/tty.conf Removing init/start-ttys.conf Removing init/splash-manager.conf Removing init/serial.conf Removing init/rcS.conf Removing init/rcS-sulogin.conf Removing init/rc.conf Removing init/quit-plymouth.conf Removing init/prefdm.conf Removing init/plymouth-shutdown.conf Removing init/control-alt-delete.conf Removing crypttab.5 Removing README-init Removing NetworkManager/dispatcher.d/05-netfs Auto-merging Makefile CONFLICT (content): Merge conflict in Makefile Auto-merging .gitignore CONFLICT (content): Merge conflict in .gitignore Automatic merge failed; fix conflicts and then commit the result.
| * Killproc -d should parse same values as sleepLukas Nykryn2012-08-071-2/+6
| |
| * Drop more unused functions, and drop old s-c-n profile support directories.Bill Nottingham2012-08-062-44/+0
| | | | | | | | The profile support itself was removed a while ago.
| * Remove more now-unused functions from init.d/functions (crypto/dm)Bill Nottingham2012-08-061-180/+0
| |
| * Drop fstab-decode and getkey; no longer used.Bill Nottingham2012-08-061-65/+0
| | | | | | | | Drop the umount loop from rc.d/init.d/functions.
| * Initial removal of support for non-systemd systems.Bill Nottingham2012-08-067-1236/+0
| |
| * Tweak wording.Bill Nottingham2012-04-231-1/+1
| |
| * Move default sysctl.conf to /usr/lib/sysctl.d, adjust things accordingly. ↵Bill Nottingham2012-04-201-5/+20
| | | | | | | | | | | | (#760254) Also, update apply_sysctl to 1) use systemd-sysctl if it's there 2) imitate it if it's not.
| * Drop net-tools requirement; check for /sbin/route before calling legacy ↵Bill Nottingham2012-04-201-3/+7
| | | | | | | | static-route support. (#682308)
| * Make sure there's no headings in the findmnt output.Bill Nottingham2012-03-091-1/+1
| |
| * If /dev/stderr also isn't readable, don't bother with consoletype.Bill Nottingham2012-03-091-1/+1
| |
| * Use /run/initramfs instead of /dev/.initramfsWill Woods2012-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | Current dracut saves state to /run/initramfs, since /run is standard now. This patch makes rc.sysinit and fedora-readonly check for files in /run/initramfs/rwtab and /run/initramfs/state (which is where dracut writes them). It also makes ifup-eth look for lease files in /run/initramfs.
| * Turn off UPS in powerfail situation (#754984, <robert@fedoraproject.org>)Lukas Nykryn2012-02-131-0/+5
| | | | | | | | | | | | Patch by Robert Scheck <robert@fedoraproject.org> for initscripts >= 9.03.23, which adds the required support for apcupsd to the halt initscript to turn off the UPS in case of a powerfail situation.
| * Do not check mounted filesystems (#745224)Lukas Nykryn2012-02-131-1/+1
| |
| * Add LSB dep on the network script. (#767818)Bill Nottingham2011-12-141-0/+1
| |
| * Add cifs to check for network filesystem (#760018).Bill Nottingham2011-12-141-4/+2
| | | | | | | | Use findmnt to simplify the code.
| * Just exit on first response (#744734)Bill Nottingham2011-11-151-1/+1
| |
* | remove mandriva-clean-var-run-lock systemd service, unneded now that ↵Olivier Blin2012-10-231-11/+0
| | | | | | | | /var/lock is a symlink to /run/lock
* | network: Deal with ifcfg-* file that have spaces in them.Colin Guthrie2012-04-101-10/+11
| | | | | | | | | | | | This can happen on the ifcfg-Auto* files created by NM. It may be more sensible overall to just skip such files, but incase any other invalid files are found, they are now simply skipped to avoid errors.
* | network: Remove old service names from LSB headersColin Guthrie2012-04-061-2/+2
| |
* | network: Write a flag that can be used as a trigger for udevColin Guthrie2012-04-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | udev might detect network interfaces that in turn check to see if the network subsystem is ready. It did this via checking a file in /var/lock, but this is not a good idea if that file system tree is messy from a previous boot. The (separate) cleaning process has to run after udev (because udev may be needed to mount /var filesystem) and thus we have to use a different flag until /var/lock is on a tmpfs.
* | functions: Add a SYSTEMCTL_NO_BLOCK env varColin Guthrie2012-04-031-1/+4
| |
* | Make network and network-up start after NetworkManager should it be enabled.Colin Guthrie2012-03-261-4/+1
| | | | | | | | | | | | | | | | | | | | Both scripts will check to see if NetworkManager is running before deciding to ignore interfaces. This directive will ensure that systemd starts NetworkManager before running these scripts and thus any checks and probes will be valid. This should prevent the double running of wpa_supplicant if the network script was run before NetworkManager which can cause constant disconnects.
* | Also ignore the TYPE=Wireless when shutting down interfaces.Colin Guthrie2012-03-251-0/+4
| | | | | | | | This just mirrors 8f85566feeb57e8385c7e024cdde021e3f041bc2
* | Ignore 'Wireless' network config files.Colin Guthrie2012-03-181-1/+4
| | | | | | | | | | | | | | | | | | Network manager does not write SLAVE=yes, but they are effectively slave connections. We should not start these interfaces directly. Also use /bin/ls directly to avoid any aliasing (not that this should be an issue in a script context)
* | Fix some mis-mergingColin Guthrie2011-11-041-2/+2
| |
* | Modify the check for systemd to use a more standard method.Colin Guthrie2011-11-031-2/+4
| | | | | | | | This uses the same technique as described in 'man sd_booted'
* | Merge commit 'initscripts-9.34-1' into mga-34Colin Guthrie2011-11-038-72/+112
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings our fully patched initscripts branch up to version 9.34. Some code was not easily merged and thus not all functionality relating to multiple IP addresses per interface were merged in. Conflicts: Makefile lang.csh lang.sh prefdm rc.d/init.d/functions rc.d/init.d/netfs rc.d/init.d/network rc.d/rc rc.d/rc.local rc.d/rc.sysinit service sysconfig.txt sysconfig/network-scripts/ifdown-eth sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/ifup-ipv6 sysconfig/network-scripts/ifup-sit sysconfig/network-scripts/ifup-tunnel sysconfig/network-scripts/network-functions systemd/system/fedora-sysinit-unhack.service
| * If locale.conf exists, use it. (#706756, in part)Bill Nottingham2011-10-252-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | systemd's algorithm on startup is: - if /etc/locale.conf is parseable, use that - otherwise, use /etc/sysconfig/i18n Given that we have a heirarchy of system -> user settings here, simply go: ~/.i18n > /etc/locale.conf > /etc/sysconfig/i18n Add some documentation as well.
| * Only use the first ARP response in netconsole (#744309)Doug Knight2011-10-071-1/+1
| |
| * Be less picky about ifcfg file names. (#742276)Bill Nottingham2011-09-301-2/+2
| |
| * Only bother with consoletype if we're actually connected to something that's ↵Bill Nottingham2011-09-191-2/+2
| | | | | | | | | | | | console-ish. (#657869) If we're connected to a socket, or a pipe, or a file, or anything else - assume dumb mode.
| * selinuxfs moved, adjust code. (#733759)Bill Nottingham2011-08-301-7/+7
| |
| * Call multipath and kpartx with -u. (#733437)Bill Nottingham2011-08-251-2/+2
| |
| * plymouth lives in /bin. (#702814)Bill Nottingham2011-08-153-12/+12
| |
| * Don't mount gfs2 in netfs (#689593)Bill Nottingham2011-08-011-1/+1
| |
| * Add back a message for udev start. (#714531, continued)Bill Nottingham2011-06-211-1/+1
| |
| * Start udev by hand. (#714531)Bill Nottingham2011-06-201-1/+4
| |
| * Clean up some noise if stderr isn't available.Bill Nottingham2011-06-021-2/+2
| |
| * VLAN, etc. interfaces can be slaves; check for being a slave first. (#703475)Bill Nottingham2011-05-121-4/+4
| |
| * Tweak wording, as other scripts with S99 priority may actually run later. ↵Bill Nottingham2011-05-101-1/+1
| | | | | | | | (#703148)
| * Use LC_ALL=C when calling sed. ↵Bill Nottingham2011-05-101-3/+3
| | | | | | | | (https://bugs.mageia.org/show_bug.cgi?id=1216, via <sander.lepik@eesti.ee>)
| * fuser -k defaults to -9; set the initial pass to kill -15. (#703457)Bill Nottingham2011-05-101-2/+2
| |
| * don't match filesystem types in hostnames (#703203, <jmueller@data-tronics.com>)Bill Nottingham2011-05-091-1/+2
| |
| * Fix logic error (#698520, <jlau@redhat.com>)Bill Nottingham2011-04-251-1/+1
| |
| * Support overriding hostname via /etc/hostname.Bill Nottingham2011-04-181-0/+3
| |
| * Don't print errors if mdadm isn't installed. (#692187)Bill Nottingham2011-03-301-2/+2
| |
| * Use net_log where appropriate.Bill Nottingham2011-03-251-1/+1
| |
| * Add a comment explaining the oft-confused -t nox,y,z mount syntax.Bill Nottingham2011-03-222-0/+2
| | | | | | | | | | 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.
| * Fix mishandled argument to fstab-decode. (#685137)Bill Nottingham2011-03-151-1/+1
| |