2 |
|
|
3 |
Summary: The inittab file and the /etc/init.d scripts |
Summary: The inittab file and the /etc/init.d scripts |
4 |
Name: initscripts |
Name: initscripts |
5 |
Version: 9.03.31 |
Version: 9.03.53 |
6 |
# ppp-watch is GPLv2+, everything else is GPLv2 |
# ppp-watch is GPLv2+, everything else is GPLv2 |
7 |
License: GPLv2 and GPLv2+ |
License: GPLv2 and GPLv2+ |
8 |
Group: System Environment/Base |
Group: System Environment/Base |
9 |
Release: 2%{?dist}.2 |
Release: 1%{?dist}.1 |
10 |
URL: http://fedorahosted.org/releases/i/n/initscripts/ |
URL: http://fedorahosted.org/releases/i/n/initscripts/ |
11 |
Source: http://fedorahosted.org/releases/i/n/initscripts/initscripts-%{version}.tar.bz2 |
Source: http://fedorahosted.org/releases/i/n/initscripts/initscripts-%{version}.tar.bz2 |
12 |
Patch1: initscripts-9.03.31-nis.patch |
Patch1000: centos-initscripts.patch |
|
Patch2: initscripts-9.03.31-vlan.patch |
|
|
Patch1000: centos-initscripts.patch |
|
13 |
Patch2000: initscripts-9.03.31-runlevel7.patch |
Patch2000: initscripts-9.03.31-runlevel7.patch |
14 |
|
Patch2001: initscripts-9.03.40-dmesg.patch |
15 |
|
Patch2002: initscripts-9.03.40-slapd_alias_ldap.patch |
16 |
|
Patch2003: initscripts-9.03.46-dont_run_plymouth_if_disabled.patch |
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
18 |
Requires: mingetty, /bin/awk, /bin/sed, mktemp |
Requires: mingetty, /bin/awk, /bin/sed, mktemp |
19 |
Requires: /sbin/sysctl |
Requires: /sbin/sysctl |
20 |
Requires: /sbin/fuser, /bin/grep |
Requires: /sbin/fuser, /bin/grep |
21 |
Requires: /sbin/pidof, /sbin/blkid |
Requires: /sbin/pidof, /sbin/blkid |
22 |
Requires: module-init-tools |
Requires: module-init-tools >= 3.9-25 |
23 |
Requires: util-linux-ng >= 2.16 |
Requires: util-linux-ng >= 2.16 |
24 |
Requires: bash >= 3.0 |
Requires: bash >= 3.0 |
25 |
Requires: sysvinit-tools >= 2.87 |
Requires: sysvinit-tools >= 2.87-6 |
26 |
%if with_upstart |
%if with_upstart |
27 |
Requires: upstart >= 0.6.0 |
Requires: upstart >= 0.6.5-11 |
28 |
%else |
%else |
29 |
Requires: SysVinit >= 2.85-38 |
Requires: SysVinit >= 2.85-38 |
30 |
%endif |
%endif |
33 |
Requires: ethtool >= 1.8-2, /sbin/runuser |
Requires: ethtool >= 1.8-2, /sbin/runuser |
34 |
Requires: udev >= 125-1 |
Requires: udev >= 125-1 |
35 |
Requires: cpio |
Requires: cpio |
36 |
|
Requires: plymouth |
37 |
Conflicts: mkinitrd < 4.0, kernel < 2.6.18, mdadm < 3.1.2-9 |
Conflicts: mkinitrd < 4.0, kernel < 2.6.18, mdadm < 3.1.2-9 |
38 |
Conflicts: ypbind < 1.6-12, psacct < 6.3.2-12, kbd < 1.06-19, lokkit < 0.50-14 |
Conflicts: ypbind < 1.6-12, psacct < 6.3.2-12, kbd < 1.06-19, lokkit < 0.50-14 |
39 |
Conflicts: dhclient < 12:4.1.0-6 |
Conflicts: dhclient < 12:4.1.0-6 |
42 |
Conflicts: alsa-utils < 1.0.18 |
Conflicts: alsa-utils < 1.0.18 |
43 |
Conflicts: plymouth < 0.8.3-9 |
Conflicts: plymouth < 0.8.3-9 |
44 |
Conflicts: s390utils < 2:1.8.2-11 |
Conflicts: s390utils < 2:1.8.2-11 |
45 |
Conflicts: dmraid < 1.0.0.rc16-7, lvm2 < 2.02.65 |
Conflicts: dmraid < 1.0.0.rc16-7, lvm2 < 2.02.97-2 |
46 |
Conflicts: e2fsprogs < 1.15 |
Conflicts: e2fsprogs < 1.15 |
47 |
# http://bugzilla.redhat.com/show_bug.cgi?id=252973 |
# http://bugzilla.redhat.com/show_bug.cgi?id=252973 |
48 |
Conflicts: nut < 2.2.0 |
Conflicts: nut < 2.2.0 |
55 |
|
|
56 |
%description |
%description |
57 |
The initscripts package contains the basic system scripts used to boot |
The initscripts package contains the basic system scripts used to boot |
58 |
your Red Hat or Fedora system, change runlevels, and shut the system down |
your Koozali SME Server system, change runlevels, and shut the system down |
59 |
cleanly. Initscripts also contains the scripts that activate and |
cleanly. Initscripts also contains the scripts that activate and |
60 |
deactivate most network interfaces. |
deactivate most network interfaces. |
61 |
|
|
72 |
|
|
73 |
%prep |
%prep |
74 |
%setup -q |
%setup -q |
75 |
%patch1 -p1 |
|
76 |
%patch2 -p1 |
%patch1000 -p1 -b .centos.branding |
|
%patch1000 -p1 |
|
77 |
%patch2000 -p1 |
%patch2000 -p1 |
78 |
|
%patch2001 -p1 |
79 |
|
%patch2002 -p1 |
80 |
|
%patch2003 -p1 |
81 |
|
|
82 |
%build |
%build |
83 |
make |
make |
118 |
/sbin/chkconfig --add network |
/sbin/chkconfig --add network |
119 |
/sbin/chkconfig --add netconsole |
/sbin/chkconfig --add netconsole |
120 |
|
|
121 |
if [ ! -f /var/lib/random-seed ] ; then |
if [ ! -f /var/lib/random-seed -a -e /dev/urandom ] ; then |
122 |
dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=512 2>/dev/null |
dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=4096 2>/dev/null |
123 |
chmod 600 /var/lib/random-seed |
chmod 600 /var/lib/random-seed |
124 |
fi |
fi |
125 |
|
|
210 |
%config(noreplace) /etc/rc.d/rc.local |
%config(noreplace) /etc/rc.d/rc.local |
211 |
/etc/rc.d/rc.sysinit |
/etc/rc.d/rc.sysinit |
212 |
%config(noreplace) /etc/sysctl.conf |
%config(noreplace) /etc/sysctl.conf |
213 |
|
%dir /etc/sysctl.d |
214 |
%exclude /etc/profile.d/debug* |
%exclude /etc/profile.d/debug* |
215 |
/etc/profile.d/* |
/etc/profile.d/* |
216 |
/usr/sbin/sys-unconfig |
/usr/sbin/sys-unconfig |
229 |
/lib/udev/rename_device |
/lib/udev/rename_device |
230 |
/lib/udev/console_init |
/lib/udev/console_init |
231 |
/lib/udev/console_check |
/lib/udev/console_check |
232 |
|
/lib/udev/udev-kvm-check |
233 |
/sbin/service |
/sbin/service |
234 |
/sbin/ppp-watch |
/sbin/ppp-watch |
235 |
%{_mandir}/man*/* |
%{_mandir}/man*/* |
251 |
%ghost %attr(0600,root,utmp) /var/log/btmp |
%ghost %attr(0600,root,utmp) /var/log/btmp |
252 |
%ghost %attr(0664,root,utmp) /var/log/wtmp |
%ghost %attr(0664,root,utmp) /var/log/wtmp |
253 |
%ghost %attr(0664,root,utmp) /var/run/utmp |
%ghost %attr(0664,root,utmp) /var/run/utmp |
254 |
|
%ghost %attr(0644,root,root) /etc/sysconfig/kvm |
255 |
|
|
256 |
%files -n debugmode |
%files -n debugmode |
257 |
%defattr(-,root,root) |
%defattr(-,root,root) |
259 |
/etc/profile.d/debug* |
/etc/profile.d/debug* |
260 |
|
|
261 |
%changelog |
%changelog |
262 |
* Tue Feb 12 2013 Shad L. Lords <slords@mail.com> - 9.03.31-2.1.el6.sme.2 |
* Wed Jun 15 2016 Daniel Berteaud <daniel@firewall-services.com> - 9.03.53-1.sme.1 |
263 |
- Add hack for running rc7.d script during runlevel 4 [SME: 7217] |
- Rebase on upstream 9.03.53-1 [SME: 9534] |
264 |
|
|
265 |
* Mon Sep 17 2012 Johnny Hughes <johnny@centos.org> - 9.03.31-2.1.el6.centos |
* Tue May 10 2016 Johnny Hughes <johnny@centos.org> - 9.03.53-1 |
266 |
- Roll in CentOS Branding |
- Roll in CentOS Branding |
267 |
|
|
268 |
* Thu Sep 06 2012 Václav Pavlín <vpavlin@redhat.com> 9.03.31-2.1 |
* Tue Apr 12 2016 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.53-1 |
269 |
- be less strict about VLAN name (#854852) |
- functions: parse -d first |
270 |
|
|
271 |
|
* Mon Apr 11 2016 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.52-1 |
272 |
|
- functions: fix ignored delay in killproc |
273 |
|
|
274 |
|
* Tue Feb 23 2016 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.51-1 |
275 |
|
- netfs: only unmount loopback device mounted on top of netdev or with back-file on netdev |
276 |
|
|
277 |
* Wed May 23 2012 Bill Nottingham <notting@redhat.com> 9.03.31-2 |
* Tue Jan 19 2016 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.50-1 |
278 |
- fix the NIS domain setting (#704919) |
- functions: improve killing loops |
279 |
|
- netfs: tweak nfs umount |
280 |
|
- sysctl.conf: mention sysctl -a |
281 |
|
- sysconfig.txt: document PPPOE_EXTRA and PPPD_EXTRA |
282 |
|
- spec: require plymouth |
283 |
|
- fix mangled sysconfig/init.s390 |
284 |
|
- rc.sysinit: don't perform fsck twice with /.autorelabel |
285 |
|
- ifdown-eth: fix comparison |
286 |
|
- ifup-eth: if arping fails, output responding MAC |
287 |
|
- network-functions: fix change_resolv_conf after grep update |
288 |
|
- spec: add sysctl.d dir |
289 |
|
- rc.sysinit: fix typo in fs |
290 |
|
- rename_devices: comments need to have a blank before them |
291 |
|
- rename_device: remove comments and trailing whitespaces |
292 |
|
- bonding: warn if the ifup for slave device failed |
293 |
|
- clarify daemon() usage message |
294 |
|
- ifdown: clean ipv4 localhost addresses |
295 |
|
- ifup-post: check resolve.conf also with DNS2 |
296 |
|
- ifup: add missing quotes |
297 |
|
- ifup-eth: some bridge options are applied later |
298 |
|
- init.d/halt: give init some time to reexecute |
299 |
|
- network-scripts: DEVICE and HWADRR could be quoted by apostrophe |
300 |
|
- ifup-wireless: fix calling of phy_wireless_device |
301 |
|
- rc.sysinit: apply quotas after system is relabeled |
302 |
|
|
303 |
|
* Thu Apr 09 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.49-1 |
304 |
|
- network-functions: fix change_resolv_conf after grep update |
305 |
|
|
306 |
|
* Mon Mar 02 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.48-1 |
307 |
|
- use new -m option to pidof |
308 |
|
|
309 |
|
* Fri Feb 27 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.47-1 |
310 |
|
- rc.sysinit: be more verbose |
311 |
|
- init.d/functions: rc.debug option to debug initscripts |
312 |
|
- ifup-aliases: inherit ARPCHECK from parent device |
313 |
|
- netfs: don't race NFS umount to network shutdown |
314 |
|
- network: report that we can't shut down network for root on netfs |
315 |
|
- Fix tcsh + grep-2.7. (#636552) |
316 |
|
- sysctl.conf: move bridge setting to module-init-tools |
317 |
|
- rc.sysinit: set affinity also for current shell |
318 |
|
- ifdown-eth: use scope host for lo |
319 |
|
- improve_check_for_bond_master_in_install_bonding_driver |
320 |
|
- network-functions: fix check in install_bonding_driver |
321 |
|
- ifdown-post: remove resolv.conf only in specific cases |
322 |
|
- netconsole: lets run earlier |
323 |
|
- ipcalc: support RFC3021 (#997271) |
324 |
|
- halt: add delay after upsdrvctl shutdown |
325 |
|
- ifup: also set multicast_snooping after the bridge is up |
326 |
|
|
327 |
|
* Tue Jul 22 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.46-1 |
328 |
|
- ifup,vlan: fix typo |
329 |
|
|
330 |
|
* Tue Jul 08 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.45-1 |
331 |
|
- ifup,vlan: fix typo |
332 |
|
|
333 |
|
* Wed Jun 18 2014 Lukáš Nykrýn - 9.03.44-1 |
334 |
|
- init.d/functions: fix typo in pid_dir |
335 |
|
|
336 |
|
* Tue Jun 10 2014 Lukáš Nykrýn - 9.03.43-1 |
337 |
|
- ifup-aliases: arpcheck - check for parent operstate and carrier |
338 |
|
- ifdown: don't wait for aliases |
339 |
|
- hotplug: don't call ifup when new vlan appears |
340 |
|
- ifup-wireless: add support for wowlan (second part) |
341 |
|
- readonly-root: remount rpc_pipefs if readonly-root is used |
342 |
|
|
343 |
|
* Fri Jun 06 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.42-1 |
344 |
|
- ipcalc: -c allow netmask |
345 |
|
- ipcalc: parse prefix more safely |
346 |
|
- vi.po: fix parentheses |
347 |
|
- network-functions: handle BONDING_OPTS better |
348 |
|
- custom naming for VLAN devices |
349 |
|
- bonding: match whole name of interface |
350 |
|
- network-functions: ETHTOOL_DELAY introduction patch |
351 |
|
- ifup-wireless: add support for wowlan |
352 |
|
- Remove NETWORKING_IPV6 from sysconfig.txt (#918622) |
353 |
|
- bridging: add possibility to set prio and ageing |
354 |
|
|
355 |
|
* Wed Apr 30 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.41-1 |
356 |
|
- netfs: implicitly handle glusterfs as a network filesystemd |
357 |
|
- init.d/functions: check parent dir of pid file for accessibility |
358 |
|
- ifup-eth: some options for bridge can be applied after the bridge is up |
359 |
|
- rc.sysinit: apply sysctl settings before starting udev |
360 |
|
- ifup: add possibility to specify value for -w parameter of arping |
361 |
|
- ifup-tunnel: call ifup-ipv6 in the end |
362 |
|
- pids_var_run: handle '(deleted)' |
363 |
|
- require correct version of upstart |
364 |
|
- rc.sysinit: use 'vgchange --ignoreskippedcluster' |
365 |
|
- during install do not create /var/lib/random-seed if /dev/urandom does not exist |
366 |
|
- rc.sysinit: increase the saved random-seed to 4K (#1023471) |
367 |
|
- umount-loop: make sure that we don't kill our own process |
368 |
|
- umount-loop: don't use xargs |
369 |
|
- ifup-eth: remove ipx relic (#1028135) |
370 |
|
- init.d/functions: add -b optin to status and killproc (#1047948) |
371 |
|
- remove duplicit then |
372 |
|
|
373 |
|
* Thu Oct 10 2013 Lukas Nykryn <lnykryn@redhat.com> - 9.03.40-1 |
374 |
|
- sync disks before halt (#1006294) |
375 |
|
- provide KVM guest count and limit info message (#1014731) |
376 |
|
- add ability to disable LVM activation on boot (#1015065) |
377 |
|
|
378 |
|
* Fri Aug 09 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.39-1 |
379 |
|
- remount /proc to set attributes from fstab #984003 |
380 |
|
- print something when arping is detecting colliding ip addresses |
381 |
|
- try dhcpv6 after v4 failed |
382 |
|
- Allow dhclient configuration files for DHCPv6 as well. (#815676) |
383 |
|
- ifdown: don't call nmcli on interface that is alread down |
384 |
|
- call flush addresses with scope global |
385 |
|
- init: inform users about .override files in .conf files |
386 |
|
- netfs: do not force NFS exports to be mounted before _netdev mounts |
387 |
|
- set net.ipv6.conf..autoconf in ifup-ipv6 |
388 |
|
- mention rule6 files |
389 |
|
- securetty: check if the device is in the file before attempting to write to it |
390 |
|
- Process rule6-* for sit devices (#840009) |
391 |
|
- Killproc -d should parse same values as sleep |
392 |
|
- Make killproc more granular when delay is passed. (#428029, <xjakub@fi.muni.cz>) |
393 |
|
- bonding: set master up before slaves |
394 |
|
- Fix greps to correctly handle comments and quotation (#915659) |
395 |
|
|
396 |
|
* Wed Jan 09 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.38-1 |
397 |
|
- call ip link up on master after slaves are up (#893395) |
398 |
|
|
399 |
|
* Thu Dec 13 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.37-1 |
400 |
|
- don't apply BONDING_OPTS on device with active slaves (#885235) |
401 |
|
|
402 |
|
* Wed Nov 28 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.36-1 |
403 |
|
- improve duplicate ip address check in ifup-aliases (#880684) |
404 |
|
|
405 |
|
* Fri Nov 23 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.35-1 |
406 |
|
- fix typo in ifup-aliases duplicate check (#879243) |
407 |
|
|
408 |
|
* Thu Nov 15 2012 Václav Pavlín <vpavlin@redhat.com> - 9.03.34-1 |
409 |
|
- there should be crypttab instead of crypptab in man page (#870025) |
410 |
|
- sysconfig.txt advised saslauthd -a instad of -v (#869075) |
411 |
|
|
412 |
|
* Thu Nov 08 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.33-1 |
413 |
|
- apply BONDING_OPT on ifup of master (#874030) |
414 |
|
|
415 |
|
* Mon Oct 08 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.32-1 |
416 |
|
- check an IP address for existence in ifup-alias |
417 |
|
- remount /dev/shm in sysinit to apply attributes from fstab |
418 |
|
- sets BONDING_OPTS before interface is brougth up and checks if it is not already added |
419 |
|
- Add support for setting random bridge options via BRIDGING_OPTS |
420 |
|
- use vgchange -aay in rc.sysinit and netfs init script |
421 |
|
- script should not kill itself during shutdown |
422 |
|
- fix the NIS domain setting |
423 |
|
- be less strict about VLAN name |
424 |
|
- clarification of work with white spaces in crypttab manpage |
425 |
|
- re-read sysctl values for VLANs on ifup |
426 |
|
- pass useful arguments to halt.local |
427 |
|
- start serial console when we return from runlevel1 |
428 |
|
- move VLAN= docs to the interface configuration section, rather than /etc/sysconfig/network. |
429 |
|
- don't accidentally match other bonding devices |
430 |
|
- add usage stanzas for tty.conf and serial.conf |
431 |
|
- rename_device: skip VLAN=yes configuration files |
432 |
|
- allow duplicate address dectection to be disabled |
433 |
|
|
434 |
* Fri Apr 27 2012 Lukas Nykryn <lnykryn@redhat.com> 9.03.31-1 |
* Fri Apr 27 2012 Lukas Nykryn <lnykryn@redhat.com> 9.03.31-1 |
435 |
- set NIS domain (#704919) |
- set NIS domain (#704919) |