Summary: The inittab file and the /etc/init.d scripts Name: initscripts Version: 9.49.37 # ppp-watch is GPLv2+, everything else is GPLv2 License: GPLv2 and GPLv2+ Group: System Environment/Base Release: 1%{?dist} URL: https://github.com/fedora-sysv/initscripts Source: https://github.com/fedora-sysv/initscripts/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Obsoletes: initscripts-legacy <= 9.39 Requires: /bin/awk, sed, coreutils Requires: /sbin/sysctl Requires: grep Requires: module-init-tools Requires: util-linux >= 2.16 Requires: bash >= 3.0 Requires: sysvinit-tools >= 2.87-5 Conflicts: systemd < 23-1 Conflicts: systemd-units < 23-1 Conflicts: lvm2 < 2.02.100-5 Conflicts: dmraid < 1.0.0.rc16-18 Requires: systemd Requires: iproute, /sbin/arping, findutils # Not strictly required, but nothing else requires it Requires: /etc/system-release Requires: udev >= 125-1 Requires: cpio Requires: hostname Conflicts: ipsec-tools < 0.8.0-2 Conflicts: NetworkManager < 0.9.9.0-37.git20140131.el7 Requires(pre): /usr/sbin/groupadd Requires(post): /sbin/chkconfig, coreutils Requires(preun): /sbin/chkconfig BuildRequires: glib2-devel popt-devel gettext pkgconfig Provides: /sbin/service %description The initscripts package contains basic system scripts used during a boot of the system. It also contains scripts which activate and deactivate most network interfaces. %package -n debugmode Summary: Scripts for running in debugging mode Requires: initscripts Group: System Environment/Base %description -n debugmode The debugmode package contains some basic scripts that are used to run the system in a debugging mode. Currently, this consists of various memory checking code. %prep %setup -q %build make %install rm -rf $RPM_BUILD_ROOT make ROOT=$RPM_BUILD_ROOT SUPERUSER=`id -un` SUPERGROUP=`id -gn` mandir=%{_mandir} install %find_lang %{name} %ifnarch s390 s390x rm -f \ $RPM_BUILD_ROOT/etc/sysconfig/network-scripts/ifup-ctc \ %else rm -f \ $RPM_BUILD_ROOT/etc/sysconfig/init.s390 %endif touch $RPM_BUILD_ROOT/etc/crypttab chmod 600 $RPM_BUILD_ROOT/etc/crypttab %pre /usr/sbin/groupadd -g 22 -r -f utmp %post touch /var/log/wtmp /var/run/utmp /var/log/btmp chown root:utmp /var/log/wtmp /var/run/utmp /var/log/btmp chmod 664 /var/log/wtmp /var/run/utmp chmod 600 /var/log/btmp /usr/sbin/chkconfig --add network /usr/sbin/chkconfig --add netconsole if [ $1 -eq 1 ]; then /usr/bin/systemctl daemon-reload > /dev/null 2>&1 || : fi %preun if [ $1 = 0 ]; then /usr/sbin/chkconfig --del network /usr/sbin/chkconfig --del netconsole fi %triggerun -- initscripts < 7.62 /usr/sbin/chkconfig --del random /usr/sbin/chkconfig --del rawdevices exit 0 %postun if [ $1 -ge 1 ]; then /usr/bin/systemctl daemon-reload > /dev/null 2>&1 || : fi %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %dir /etc/sysconfig/network-scripts %config(noreplace) %verify(not md5 mtime size) /etc/adjtime %config(noreplace) /etc/sysconfig/init %config(noreplace) /etc/sysconfig/netconsole %config(noreplace) /etc/sysconfig/readonly-root /etc/sysconfig/network-scripts/ifdown /usr/sbin/ifdown /etc/sysconfig/network-scripts/ifdown-post /etc/sysconfig/network-scripts/ifup /usr/sbin/ifup /usr/libexec/initscripts/brandbot %dir /etc/sysconfig/console %dir /etc/sysconfig/modules /etc/sysconfig/network-scripts/network-functions /etc/sysconfig/network-scripts/network-functions-ipv6 /etc/sysconfig/network-scripts/init.ipv6-global %config(noreplace) /etc/sysconfig/network-scripts/ifcfg-lo /etc/sysconfig/network-scripts/ifup-post /etc/sysconfig/network-scripts/ifdown-ppp /etc/sysconfig/network-scripts/ifup-ppp /etc/sysconfig/network-scripts/ifup-routes /etc/sysconfig/network-scripts/ifdown-routes /etc/sysconfig/network-scripts/ifup-plip /etc/sysconfig/network-scripts/ifup-plusb /etc/sysconfig/network-scripts/ifup-bnep /etc/sysconfig/network-scripts/ifdown-bnep /etc/sysconfig/network-scripts/ifup-eth /etc/sysconfig/network-scripts/ifdown-eth /etc/sysconfig/network-scripts/ifup-ipv6 /etc/sysconfig/network-scripts/ifdown-ipv6 /etc/sysconfig/network-scripts/ifup-sit /etc/sysconfig/network-scripts/ifdown-sit /etc/sysconfig/network-scripts/ifup-tunnel /etc/sysconfig/network-scripts/ifdown-tunnel /etc/sysconfig/network-scripts/ifup-aliases /etc/sysconfig/network-scripts/ifup-ippp /etc/sysconfig/network-scripts/ifdown-ippp /etc/sysconfig/network-scripts/ifup-wireless /etc/sysconfig/network-scripts/ifup-isdn /etc/sysconfig/network-scripts/ifdown-isdn %ifarch s390 s390x /etc/sysconfig/network-scripts/ifup-ctc %endif %config(noreplace) /etc/networks %config(noreplace) /etc/rwtab %config(noreplace) /etc/statetab %dir /etc/rwtab.d %dir /etc/statetab.d /usr/lib/systemd/rhel-* /usr/lib/systemd/system/* /etc/inittab %dir /etc/rc.d %dir /etc/rc.d/rc[0-9].d /etc/rc[0-9].d %dir /etc/rc.d/init.d /etc/rc.d/init.d/* %config(noreplace) /etc/sysctl.conf /usr/lib/sysctl.d/00-system.conf /etc/sysctl.d/99-sysctl.conf %exclude /etc/profile.d/debug* /etc/profile.d/* /usr/sbin/sys-unconfig /usr/bin/ipcalc /usr/bin/usleep %attr(4755,root,root) /usr/sbin/usernetctl /usr/sbin/consoletype /usr/sbin/genhostid /usr/sbin/sushell %attr(2755,root,root) /usr/sbin/netreport /usr/lib/udev/rules.d/* /usr/lib/udev/rename_device /usr/lib/udev/udev-kvm-check /usr/sbin/service /usr/sbin/ppp-watch %{_mandir}/man*/* %dir %attr(775,root,root) /var/run/netreport %dir /etc/ppp %dir /etc/ppp/peers /etc/ppp/ip-up /etc/ppp/ip-down /etc/ppp/ip-up.ipv6to4 /etc/ppp/ip-down.ipv6to4 /etc/ppp/ipv6-up /etc/ppp/ipv6-down %dir /etc/NetworkManager %dir /etc/NetworkManager/dispatcher.d /etc/NetworkManager/dispatcher.d/00-netreport %doc sysconfig.txt sysvinitfiles static-routes-ipv6 ipv6-tunnel.howto ipv6-6to4.howto changes.ipv6 COPYING %doc examples /var/lib/stateless %ghost %attr(0600,root,utmp) /var/log/btmp %ghost %attr(0664,root,utmp) /var/log/wtmp %ghost %attr(0664,root,utmp) /var/run/utmp %ghost %attr(0644,root,root) /etc/sysconfig/kvm %ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/crypttab %dir /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/initscripts.conf %dir /usr/libexec/initscripts %dir /usr/libexec/initscripts/legacy-actions %ghost %{_localstatedir}/log/dmesg %ghost %{_localstatedir}/log/dmesg.old %files -n debugmode %defattr(-,root,root) %config(noreplace) /etc/sysconfig/debug /etc/profile.d/debug* %changelog * Mon Sep 12 2016 Lukáš Nykrýn - 9.49.37-1 - rhel-import-state: fix broken order of parameters * Fri Sep 09 2016 Lukáš Nykrýn - 9.49.36-1 - import-state: copy just some attributes * Tue Aug 02 2016 Lukáš Nykrýn - 9.49.35-1 - functions: systemctl show now returns an error when unit does not exist * Fri Jul 15 2016 Lukáš Nykrýn - 9.49.34-1 - import-state: restore also sensitivity part of SELinux context * Thu Jul 14 2016 Lukáš Nykrýn - 9.49.33-1 - network: run after network-pre.target * Thu Jun 23 2016 Lukáš Nykrýn - 9.49.32-1 - ifup-eth: fix setting preferred_lft and valid_lft * Mon Jun 13 2016 Lukáš Nykrýn - 9.49.31-1 - ipv6: wait for all global IPv6 addresses to leave the "tentative" state - source_config: tell NetworkManger to load ifcfg file even for NM_CONTROLLED=no - ifup-aliases: inherit ARPCHECK from parent device - rhel-dmesg: don't start in containers - ifup-eth: fix typo in error message (#1038776) - sysctl.conf: steal comments about /usr,/etc,... from fedora's sysctl.conf - rwtab: /var/lib/nfs needs to copy the files - functions: improve killing loops - ipcalc: detect invalid mask - ifup: set valid_lft and preferred_lft to forever for static ip - service: use systemd mangle for given service - ifup-post: check resolve.conf also with DNS2 - ifdown-post: remove resolv.conf only in specific cases - spec: ghost /var/log/dmesg - network-functions: is_available_wait should wait even in the case that is_available returns 2 - autorelabel: turn quota off before relabeling - autorelabel: call dracut-initramfs-restore before forced reboot * Wed Sep 16 2015 Lukáš Nykrýn - 9.49.30-1 - ifup-eth: some bridge options are applied later * Tue Sep 15 2015 Lukáš Nykrýn - 9.49.29-1 - service: improve status and stop function for daemon with intscripts * Mon Aug 31 2015 Lukáš Nykrýn - 9.49.28-1 - init.d/functions: reload systemd if it can't see an initscript * Fri Aug 07 2015 Lukáš Nykrýn - 9.49.27-1 - network-functions: fix wireless detection * Wed Jul 01 2015 Lukáš Nykrýn - 9.49.26-1 - import-state: don't run restorecon when it does not exist - network-functions: reeplace iwconfig with iw - fedora-readonly: use --make-slave with --bind mounts * Wed Jun 17 2015 Lukáš Nykrýn - 9.49.25-1 - network: tell NM to reload its configuration during start - bonding: warn if the ifup for slave device failed - brandbot: move to /usr/libexec/initscripts - sysctl.conf: drop SHMALL and SHMMAX, they have sane default values in kernel - rename_device: allow non-channel nics for s390x machines - network-functions: fix check in install_bonding_driver - ifup-aliases: don't return with error when arping fails - network-functions: fix change_resolv_conf after grep update - clarify daemon() usage message - ifup: don't call NM for loopback - ifup: add missing quotes * Thu Jan 15 2015 Lukáš Nykrýn - 9.49.24-1 - rhel-import-state.service: run a little bit later * Tue Dec 16 2014 Lukáš Nykrýn - 9.49.23-1 - ifdown-ipv6: reset addrgenmode to eui64 for device - ifup: fix typo * Wed Nov 12 2014 Lukáš Nykrýn - 9.49.22-1 - adjust LINKDELAY when STP is on * Fri Oct 24 2014 Lukáš Nykrýn - 9.49.21-1 - ifup,vlan: fix typo * Thu Oct 09 2014 Lukáš Nykrýn - 9.49.20-1 - rhel-import-state: do not clobber / * Tue Sep 23 2014 Lukáš Nykrýn - 9.49.19-1 - minor fixes * Wed Sep 17 2014 Lukáš Nykrýn - 9.49.18-1 - is_available_wait: properly propage return value from is_available - man: update sys-unconfig.8 - rename_devices: comments need to have a blank before them - add example ifcfg files - network-functions: improve bonding_masters grep - ifup: if we were unable to determine DEVICE always call nmcli up - ifup-tunnel: call ifup-ipv6 in the end - ifup: also set multicast_snooping after the bridge is up - ifup-eth: some options for bridge can be applied after the bridge is up - custom naming for VLAN devices - ifup-wireless: add support for wowlan - vi.po: fix parentheses - network-functions: ETHTOOL_DELAY introduction patch - ipcalc: -c allow netmask - ipcalc: parse prefix more safely - use pie and relro by default - sys-unconfig: use poweroff instead of halt - ifup-aliases: improve duplicate address detection - network-functions: handle BONDING_OPTS better - fedora-readonly: fix prefix detection (#1059749) - network: tell nm to wake the slaves - bridging: add possibility to set prio and ageing - network: add support for team devices - inittab: fix path and mention set-default - fedora-domainname: DefaultDependencies=no * Wed Apr 02 2014 Lukáš Nykrýn - 9.49.17-1 - add configurable DEVTIMEOUT * Tue Apr 01 2014 Lukáš Nykrýn - 9.49.16-1 - network: detect if / is on netfs (#1029677) - is_nm_handling: fix RE (#1083040) * Tue Mar 11 2014 Lukáš Nykrýn - 9.49.15-1 - network: try to not compete with NM during boot (#1068621) * Thu Feb 27 2014 Lukáš Nykrýn - 9.49.14-1 - update ifup/ifdown NetworkManager interaction (#1036701, #1061810) - service: fix action matching - service: add condrestart to allowed commands (#1069222) * Wed Feb 12 2014 Lukáš Nykrýn - 9.49.13-1 - delete IPX support - update ifup/ifdown NetworkManager interaction (#1036701, #1061810) - set shmmax and shmall defaults to match rhel6 values (#1056547) * Wed Dec 04 2013 Lukas Nykryn - 9.49.12-1 - use iw instead of iwconfig and friends (#915343) - don't care about rc.local anymore (#1034156) - udev-kvm-check: simplify reading of threshold (#1031568) - brandbot: read only first line (#1031490) * Thu Nov 14 2013 Václav Pavlín - 9.49.11-1 - Revert: provide KVM guest count and limit info message (#1014731) - add C implementation of reverted patch * Wed Nov 13 2013 Václav Pavlín - 9.49.10-1 - provide KVM guest count and limit info message (#1014731) * Tue Nov 12 2013 Václav Pavlín - 9.49.9-1 - spec: update description of the initscript package * Tue Nov 12 2013 Václav Pavlín - 9.49.8-1 - service: suggest using systemctl if unknown action is used (#1029350) - rename_device: remove comments and trailing whitespaces (#1027945) - readonly-root: restore selinux context after bind mount (#1029342) * Tue Nov 05 2013 Lukas Nykryn - 9.49.7-1 - readonly-root: Add /var/log/audit/audit.log to rwtab (#1026815) - brandot: fix posssible segfault (#1024922) * Fri Sep 20 2013 Lukas Nykryn - 9.49.6-1 - brandbot: tool to write branding to /etc/os-release (#1009947) * Thu Sep 12 2013 Václav Pavlín - 9.49.5-1 - readonly-root: bind-mount only necessary subset of entries in rwtab * Tue Sep 10 2013 Lukas Nykryn - 9.49.4-1 - ifdown: fix typo in nmcli call (#1006222) - ipcalc: support RFC3021 (#997271) - enable 'network' service at boot time for interfaces not supported by NetworkManager (#1003936) * Fri Aug 30 2013 Lukas Nykryn - 9.49.3-1 - update functions who call nmcli (#1002958) - create /var/log/dmesg for compatibility reasons (#854002) * Mon Aug 19 2013 Lukáš Nykrýn - 9.49.2-1 - symlink /etc/sysctl.conf -> /etc/sysctl.d/ - man: only action specified in LSB are redirected to systemd - service: filter actions that are not supported by systemctl in service (#947823) - install_bonding_driver: drop check for existing device (#991335) - consider IPV6INIT undefined as YES - don't care about network filesystems * Mon Jul 15 2013 Lukáš Nykrýn - 9.49.1-1 - rename fedora-* to rhel-* - first rhel7 version * Fri Jul 12 2013 Lukáš Nykrýn - 9.48-1 - man: add systemd man pages to service.8 "see also" section - add possibility to set domainname through /etc/sysconfig/network - rename_device: don't wait for lock with lower permissions - 256term.csh: remove quotes around variable (#979796) - drop useless variables from /etc/sysconfig/init - readonly-root: rpcidmapd restart is not needed anymore - ifup-eth: print error only if arping is really called (#974603) - readonly-root: Add /var/lib/samba to rwtab * Fri May 31 2013 Lukáš Nykrýn - 9.47-1 - network-functions: to determine state of nscd check socket not lock (#960779) - sysconfig.txt advised saslauthd -a instad of -v - update translations from transifex - drop translation for other initscripts - tweak ifup/ifdown usage and man page (#961917) - ctrl-alt-delete.target is provided by systemd package - remove some defaults from arch specific sysctl.conf - readonly-root: remount rpc_pipefs if readonly-root is used - service: mention legacy actions and systemctl redirection in man page * Fri Apr 12 2013 Lukáš Nykrýn - 9.46-1 - add /var/lib/NetworkManager - add ipip6 tunneling support (#928232, raorn@raorn.name) - bonding: set master up before slaves - set net.ipv6.conf.SYSCTLDEVICE.autoconf in ifup-ipv6 - ifdown: don't call nmcli on interface that is alread down - remove some defaults from sysctl.conf (move to systemd) - call flush addresses with scope global - service: action should not be empty when calling legacy-actions (#947817) - ifup-eth: ignore arping errors (#928379) - replace tunctl with ip tuntap (#947875) - reload sysctl settings for vlans on ifup - try dhcpv6 after v4 failed (#846618) * Fri Mar 15 2013 Lukáš Nykrýn - 9.45-2 - provides /sbin/service * Fri Mar 15 2013 Lukáš Nykrýn - 9.45-1 - turn on symlink protections in sysctl (#922030) - add systemd-random-seed.service to Before= in fedora-readonly.service (#888615) - mention rule6 files in sysconfig.txt - skip nmcli for wireless device (#863707) - remove config-noreplace from /etc/inittab (#627474) - remount-rootfs.service got renamed to systemd-remount-fs.service - compile netreport and usernetctl with full RELRO and PIE (#853178) - move stuff directly to /usr (#905492) - Remove NETWORKING_IPV6 from sysconfig.txt (#918622) - fix greps to correctly handle comments and quotation * Wed Feb 20 2013 Lukáš Nykrýn - 9.44-1 - limit udev rule for network renaming (#907365, mschmidt@redhat.com) - fix path for arpwatch, seems to be in /var/lib on Fedora 18 - fix the path for lvm cache, there is no file /etc/lvm/.cache ( but there is one /etc/lvm/cache ) - fix path for dhcpd, is /var/lib/dhcpd since 2005 ( see 31cdb58df77 on the dhcp package git ) - fix the patch for apache modules in rwtab, that are now in /var/cache/httpd - remove no longer used directory ( at least in Fedora ), hald is deprecated, /var/tux cannot be found and xend seems to use a subdirectory of /var/lib/xen - correct the path for puppet directory in /etc/rwtab, now use /var/lib/puppet by default - allow passing -F from /.autorelabel to fixfiles when relabeling system (#904279) - correctly detect Open vSwitch device types - clear DEVICE and TYPE variables before every iteration (#902463) - sets BONDING_OPTS before interface is brougth up - check an IP address for existence in ifup-alias (#852005) - sync FSF address with GPL 2 text. - fix rpmlint's spaces vs tabs warning. - fix bogus %changelog dates. - build with $RPM_LD_FLAGS. - use -sf, not -s. (#901827) - add /usr/libexec/initscripts to file list (#894475) - rename term256 to 256term (glob sort) (#849429) - readd missing shebang. (#885821) - migrate even further away from /etc/sysconfig/network for hostname, and /etc/sysconfig/i18n. * Fri Dec 7 2012 Bill Nottingham - 9.43-1 - 60-net.rules: explicitly set the interface name (#870859) - ifup-eth: set firewall zone before ifup-ipv6 for DHCPv6 (#802415) - migrate to /etc/locale.conf, /etc/vconsole.conf (#881923) - rename_device: fix bogus locking - fix wireless device detection for kernel 3.6 (#875328) - drop fedora-storage-init, fedora-wait-storage () * Wed Oct 31 2012 Bill Nottingham - 9.42-1 - Halloween release! - add a default /etc/sysctl.conf that describes how to change values, and where the defaults now live. (#760254) - translation updates - fedora-autorelabel: don't pass -F to fixfiles (#863662, ) - fix calling of firewall-cmd in ifup-post/ifdown-post () * Fri Oct 5 2012 Bill Nottingham - 9.41-1 - debugmode: MALLOC_CHECK_ is not thread safe. Don't enable it by default (#853175) - Add support for 256 color terminals () - ifdown-eth: be less strict about VLAN name (#505314, ) - drop prefdm - ifup-eth: allow duplicate address detection to be disabled () - process rule6-* for sit devices (#840009, ) * Mon Aug 6 2012 Bill Nottingham - 9.40-1 - drop support for booting non-systemd systems - drop legacy commands: getkey, fstab-decode, testd * Fri Jun 29 2012 Bill Nottingham - 9.39-1 - assorted documentation cleanups - typo, spelling, licenese clean up () - service: add support for legacy custom actions packaged in /usr/libexec/initscripts/legacy-actions/