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.40 |
Version: 9.03.61 |
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.1%{?dist} |
Release: 2%{?dist} |
10 |
URL: http://fedorahosted.org/releases/i/n/initscripts/ |
URL: https://github.com/fedora-sysv/initscripts |
11 |
Source: http://fedorahosted.org/releases/i/n/initscripts/initscripts-%{version}.tar.bz2 |
Source: https://github.com/fedora-sysv/initscripts/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz |
12 |
|
Patch1000: centos-initscripts.patch |
13 |
|
|
14 |
Patch2000: initscripts-9.03.31-runlevel7.patch |
Patch2000: initscripts-9.03.31-runlevel7.patch |
15 |
|
Patch2001: initscripts-9.03.40-dmesg.patch |
16 |
|
Patch2002: initscripts-9.03.40-slapd_alias_ldap.patch |
17 |
|
Patch2003: initscripts-9.03.46-dont_run_plymouth_if_disabled.patch |
18 |
|
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
20 |
Requires: mingetty, /bin/awk, /bin/sed, mktemp |
Requires: mingetty, /bin/awk, /bin/sed, mktemp |
21 |
Requires: /sbin/sysctl |
Requires: /sbin/sysctl |
22 |
Requires: /sbin/fuser, /bin/grep |
Requires: /sbin/fuser, /bin/grep |
23 |
Requires: /sbin/pidof, /sbin/blkid |
Requires: /sbin/pidof, /sbin/blkid |
24 |
Requires: module-init-tools |
Requires: module-init-tools >= 3.9-25 |
25 |
Requires: util-linux-ng >= 2.16 |
Requires: util-linux-ng >= 2.16 |
26 |
Requires: bash >= 3.0 |
Requires: bash >= 3.0 |
27 |
Requires: sysvinit-tools >= 2.87 |
Requires: sysvinit-tools >= 2.87-6 |
28 |
%if with_upstart |
%if with_upstart |
29 |
Requires: upstart >= 0.6.0 |
Requires: upstart >= 0.6.5-11 |
30 |
%else |
%else |
31 |
Requires: SysVinit >= 2.85-38 |
Requires: SysVinit >= 2.85-38 |
32 |
%endif |
%endif |
35 |
Requires: ethtool >= 1.8-2, /sbin/runuser |
Requires: ethtool >= 1.8-2, /sbin/runuser |
36 |
Requires: udev >= 125-1 |
Requires: udev >= 125-1 |
37 |
Requires: cpio |
Requires: cpio |
38 |
|
Requires: plymouth |
39 |
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 |
40 |
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 |
41 |
Conflicts: dhclient < 12:4.1.0-6 |
Conflicts: dhclient < 12:4.1.0-6 |
44 |
Conflicts: alsa-utils < 1.0.18 |
Conflicts: alsa-utils < 1.0.18 |
45 |
Conflicts: plymouth < 0.8.3-9 |
Conflicts: plymouth < 0.8.3-9 |
46 |
Conflicts: s390utils < 2:1.8.2-11 |
Conflicts: s390utils < 2:1.8.2-11 |
47 |
Conflicts: dmraid < 1.0.0.rc16-7, lvm2 < 2.02.97-2 |
Conflicts: dmraid < 1.0.0.rc16-7, lvm2 < 2.02.100-5 |
48 |
Conflicts: e2fsprogs < 1.15 |
Conflicts: e2fsprogs < 1.15 |
49 |
# http://bugzilla.redhat.com/show_bug.cgi?id=252973 |
# http://bugzilla.redhat.com/show_bug.cgi?id=252973 |
50 |
Conflicts: nut < 2.2.0 |
Conflicts: nut < 2.2.0 |
55 |
Requires(preun): /sbin/chkconfig |
Requires(preun): /sbin/chkconfig |
56 |
BuildRequires: glib2-devel popt-devel gettext pkgconfig |
BuildRequires: glib2-devel popt-devel gettext pkgconfig |
57 |
|
|
|
Patch0: 0001-remove-duplicit-then.patch |
|
|
|
|
58 |
%description |
%description |
59 |
The initscripts package contains the basic system scripts used to boot |
The initscripts package contains the basic system scripts used to boot |
60 |
your SME Server system, change runlevels, and shut the system down |
your Red Hat or Fedora system, change runlevels, and shut the system down |
61 |
cleanly. Initscripts also contains the scripts that activate and |
cleanly. Initscripts also contains the scripts that activate and |
62 |
deactivate most network interfaces. |
deactivate most network interfaces. |
63 |
|
|
74 |
|
|
75 |
%prep |
%prep |
76 |
%setup -q |
%setup -q |
77 |
%patch0 -p1 |
%patch1000 -p1 |
78 |
%patch2000 -p1 |
%patch2000 -p1 |
79 |
|
%patch2001 -p1 |
80 |
|
%patch2002 -p1 |
81 |
|
%patch2003 -p1 |
82 |
|
|
83 |
%build |
%build |
84 |
make |
make |
119 |
/sbin/chkconfig --add network |
/sbin/chkconfig --add network |
120 |
/sbin/chkconfig --add netconsole |
/sbin/chkconfig --add netconsole |
121 |
|
|
122 |
if [ ! -f /var/lib/random-seed ] ; then |
if [ ! -f /var/lib/random-seed -a -e /dev/urandom ] ; then |
123 |
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 |
124 |
chmod 600 /var/lib/random-seed |
chmod 600 /var/lib/random-seed |
125 |
fi |
fi |
126 |
|
|
211 |
%config(noreplace) /etc/rc.d/rc.local |
%config(noreplace) /etc/rc.d/rc.local |
212 |
/etc/rc.d/rc.sysinit |
/etc/rc.d/rc.sysinit |
213 |
%config(noreplace) /etc/sysctl.conf |
%config(noreplace) /etc/sysctl.conf |
214 |
|
%dir /etc/sysctl.d |
215 |
%exclude /etc/profile.d/debug* |
%exclude /etc/profile.d/debug* |
216 |
/etc/profile.d/* |
/etc/profile.d/* |
217 |
/usr/sbin/sys-unconfig |
/usr/sbin/sys-unconfig |
260 |
/etc/profile.d/debug* |
/etc/profile.d/debug* |
261 |
|
|
262 |
%changelog |
%changelog |
263 |
* Sun Mar 16 2014 Ian Wells <esmith@wellsi.com> - 9.03.40-2.1.sme |
* Sun Dec 23 2018 Jean-Philipe Pialasse <tests@pialasse.com> 9.03.61-2.sme |
264 |
- Correct offest in runlevel7 patch to avoid .orig file [SME: 8277] |
- Rebase on upstream 9.03.61 [SME: 10615] |
265 |
- Remove CentOS Branding patch |
- Don't try to run plymouth if disabled [SME: 8375] |
266 |
|
Code from Charlie Brady |
267 |
* Sat Dec 14 2013 Ian Wells <esmith@wellsi.com> - 9.03.40-2.sme |
- Make slapd service an alias for ldap [SME: 8635] |
268 |
|
- Add -n 1 to the dmesg line in rc.sysinit to prevent unwanted |
269 |
|
messages appearing on the console [SME: 8277] |
270 |
- Add hack for running rc7.d script during runlevel 4 [SME: 7217] |
- Add hack for running rc7.d script during runlevel 4 [SME: 7217] |
271 |
|
|
272 |
|
* Tue Jun 19 2018 Johnny Hughes <johnny@centos.org> |
273 |
- Roll in CentOS Branding |
- Roll in CentOS Branding |
274 |
|
|
275 |
* Thu Oct 10 2013 Lukas Nykryn <lnykryn@redhat.com> - 9.03.40-2 |
* Thu Apr 27 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.03.61-1 |
276 |
- fix duplicit then (#1015065) |
- Move Source & URL to Github |
277 |
|
|
278 |
|
* Thu Apr 26 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.03.60-1 |
279 |
|
- cryptsetup: do not forward STDERR to /dev/null when promting for passphrase |
280 |
|
|
281 |
|
* Tue Feb 13 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.03.59-1 |
282 |
|
- init.d/network: start vpninterfaces |
283 |
|
- ARPUPDATE option introduced |
284 |
|
- init.d/functions: sourcing for ksh fixed |
285 |
|
|
286 |
|
* Wed Jan 18 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.03.58-1 |
287 |
|
- regression in commit bab72274889 fixed [missing $() for DAD detection] |
288 |
|
|
289 |
|
* Tue Jan 10 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.03.57-1 |
290 |
|
- regression in commit ca3cea691b6 fixed [quotes for $DHCLIENTARGS removed] |
291 |
|
|
292 |
|
* Mon Nov 21 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.03.56-1 |
293 |
|
- regression in commit ca3cea691b6 fixed [${LEASEFILE} not specified] |
294 |
|
|
295 |
|
* Wed Nov 16 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.03.55-1 |
296 |
|
- ipcalc: detect invalid mask |
297 |
|
- ifup-aliases: send gratuitous ARPs when adding addresses |
298 |
|
- network: treat other tunnel interfaces (fixes ifdown stage) |
299 |
|
- kexec-disable.conf: release kexec memory properly |
300 |
|
- network-functions: do not send hostname via dhclient everytime |
301 |
|
- sysconfig/network: NO_DHCP_HOSTNAME option introduced |
302 |
|
- ipv6_add_addr_on_device: replace the existing address on NIC |
303 |
|
|
304 |
|
* Mon Nov 7 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.03.54-1 |
305 |
|
- specfile: require newer lvm |
306 |
|
- ifdown-eth: add timeout for when flushing global scope |
307 |
|
- functions: support boolean values in is_true() & is_false() |
308 |
|
- ifup-aliases: do not return with error when arping fails |
309 |
|
- netconsole: resolve domain name via 'getent' instead of 'hosts' |
310 |
|
|
311 |
|
* Tue Apr 12 2016 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.53-1 |
312 |
|
- functions: parse -d first |
313 |
|
|
314 |
|
* Mon Apr 11 2016 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.52-1 |
315 |
|
- functions: fix ignored delay in killproc |
316 |
|
|
317 |
|
* Tue Feb 23 2016 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.51-1 |
318 |
|
- netfs: only unmount loopback device mounted on top of netdev or with back-file on netdev |
319 |
|
|
320 |
|
* Tue Jan 19 2016 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.50-1 |
321 |
|
- functions: improve killing loops |
322 |
|
- netfs: tweak nfs umount |
323 |
|
- sysctl.conf: mention sysctl -a |
324 |
|
- sysconfig.txt: document PPPOE_EXTRA and PPPD_EXTRA |
325 |
|
- spec: require plymouth |
326 |
|
- fix mangled sysconfig/init.s390 |
327 |
|
- rc.sysinit: don't perform fsck twice with /.autorelabel |
328 |
|
- ifdown-eth: fix comparison |
329 |
|
- ifup-eth: if arping fails, output responding MAC |
330 |
|
- network-functions: fix change_resolv_conf after grep update |
331 |
|
- spec: add sysctl.d dir |
332 |
|
- rc.sysinit: fix typo in fs |
333 |
|
- rename_devices: comments need to have a blank before them |
334 |
|
- rename_device: remove comments and trailing whitespaces |
335 |
|
- bonding: warn if the ifup for slave device failed |
336 |
|
- clarify daemon() usage message |
337 |
|
- ifdown: clean ipv4 localhost addresses |
338 |
|
- ifup-post: check resolve.conf also with DNS2 |
339 |
|
- ifup: add missing quotes |
340 |
|
- ifup-eth: some bridge options are applied later |
341 |
|
- init.d/halt: give init some time to reexecute |
342 |
|
- network-scripts: DEVICE and HWADRR could be quoted by apostrophe |
343 |
|
- ifup-wireless: fix calling of phy_wireless_device |
344 |
|
- rc.sysinit: apply quotas after system is relabeled |
345 |
|
|
346 |
|
* Thu Apr 09 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.49-1 |
347 |
|
- network-functions: fix change_resolv_conf after grep update |
348 |
|
|
349 |
|
* Mon Mar 02 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.48-1 |
350 |
|
- use new -m option to pidof |
351 |
|
|
352 |
|
* Fri Feb 27 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.47-1 |
353 |
|
- rc.sysinit: be more verbose |
354 |
|
- init.d/functions: rc.debug option to debug initscripts |
355 |
|
- ifup-aliases: inherit ARPCHECK from parent device |
356 |
|
- netfs: don't race NFS umount to network shutdown |
357 |
|
- network: report that we can't shut down network for root on netfs |
358 |
|
- Fix tcsh + grep-2.7. (#636552) |
359 |
|
- sysctl.conf: move bridge setting to module-init-tools |
360 |
|
- rc.sysinit: set affinity also for current shell |
361 |
|
- ifdown-eth: use scope host for lo |
362 |
|
- improve_check_for_bond_master_in_install_bonding_driver |
363 |
|
- network-functions: fix check in install_bonding_driver |
364 |
|
- ifdown-post: remove resolv.conf only in specific cases |
365 |
|
- netconsole: lets run earlier |
366 |
|
- ipcalc: support RFC3021 (#997271) |
367 |
|
- halt: add delay after upsdrvctl shutdown |
368 |
|
- ifup: also set multicast_snooping after the bridge is up |
369 |
|
|
370 |
|
* Tue Jul 22 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.46-1 |
371 |
|
- ifup,vlan: fix typo |
372 |
|
|
373 |
|
* Tue Jul 08 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.45-1 |
374 |
|
- ifup,vlan: fix typo |
375 |
|
|
376 |
|
* Wed Jun 18 2014 Lukáš Nykrýn - 9.03.44-1 |
377 |
|
- init.d/functions: fix typo in pid_dir |
378 |
|
|
379 |
|
* Tue Jun 10 2014 Lukáš Nykrýn - 9.03.43-1 |
380 |
|
- ifup-aliases: arpcheck - check for parent operstate and carrier |
381 |
|
- ifdown: don't wait for aliases |
382 |
|
- hotplug: don't call ifup when new vlan appears |
383 |
|
- ifup-wireless: add support for wowlan (second part) |
384 |
|
- readonly-root: remount rpc_pipefs if readonly-root is used |
385 |
|
|
386 |
|
* Fri Jun 06 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.42-1 |
387 |
|
- ipcalc: -c allow netmask |
388 |
|
- ipcalc: parse prefix more safely |
389 |
|
- vi.po: fix parentheses |
390 |
|
- network-functions: handle BONDING_OPTS better |
391 |
|
- custom naming for VLAN devices |
392 |
|
- bonding: match whole name of interface |
393 |
|
- network-functions: ETHTOOL_DELAY introduction patch |
394 |
|
- ifup-wireless: add support for wowlan |
395 |
|
- Remove NETWORKING_IPV6 from sysconfig.txt (#918622) |
396 |
|
- bridging: add possibility to set prio and ageing |
397 |
|
|
398 |
|
* Wed Apr 30 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.41-1 |
399 |
|
- netfs: implicitly handle glusterfs as a network filesystemd |
400 |
|
- init.d/functions: check parent dir of pid file for accessibility |
401 |
|
- ifup-eth: some options for bridge can be applied after the bridge is up |
402 |
|
- rc.sysinit: apply sysctl settings before starting udev |
403 |
|
- ifup: add possibility to specify value for -w parameter of arping |
404 |
|
- ifup-tunnel: call ifup-ipv6 in the end |
405 |
|
- pids_var_run: handle '(deleted)' |
406 |
|
- require correct version of upstart |
407 |
|
- rc.sysinit: use 'vgchange --ignoreskippedcluster' |
408 |
|
- during install do not create /var/lib/random-seed if /dev/urandom does not exist |
409 |
|
- rc.sysinit: increase the saved random-seed to 4K (#1023471) |
410 |
|
- umount-loop: make sure that we don't kill our own process |
411 |
|
- umount-loop: don't use xargs |
412 |
|
- ifup-eth: remove ipx relic (#1028135) |
413 |
|
- init.d/functions: add -b optin to status and killproc (#1047948) |
414 |
|
- remove duplicit then |
415 |
|
|
416 |
* Thu Oct 10 2013 Lukas Nykryn <lnykryn@redhat.com> - 9.03.40-1 |
* Thu Oct 10 2013 Lukas Nykryn <lnykryn@redhat.com> - 9.03.40-1 |
417 |
- sync disks before halt (#1006294) |
- sync disks before halt (#1006294) |