|
# $Id$ |
|
|
|
|
1 |
Summary: The inittab file and the /etc/init.d scripts. |
Summary: The inittab file and the /etc/init.d scripts. |
2 |
Name: initscripts |
Name: initscripts |
3 |
Version: 8.45.17.EL |
Version: 8.45.42 |
4 |
License: GPL |
# ppp-watch is GPLv2+, everything else is GPLv2 |
5 |
|
License: GPLv2 and GPLv2+ |
6 |
Group: System Environment/Base |
Group: System Environment/Base |
7 |
Release: 1%{?dist}.1 |
Release: 1%{?dist} |
8 |
Source: initscripts-%{version}.tar.bz2 |
Source: initscripts-%{version}.tar.bz2 |
9 |
Patch1: initscripts-centos-branding.patch |
# git source repository |
10 |
Patch100: initscripts-8.45.17.EL-smeserver-service.patch |
URL: http://git.fedorahosted.org/git/initscripts.git |
|
URL: http://fedora.redhat.com/projects/additional-projects/initscripts/ |
|
11 |
BuildRoot: /%{_tmppath}/%{name}-%{version}-%{release}-root |
BuildRoot: /%{_tmppath}/%{name}-%{version}-%{release}-root |
12 |
Requires: mingetty, /bin/awk, /bin/sed, mktemp, e2fsprogs >= 1.15 |
Requires: mingetty, /bin/awk, /bin/sed, mktemp, e2fsprogs >= 1.15 |
13 |
Requires: /sbin/sysctl, syslog |
Requires: /sbin/sysctl, syslog |
31 |
|
|
32 |
%description |
%description |
33 |
The initscripts package contains the basic system scripts used to boot |
The initscripts package contains the basic system scripts used to boot |
34 |
your CentOS system, change runlevels, and shut the system down |
your Red Hat system, change runlevels, and shut the system down |
35 |
cleanly. Initscripts also contains the scripts that activate and |
cleanly. Initscripts also contains the scripts that activate and |
36 |
deactivate most network interfaces. |
deactivate most network interfaces. |
37 |
|
|
38 |
%prep |
%prep |
39 |
%setup -q |
%setup -q |
|
%patch1 -p1 |
|
|
%patch100 -p1 |
|
40 |
|
|
41 |
%build |
%build |
42 |
make |
make |
51 |
rm -f \ |
rm -f \ |
52 |
$RPM_BUILD_ROOT/etc/sysconfig/network-scripts/ifup-ctc \ |
$RPM_BUILD_ROOT/etc/sysconfig/network-scripts/ifup-ctc \ |
53 |
$RPM_BUILD_ROOT/etc/sysconfig/network-scripts/ifup-iucv \ |
$RPM_BUILD_ROOT/etc/sysconfig/network-scripts/ifup-iucv \ |
54 |
|
$RPM_BUILD_ROOT/etc/udev/rules.d/54-cu3088-fix.rules \ |
55 |
$RPM_BUILD_ROOT/etc/udev/rules.d/55-ccw.rules \ |
$RPM_BUILD_ROOT/etc/udev/rules.d/55-ccw.rules \ |
56 |
$RPM_BUILD_ROOT/lib/udev/ccw_init |
$RPM_BUILD_ROOT/lib/udev/ccw_init |
57 |
%else |
%else |
72 |
/sbin/chkconfig --add netfs |
/sbin/chkconfig --add netfs |
73 |
/sbin/chkconfig --add network |
/sbin/chkconfig --add network |
74 |
/sbin/chkconfig --add netconsole |
/sbin/chkconfig --add netconsole |
75 |
|
/sbin/chkconfig --add rawdevices |
76 |
|
|
77 |
|
|
78 |
%preun |
%preun |
79 |
if [ $1 = 0 ]; then |
if [ $1 = 0 ]; then |
80 |
/sbin/chkconfig --del netfs |
/sbin/chkconfig --del netfs |
81 |
/sbin/chkconfig --del network |
/sbin/chkconfig --del network |
82 |
/sbin/chkconfig --del netconsole |
/sbin/chkconfig --del netconsole |
83 |
|
/sbin/chkconfig --del rawdevices |
84 |
fi |
fi |
85 |
|
|
86 |
%triggerun -- initscripts < 7.62 |
%triggerun -- initscripts < 7.62 |
87 |
/sbin/chkconfig --del random |
/sbin/chkconfig --del random |
|
/sbin/chkconfig --del rawdevices |
|
88 |
exit 0 |
exit 0 |
89 |
|
|
90 |
%clean |
%clean |
108 |
%dir /etc/sysconfig/networking/devices |
%dir /etc/sysconfig/networking/devices |
109 |
%dir /etc/sysconfig/networking/profiles |
%dir /etc/sysconfig/networking/profiles |
110 |
%dir /etc/sysconfig/networking/profiles/default |
%dir /etc/sysconfig/networking/profiles/default |
111 |
|
%config(noreplace) /etc/sysconfig/rawdevices |
112 |
%config /etc/sysconfig/network-scripts/network-functions |
%config /etc/sysconfig/network-scripts/network-functions |
113 |
%config /etc/sysconfig/network-scripts/network-functions-ipv6 |
%config /etc/sysconfig/network-scripts/network-functions-ipv6 |
114 |
%config /etc/sysconfig/network-scripts/init.ipv6-global |
%config /etc/sysconfig/network-scripts/init.ipv6-global |
202 |
%ghost %attr(0664,root,utmp) /var/run/utmp |
%ghost %attr(0664,root,utmp) /var/run/utmp |
203 |
|
|
204 |
%changelog |
%changelog |
205 |
* Thu Dec 20 2007 Shad L. Lords <slords@mail.com> 8.45.17.EL-1.el5.sme.1 |
* Mon Dec 19 2011 Lukas Nykryn <lnykryn@redhat.com> 8.45.42-1 |
206 |
- Exit with zero exit status for services not listed in configuration |
- changed exchange_mode to "main, aggressive" (#435274) |
207 |
database to avoid failures in post scriptlets [SME: 1653] |
|
208 |
- Merge in SME Server /sbin/e-smith/service wrapper so that only |
* Fri Dec 2 2011 Lukas Nykryn <lnykryn@redhat.com> 8.45.41-1 |
209 |
initscripts which exist in run-level 7 can be run. This ensures |
- fix check for dhcp6c pid (#568896) |
210 |
that the supervised service is run, if one exists, and protects |
|
211 |
against running "service httpd restart" [SME: 61, 1495] |
* Tue Nov 22 2011 Lukas Nykryn <lnykryn@redhat.com> 8.45.40-1 |
212 |
|
- exit arping on first response (#744734) |
213 |
|
|
214 |
* Fri Nov 9 2007 Karanbir Singh <kbsingh@centos.org> 8.45.17.EL-1.el5.centos.1 |
* Tue Nov 01 2011 Petr Lautrbach <plautrba@redhat.com> 8.45.39-1 |
215 |
- roll in CentOS Branding Changes |
- suppress remove error message during boot (#679998) |
216 |
|
- fix logic error with removing arp_ip_target (#745681) |
217 |
|
|
218 |
|
* Fri Jun 24 2011 Bill Nottingham <notting@redhat.com> 8.45.38-2 |
219 |
|
- don't use existing LANG when in startx/xinit (#713988) |
220 |
|
|
221 |
|
* Tue Jun 07 2011 Petr Lautrbach <plautrba@redhat.com> 8.45.38-1 |
222 |
|
- revert patch from #705236 |
223 |
|
|
224 |
|
* Tue Jun 07 2011 Petr Lautrbach <plautrba@redhat.com> 8.45.37-1 |
225 |
|
- add /etc/sysctl.d/ support |
226 |
|
Resolves: rhbz#624385 |
227 |
|
|
228 |
|
* Wed Jun 01 2011 Harald Hoyer <harald@redhat.com> 8.45.36-1 |
229 |
|
- add net_log |
230 |
|
Resolves: rhbz#507515 |
231 |
|
- do not umount mount points with nfs in the path |
232 |
|
Resolves: rhbz#703203 |
233 |
|
- remove /var/run/subsys/rhsm on startup |
234 |
|
Resolves: rhbz#705236 |
235 |
|
|
236 |
|
* Wed Apr 27 2011 Harald Hoyer <harald@redhat.com> 8.45.35-2 |
237 |
|
- fixed support "#" in interface names |
238 |
|
|
239 |
|
* Tue Apr 19 2011 Harald Hoyer <harald@redhat.com> 8.45.35-1 |
240 |
|
- fix VLAN configs with non-numeric interface names |
241 |
|
Resolves: rhbz#462095 |
242 |
|
- do not ignore IPv6 aliases |
243 |
|
Resolves: rhbz#612877 |
244 |
|
- support vlan tag 0 |
245 |
|
Resolves: rhbz#624704 |
246 |
|
- clarify comment of checkpid() |
247 |
|
Resolves: rhbz#637176 |
248 |
|
- specify DEVICETYPE for InfiniBand |
249 |
|
Resolves: rhbz#648524 |
250 |
|
- fix grep in lang.csh |
251 |
|
Resolves: rhbz#649995 |
252 |
|
- support "#" in interface names |
253 |
|
Resolves: rhbz#664091 |
254 |
|
- fixed sysctl calls fail with VLANs |
255 |
|
Resolves: rhbz#665601 |
256 |
|
- fixed loop for switched MACs |
257 |
|
Resolves: rhbz#669728 |
258 |
|
- fixed dmraid output parsing |
259 |
|
Resolves: rhbz#671386 |
260 |
|
- fixed MASTER in double quotes |
261 |
|
Resolves: rhbz#674221 |
262 |
|
- don't do force/lazy umount for the first nfs umount |
263 |
|
Resolves: rhbz#676851 rhbz#687890 |
264 |
|
- fixed DHCPv6 if no IPv4 address configured |
265 |
|
Resolves: rhbz#684909 |
266 |
|
- disable link checking when PERSISTENT_DHCLIENT is set |
267 |
|
Resolves: rhbz#685038 |
268 |
|
- no more noisy output for iscsid check during shutdown or reboot |
269 |
|
Resolves: rhbz#687849 |
270 |
|
- clarified mount option in netfs |
271 |
|
Resolves: rhbz#689898 |
272 |
|
|
273 |
|
* Tue Apr 12 2011 Harald Hoyer <harald@redhat.com> 8.45.34-1 |
274 |
|
- if $LANG is set, don't override it |
275 |
|
Resolves: rhbz#692893 |
276 |
|
- fix arp_ip_target for ifup/ifdown |
277 |
|
Resolves: rhbz#604669 |
278 |
|
- add udev rules for OSX Devices (1731/2) |
279 |
|
Resolves: rhbz#653621 |
280 |
|
|
281 |
|
* Wed Oct 13 2010 Harald Hoyer <harald@redhat.com> 8.45.33-1 |
282 |
|
- don't turn of net on shutdown if iscsi is running |
283 |
|
Resolves: rhbz#583218 |
284 |
|
|
285 |
|
* Mon Sep 13 2010 Harald Hoyer <harald@redhat.com> 8.45.32-1 |
286 |
|
- readded missing 54-cu3088-fix.rules |
287 |
|
Related: rhbz#475721 |
288 |
|
|
289 |
|
* Mon Sep 13 2010 Harald Hoyer <harald@redhat.com> 8.45.31-1 |
290 |
|
- do not killall racoon with the full path |
291 |
|
Resolves: rhbz#567295 |
292 |
|
- fixed the interactive startup keys in translation |
293 |
|
Resolves: rhbz#566579 |
294 |
|
- do not clear the environment for daemon() |
295 |
|
Resolves: rhbz#564093 |
296 |
|
- call unicode_start with $UNIMAP instead of $SYSFONTACM |
297 |
|
Resolves: rhbz#557089 |
298 |
|
- fixed the network interface name grep in checks |
299 |
|
Resolves: rhbz#538863 |
300 |
|
- make /var/lib/xend a bind mount for read-only root systems |
301 |
|
Resolves: rhbz#526046 |
302 |
|
- do not try to activate individual dmraid subsets |
303 |
|
Resolves: rhbz#524356 |
304 |
|
- create /var/run/utmp* /var/log/wtmp* with the correct selinux context |
305 |
|
Resolves: rhbz#519748 |
306 |
|
- load the bonding driver, if bonding options are present in the ifcfg file |
307 |
|
Resolves: rhbz#516569 |
308 |
|
- run quotacheck after the local filesystems have been mounted |
309 |
|
Resolves: rhbz#499207 |
310 |
|
- add DHCP_HOSTNAME documentation to sysconfig.txt |
311 |
|
Resolves: rhbz#498052 |
312 |
|
- remove /var/run/dovecot/* also (not only /var/run/dovecot/*/*) |
313 |
|
Resolves: rhbz#492994 |
314 |
|
|
315 |
|
* Sat Jul 13 2009 Harald Hoyer <harald@redhat.com> 8.45.30-2 |
316 |
|
- fix raw path in initscript (#472891) |
317 |
|
- remove deprecation comments (#472891) |
318 |
|
- applied missing ipcalc patch for IPv6 address validation (#464268) |
319 |
|
- Resolves: rhbz#472891 rhbz#464268 |
320 |
|
|
321 |
|
* Tue Jul 07 2009 Phil Knirsch <pknirsch@redhat.com> 8.45.29-3 |
322 |
|
- Final fixes for IP address validation (#464268) |
323 |
|
- Added required 54-cu3088-fix.rules udev rules file (#475721) |
324 |
|
- Resolves: #464268,#475721 |
325 |
|
|
326 |
|
* Tue Jun 16 2009 Harald Hoyer <harald@redhat.com> 8.45.29-1 |
327 |
|
- cleanup /var/run/libvirt (#505600) |
328 |
|
- Resolves: rhbz#505600 |
329 |
|
|
330 |
|
* Thu May 14 2009 Harald Hoyer <harald@redhat.com> 8.45.28-1 |
331 |
|
- fixed "Determine reboot/halt via existing INIT_HALT environment variable. (#475006) |
332 |
|
- Resolves: rhbz#475006 |
333 |
|
|
334 |
|
* Wed May 06 2009 Harald Hoyer <harald@redhat.com> 8.45.27-1 |
335 |
|
- undeprecate rawdevices (#472891) |
336 |
|
- Resolves: rhbz#472891 |
337 |
|
|
338 |
|
* Mon May 04 2009 Harald Hoyer <harald@redhat.com> 8.45.26-1 |
339 |
|
- add md activation before lvm/device-mapper in netfs (#480627) |
340 |
|
- fixed SUBCHANNEL grep for s390 |
341 |
|
- Move the bridge member handling later in the ifdown sequence (#463325, Sean E. Millichamp <sean@bruenor.org>) |
342 |
|
- Allow changing of VLAN type even if the module is already loaded. (#495053, <pietro@bertera.it>) |
343 |
|
- add gfs2 to rc.sysinit mount (#494963) |
344 |
|
- support ETHTOOL_OPTS on bridge devices (#493255, <bbaetz@acm.org>) |
345 |
|
- Add vlan support for s390 HSI interfaces. (#490584) |
346 |
|
- Don't re-init an existing device, it causes errors. (#484411, <jpayne@redhat.com>) |
347 |
|
- Remove arp_ip_target on ifdown for bonding devices. (#483711) |
348 |
|
- Don't unmount the nfsd filesystem when unmounting nfs client mounts. (#481794, <sprabhu@redhat.com>) |
349 |
|
- Bring up ipsec interfaces last. (#481733) |
350 |
|
- Break deadlock by explicitly handling alias for CTC and IUCV (#475721) |
351 |
|
- Determine reboot/halt via existing INIT_HALT environment variable. (#475006) |
352 |
|
- Add some docs on BONDING_OPTS. (#472480) |
353 |
|
- Don't say that we're shutting off crypto if we aren't actually doing it. (#471944) |
354 |
|
- remove empty bridges (#463325) |
355 |
|
- Add a address check capability for IPv4 and IPv6 addresses. (#464268) |
356 |
|
- fail if HWADDR specified in ifcfg is not present in the system (#487718) |
357 |
|
- fix ifdown of vlan iface which is a bridge member (#481557) |
358 |
|
- add proper return codes for /etc/init.d/network (#481002) |
359 |
|
- fixed brigde setup (bug #463014) |
360 |
|
- Add an option for consoletype to always return 0. (#453798, <notting@redhat.com>) |
361 |
|
- Use the pidfile before running pidof in status(). (#440658) |
362 |
|
- Allow passing of arguments to dhcp6c (#437949, <pekkas@netcore.fi>) |
363 |
|
- Remove /.suspended as well on boot (#270861) |
364 |
|
- Allow use of either ESP only or AH only (#251494, <stijn.tintel@x-tend.be>) |
365 |
|
- Resolves: rhbz#251494,rhbz#270861,rhbz#437949,rhbz#440658,rhbz#453798, |
366 |
|
rhbz#463014,rhbz#463325,rhbz#464268,rhbz#471944,rhbz#472480, |
367 |
|
rhbz#475006,rhbz#475721,rhbz#475770,rhbz#480627,rhbz#481002, |
368 |
|
rhbz#481557,rhbz#481733,rhbz#481794,rhbz#483711,rhbz#484411, |
369 |
|
rhbz#487718,rhbz#490584,rhbz#493255,rhbz#494963,rhbz#495053 |
370 |
|
|
371 |
|
* Wed Nov 12 2008 Harald Hoyer <harald@redhat.com> 8.45.25-1 |
372 |
|
- fixed SUBCHANNEL grep statement (bug #459044) |
373 |
|
- Resolves: rhbz#459044 |
374 |
|
|
375 |
|
* Wed Nov 12 2008 Harald Hoyer <harald@redhat.com> 8.45.24-1 |
376 |
|
- fixed SUBCHANNEL grep statement (bug #459044) |
377 |
|
- Resolves: rhbz#459044 |
378 |
|
|
379 |
|
* Wed Nov 12 2008 Harald Hoyer <harald@redhat.com> 8.45.23-1 |
380 |
|
- fixed SUBCHANNEL grep statement (bug #459044) |
381 |
|
- Resolves: rhbz#459044 |
382 |
|
|
383 |
|
* Mon Nov 10 2008 Harald Hoyer <harald@redhat.com> 8.45.22-1 |
384 |
|
- refined SUBCHANNEL grep statement (bug #459044) |
385 |
|
- blkid has a -l option to pick a single device. Use it. (#470027) |
386 |
|
- don't mkswap on halt (#469823) |
387 |
|
- fixed bonding arp_ip_target handling (#467954) (Darcy Sherwood) |
388 |
|
- Resolves: rhbz#459044, rhbz#470027, rhbz#469823, rhbz#467954 |
389 |
|
|
390 |
|
* Tue Oct 14 2008 Harald Hoyer <harald@redhat.com> 8.45.21-1 |
391 |
|
- mount encrypted logical volumes during boot (#466115, Bill Nottingham) |
392 |
|
- Resolves: #466115 |
393 |
|
|
394 |
|
* Tue Sep 16 2008 Harald Hoyer <harald@redhat.com> 8.45.20-1 |
395 |
|
- changes to init scripts to better support stateless (#433702, <ahecox@redhat.com>) |
396 |
|
- call logger with full path (#447928, Mihai Vintila) |
397 |
|
- add a udevsettle before mounting _netdev devices (#452866, <bmr@redhat.com>) |
398 |
|
- reduce device initialization overhead for ccw devices (#437110, Glen Johnson) |
399 |
|
- Resolves: rhbz#433702 rhbz#452866 rhbz#447928 rhbz#437110 |
400 |
|
|
401 |
|
* Mon Mar 3 2008 Bill Nottingham <notting@redhat.com> 8.45.19.EL-1 |
402 |
|
- also skip network shutdown if there is a '_rnetdev' root device (part of #435358, <pjones@redhat.com>) |
403 |
|
|
404 |
|
* Thu Feb 07 2008 Bill Nottingham <notting@redhat.com>, Harald Hoyer <harald@redhat.com> 8.45.18.EL-1 |
405 |
|
- IKE_DHGROUP is now an option for IPsec configuration files, which allows |
406 |
|
to set the dh group used during PHASE 1 of IPsec SA (#251506) |
407 |
|
- arp_ip_target can now be used with a comma seperated IP list in BONDING_OPTS (#288151) |
408 |
|
- genhostid now generates only 32 bit hostids on 64 bit systems (#306811) |
409 |
|
- the check for the need of remounting the root file system read-writable |
410 |
|
is now refined (#334171) |
411 |
|
- quoted SUBCHANNELS and HWADDR options in network configuration files are |
412 |
|
now handled properly (#351291) |
413 |
|
- support for resuming from an encrypted swap has been added (#360071) |
414 |
|
- rc.sysinit now executes the proper configuration tools, if /.unconfigured |
415 |
|
is present (#426372) |
416 |
|
- Resolves: rhbz#251506 rhbz#288151 rhbz#306811 rhbz#334171 rhbz#351291 rhbz#360071 rhbz#426372 |
417 |
|
|
418 |
* Tue Aug 7 2007 Bill Nottingham <notting@redhat.com> 8.45.17.EL-1 |
* Tue Aug 7 2007 Bill Nottingham <notting@redhat.com> 8.45.17.EL-1 |
419 |
- fix netconsole service status (#223742) |
- fix netconsole service status (#223742) |