-
Notifications
You must be signed in to change notification settings - Fork 52
/
initscripts.spec
3988 lines (3218 loc) · 163 KB
/
initscripts.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# === GLOBAL MACROS ===========================================================
# According to Fedora Package Guidelines, it is advised that packages that can
# process untrusted input are build with position-idenpendent code (PIC).
#
# Koji should override the compilation flags and add the -fPIC or -fPIE flags by
# default. This is here just in case this wouldn't happen for some reason.
# For more info: https://fedoraproject.org/wiki/Packaging:Guidelines#PIE
%global _hardened_build 1
%global shared_requirements \
Requires: bash \
Requires: filesystem >= 3 \
Requires: coreutils \
Requires: gawk \
# =============================================================================
Name: initscripts
Summary: Basic support for legacy System V init scripts
Version: 10.26
Release: 1%{?dist}
License: GPL-2.0-only
URL: https://github.com/fedora-sysv/initscripts
Source: https://github.com/fedora-sysv/initscripts/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
%shared_requirements
Requires: findutils
Requires: grep
Requires: procps-ng
Requires: setup
Requires: systemd
Requires: util-linux
Requires: chkconfig
Requires: initscripts-service
Requires: initscripts-rename-device
Requires(pre): shadow-utils
Requires(post): coreutils
BuildRequires: filesystem >= 3
BuildRequires: gcc
BuildRequires: git
BuildRequires: gettext
BuildRequires: glib2-devel
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: setup
BuildRequires: make
%{?systemd_requires}
BuildRequires: systemd
Obsoletes: %{name} < 10.16-1
Obsoletes: network-scripts < 10.25-1
# === PATCHES =================================================================
# NOTE: 'autosetup' macro (below) uses 'git' for applying the patches:
# ->> All the patches should be provided in 'git format-patch' format.
# ->> Auxiliary repository will be created during 'fedpkg prep', you
# can see all the applied patches there via 'git log'.
# Upstream patches -- official upstream patches released by upstream since the
# ---------------- last rebase that are necessary for any reason:
#Patch000: example000.patch
# Downstream patches -- these should be always included when doing rebase:
# ------------------
#Patch100: example100.patch
# Downstream patches for RHEL -- patches that we keep only in RHEL for various
# --------------------------- reasons, but are not enabled in Fedora:
%if %{defined rhel} || %{defined centos}
#Patch200: example200.patch
%endif
# Patches to be removed -- deprecated functionality which shall be removed at
# --------------------- some point in the future:
%description
This package provides basic support for legacy System V init scripts, and some
other legacy tools & utilities.
# === SUBPACKAGES =============================================================
%package -n initscripts-rename-device
Summary: Udev helper utility that provides network interface naming
%shared_requirements
%description -n initscripts-rename-device
Udev helper utility that provides network interface naming
# ---------------
%package -n initscripts-service
Summary: Support for service command
BuildArch: noarch
%shared_requirements
Requires: systemd
Provides: /sbin/service
%description -n initscripts-service
This package provides service command.
# ---------------
%package -n netconsole-service
Summary: Service for initializing of network console logging
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%shared_requirements
Requires: glibc-common
Requires: iproute
Requires: iputils
Requires: kmod
Requires: sed
Requires: util-linux
Obsoletes: %{name} < 9.82-2
%description -n netconsole-service
This packages provides a 'netconsole' service for loading of netconsole kernel
module with the configured parameters. The netconsole kernel module itself then
allows logging of kernel messages over the network.
# ---------------
%package -n readonly-root
Summary: Service for configuring read-only root support
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%shared_requirements
Requires: cpio
Requires: findutils
Requires: hostname
Requires: iproute
Requires: ipcalc
Requires: util-linux
Obsoletes: %{name} < 9.82-2
%description -n readonly-root
This package provides script & configuration file for setting up read-only root
support. Additional configuration is required after installation.
Please note that readonly-root package is considered deprecated with limited support.
Please use systemd-volatile-root functionality instead, if possible.
# === BUILD INSTRUCTIONS ======================================================
%prep
%autosetup -S git
# ---------------
%build
%make_build PYTHON=%{__python3}
# ---------------
%install
%make_install NO_NETWORK_SCRIPTS=true
# This installs the NLS language files:
%find_lang %{name}
%if "%{_sbindir}" == "%{_bindir}"
# Some files get installed wrong, but if $(sbindir) is overriden, the build fails :(
mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/
%endif
# =============================================================================
%post
%systemd_post import-state.service loadmodules.service
%preun
%systemd_preun import-state.service loadmodules.service
%postun
%systemd_postun import-state.service loadmodules.service
# ---------------
%post -n netconsole-service
%systemd_post netconsole.service
%preun -n netconsole-service
%systemd_preun netconsole.service
%postun -n netconsole-service
%systemd_postun netconsole.service
# ---------------
%post -n readonly-root
%systemd_post readonly-root.service
%preun -n readonly-root
%systemd_preun readonly-root.service
%postun -n readonly-root
%systemd_postun readonly-root.service
# === PACKAGING INSTRUCTIONS ==================================================
%files -f %{name}.lang
%license COPYING
%doc doc/sysconfig.txt
# NOTE: /etc/profile.d/ is owned by setup package.
# /etc/sysconfig/ is owned by filesystem package.
%dir %{_sysconfdir}/rc.d
%dir %{_sysconfdir}/rc.d/init.d
%dir %{_sysconfdir}/rc.d/rc[0-6].d
%dir %{_sysconfdir}/sysconfig/console
%dir %{_sysconfdir}/sysconfig/modules
%dir %{_libexecdir}/%{name}
%dir %{_libexecdir}/%{name}/legacy-actions
# ---------------
%{_sysconfdir}/rc.d/init.d/functions
# RC symlinks:
%{_sysconfdir}/rc[0-6].d
%{_sysconfdir}/init.d
# ---------------
%{_bindir}/usleep
%{_sbindir}/consoletype
%{_sbindir}/genhostid
%{_libexecdir}/import-state
%{_libexecdir}/loadmodules
%{_prefix}/lib/systemd/system/import-state.service
%{_prefix}/lib/systemd/system/loadmodules.service
%{_mandir}/man1/*
# =============================================================================
%files -n initscripts-rename-device
%{_prefix}/lib/udev/rename_device
%{_udevrulesdir}/*
# ---------------
%files -n initscripts-service
%dir %{_libexecdir}/%{name}
%dir %{_libexecdir}/%{name}/legacy-actions
%{_sbindir}/service
%{_mandir}/man8/service.*
# ---------------
%files -n netconsole-service
%config(noreplace) %{_sysconfdir}/sysconfig/netconsole
%{_libexecdir}/netconsole
%{_prefix}/lib/systemd/system/netconsole.service
# ---------------
%files -n readonly-root
%dir %{_sharedstatedir}/stateless
%dir %{_sharedstatedir}/stateless/state
%dir %{_sharedstatedir}/stateless/writable
%config(noreplace) %{_sysconfdir}/rwtab
%config(noreplace) %{_sysconfdir}/statetab
%config(noreplace) %{_sysconfdir}/sysconfig/readonly-root
%{_libexecdir}/readonly-root
%{_prefix}/lib/systemd/system/readonly-root.service
# =============================================================================
%changelog
* Tue Aug 27 2024 Jan Macku <[email protected]> - 10.26-1
- Translated using Weblate (Turkish)
- netconsole: var/lock -> run/lock
- netconsole: source sysconfig/network only if it exists
- netconsole: remove unused variables
- netconsole: remove trailing whitespaces
- Translated using Weblate (Turkish)
* Tue Jun 25 2024 Jan Macku <[email protected]> - 10.25-1
- Revert "fix: return support for network-scripts for Fedora 40"
* Wed May 29 2024 Jan Macku <[email protected]> - 10.24-1
- Fix build when %_bindir==%_sbindir
* Tue Apr 16 2024 Jan Macku <[email protected]> - 10.23-1
- fix: return support for network-scripts for Fedora 40
* Wed Mar 06 2024 Jan Macku <[email protected]> - 10.22-1
- Translated using Weblate (Georgian)
- rename_device: free path after it is used
- rename_device: remove trailing whitespaces
* Wed Feb 07 2024 Jan Macku <[email protected]> - 10.21-1
- fedora: don't build network-scripts rpm in f40+ (2/2)
- ci: trigger copr build on every push to main branch
- ifup-routes: print warning when ADDRESS0 entry is missing
- fedora: don't build network-scripts rpm in f40+
* Tue Jan 30 2024 Jan Macku <[email protected]> - 10.20-1
- Translated using Weblate (Georgian)
- Add -r to while read as per shellcheck
- Fix splitting spaces in paths from statetab files
- build(deps): bump actions/upload-artifact from 3 to 4
- build(deps): bump github/codeql-action from 2 to 3
- Translated using Weblate (Georgian)
- Translated using Weblate (Czech)
- Translated using Weblate (Punjabi)
- Translated using Weblate (Portuguese (Brazil))
- build(deps): bump redhat-plumbers-in-action/differential-shellcheck
- build(deps): bump actions/checkout from 3 to 4
- Translated using Weblate (Hungarian)
- Translated using Weblate (Finnish)
- Translated using Weblate (Georgian)
- Translated using Weblate (Chinese (Simplified) (zh_CN))
- Translated using Weblate (English (United Kingdom))
- Translated using Weblate (Korean)
- Translated using Weblate (Ukrainian)
- Translated using Weblate (Swedish)
- Translated using Weblate (Polish)
- Update translation files
- Translated using Weblate (Korean)
* Fri May 05 2023 Jan Macku <[email protected]> - 10.19-1
- ci: update Packit configuration
- spec: add missing changelog entry
- Revert "releng: Enable Packit to handle Fedora updates"
- Revert "releng: Convert to rpmautospec"
- doc: update translations
- spec: remove changelog
* Thu Mar 23 2023 Jan Macku <[email protected]> - 10.18-1
- Translated using Weblate (English (United Kingdom))
- migrate to SPDX license
- ci(Mergify): configuration update
- Translated using Weblate (German)
- Translated using Weblate (English (United Kingdom))
- doc: update badges
- ci(lint): Add Differential PyLint GitHub Action
- ci(lint): Add permission `security-events: write`
- ci: Update Differential ShellCheck to `@v4`
- doc: fix markdown warnings and update badge
- ci: Setup CodeQL to replace deprecated LGTM
- releng: Enable Packit to handle Fedora updates
- releng: Convert to rpmautospec
- build(deps): bump redhat-plumbers-in-action/differential-shellcheck
* Wed Aug 24 2022 Jan Macku <[email protected]> - 10.17-1
- service: Exit when `/etc/init.d` is missing
- ci: Update workflows to run on main branch
- ci: remove differential-shellcheck configs
- doc: Use main branch in links
- dependabot: Monthly updates
- ci(Mergify): configuration update
- Translated using Weblate (Georgian)
- Translated using Weblate (Georgian)
- ci: Update `packit.yml`
- ci: Update Github workflows & add Dependabot
- Translated using Weblate (Estonian)
- Translated using Weblate (Georgian)
- Translated using Weblate (Georgian)
- Translated using Weblate (Czech)
- Drop unnecessary obsoletes
* Wed Feb 23 2022 Adam Williamson <[email protected]> - 10.16-2
- Drop unnecessary obsoletes
* Wed Feb 23 2022 Jan Macku <[email protected]> - 10.16-1
- spec: Move rename_device to subpackage `initscripts-rename-device`
* Tue Feb 15 2022 Jan Macku <[email protected]> - 10.15-1
- spec: network-scripts needs to depend on dbus-tools for NetworkManager detection
- packit: Run copr builds on release as well
- ci: Update `.packit.yml` to run on `c8s` `c9s` and `rawhide`
- Translated using Weblate (Finnish)
- ci: Use Differential ShellCheck action
- ci(Mergify): configuration update
* Mon Jan 24 2022 Jan Macku <[email protected]> - 10.14-1
- ifup-routes: Revert quotes
- ifup-routes: Use `ip replace` only on type `route`
- ci(Mergify): configuration update
- ci: remove testing branch from `shellcheck_test.yml`
* Thu Jan 13 2022 Jan Macku <[email protected]> - 10.13-1
- ifup-routes: Log when using `ip $type replace`
- ifup-routes: Use `ip route repace` to avoid race
- Translated using Weblate (German)
- Add LGTM badges to README
- ci: set default merge method to rebase
- ci: disable comments under opened PR in order to fix CI
- network scripts: do not use c-style for-loop
- network scripts: replace "<<<" with pipe
- rc.d/functions: do not use "+=" to concatenate string
- ci: Use default github-token (#395)
- ci(Mergify): configuration update (#394)
- ci: Output shellcheck results using PR comments (#393)
- ci: Update path to csdiff repository (#391)
- spec: Fix issue with $NEXT_VERSION (#390)
- Translated using Weblate (Indonesian)
- Translated using Weblate (Spanish)
- Translated using Weblate (Czech)
* Fri Sep 03 2021 Jan Macku <[email protected]> - 10.12-1
- spec: Update relation between initscripts and initscripts-service (#386)
* Fri Aug 27 2021 Jan Macku <[email protected]> - 10.11-1
- specfile: Update obsoletes to allow upgrades (#385)
* Thu Aug 26 2021 Jan Macku <[email protected]> - 10.10-1
- Translated using Weblate (Friulian) (#381)
- Translations update from Weblate (#378)
- added veth support
- ifup-eth: add a new PERSISTENT_DHCLIENT_IPV6 option for IPv6 dhclient daemon
- ifdown removes veth pair if both peers are down
- rename_device: also support dracut-style kernel cmdline configuration
- spec: Mark network-scripts as deprecated
- spec: Initscripts now requires chkconfig (#374)
- Translations update from Weblate (#371)
- spec: Move service script into subpackage
- ci: Onboard initscripts to Packit
- ci: Migrate from Travis to GH Actions
* Mon Feb 15 2021 Jan Macku <[email protected]> - 10.09-1
- doc: Document ARPING_WAIT and ARPING_UPDATE_WAIT
- network scripts: Avoid infinite loop of arping
* Thu Feb 4 2021 Jan Macku <[email protected]> - 10.08-1
- network: fix condition in set_link_up()
- spec: sync with Fedora
* Fri Jan 22 2021 Jan Macku <[email protected]> - 10.07-1
- doc: Fix "Duplicated string found in the file."
- doc: Documents RES_OPTIONS option
- doc: Documents ifcfg option LINKSTATUS
- ci: use up to date keywords and fix some warnings
- network: fix set_link_up()
- network: add option to keep the link down
- Rework of shell ci
- Translations update from Weblate
* Fri Nov 13 2020 Jan Macku <[email protected]> - 10.06-1
- service: catch unsupported action keywords
- makefile: Use rpmdev-bumpspec's legacy date option
* Fri Nov 06 2020 Jan Macku <[email protected]> - 10.05-1
- service: Prevent variables from globbing
- init.d/functions: Make usage msgs more clear
- network-scripts: Use net_log() instead of logger
- Allow updating rfkill switch status while in readonly root mode
- Add info into specfile about readonly-root deprecation
- Allow updating mlocate.db while in readonly root mode
- rc.d/functions: replace grep's --quiet with -q
- Add warning to warn user when ETHTOOL_OPTS is set and ethtool binary is missing - Olav Vitters
- Fix spacing in Makefile
- Add optional 'dev' keyword
* Tue Jul 14 2020 Jan Macku <[email protected]> - 10.04-1
- Maintain permisision to set umask
- rwtab: Add support for chrony
- Correct spelling, IP, …
- Fix spelling, for more info
- Fix spelling of SELinux
- Translations update from Weblate
* Tue Mar 24 2020 Jan Macku <[email protected]> - 10.03-1
- Replace grep -EL with subshell since -L changed behaviour
- Wait for scope link addresses as well as for scope global addresses
- Remove deprecated option -m of pidof
- Use function is_true for testing true conditions
- Adding new travis job for testing shell-scripts
- Remove zanata conf
- pull latest translations
- Update of translations and remove files with no translations
- Fix service network stop cmd
- Change spacing of service file to folow spacing of project
- network-function: bridges are created by ifup-eth
- Initscripts no longer care about rc.local
- Repalace hardcoded tests for yes and no with testing functions
- ifup-eth: Fix bridge setting stp option
- Fix bug in service(8)
- ifup-eth: Check that device name is set
- Fix missing python3 during build phase
- rc.d/functions: fix escape sequence being output under systemd service units
- Add ip6gre tunnel option
- ifup/ifdown: print DEPRECATION_WARNING_ISSUED waring info after source_config
* Fri Jun 28 2019 Jan Macku <[email protected]> - 10.02-1
- network: don't fail with IFDOWN_ON_SHUTDOWN
- rc.d/functions: remove support cgroups
- Create symlink (/etc/init.d) to /etc/rc.d/init.d
- Add option to wait until target is reachable
- ifup-eth: apply PERSISTENT_DHCLIENT to IPv6 dhclient daemon
- ifup-post: fix incorrect condition for RESOLV_MODS
- make tag: updated message
- make release-commit: do not create tag automatically
* Mon Aug 06 2018 David Kaspar [Dee'Kej] <[email protected]> - 10.01-1
- network/ifup/ifdown: deprecations warnings redirected to stderr
- ifup-eth: use 'bc' instead of 'expr' when computing $forward_delay
- network/ifup/ifdown: deprecation warnings for 'network-scripts' added
- network: parsing of /proc/mounts returned
* Thu Jun 21 2018 David Kaspar [Dee'Kej] <[email protected]> - 10.00-1
- Move the /etc/rwtab.d & /etc/statetab.d folders to 'filesystem'
- specfile: fix failing build because of incorrect use of %{_isa}
* Thu Jun 14 2018 David Kaspar [Dee'Kej] <[email protected]> - 9.83-1
- network-scripts: Add previously dropped error checking
- network-scripts: Replace brctl with ip-link
- Makefile: new release-commit rule added
- src/rename_device.c: GCC warnings about unused return value suppressed
- src/usernetctl.c: GCC warnings about unused return value suppressed
- Makefile: allow sub-makefiles to run in parallel
- specfile: netconsole service moved to /usr/libexec
- specfile: services from /usr/lib/systemd moved to /usr/libexec
- specfile: summary & description updated
- specfile: no longer needed conflicts dropped
- specfile: requirements cleanup
- specfile: obsoletes on previous version of initscripts package added
- specfile: network-scripts subpackage created
- specfile: readonly-root subpackage created
- specfile: netconsole-service subpackage created
- README.md: Travis CI build icon added
- .travis.yml: check the 'make install' proceeds as well
- .travis.yml: initial commit
- README.md: bug reporting described
- README.dm: future of initscripts described
- README.md: description added
- README.md: references to old git branches added
- README.md: initial commit
- network-scripts: setting of firewall ZONE fixed
- ifdown-post: artifact whitespace removed from the DBus call
- l10n: drop .tx directory
- l10n: add zanata.xml
* Mon Jun 04 2018 David Kaspar [Dee'Kej] <[email protected]> - 9.82-1
- Makefile: make the creation of symlinks relative to path again
- specfile: trailing file of netreport removed
* Thu May 31 2018 David Kaspar [Dee'Kej] <[email protected]> - 9.81-1
- src/consoletype.c: deprecation warning added
- src/genhostid.c: deprecation warning added
- src/genhostid.c: fixed to not override /etc/hostid if it already exists
- src/usleep.c: GCC warnings fixed
- nis-domainname.service removed
- fedora-* services renamed to more general names
- specfile: missing fedora-domainname.service returned in systemd macros
- COPYING updated to latest GNU version (GPLv2+)
- network-scripts: control 'network' service with alternatives as well
- netreport functionality dropped
- networks moved into 'setup' package
- lang.{sh,csh} moved into setup package
- lang.{sh,csh} cleanup before moving to 'setup' package
- src/sushell moved into 'policycoreutils' package
- src/shvar.* removed
- po/xgettext_sh removed
- sys-unconfig removed
- Outdated files from doc/ folder removed
- make archive: ChangeLog generating removed
- network-scripts: ifup & ifdown -- use alternatives system
- adjtime moved into 'util-linux' package
- specfile: simplified & updated to new repository layout
- .gitignore files updated to new repository layout
- Makefile simplified & updated to new repository layout
- po/Makefile simplified & updated to new repository layout
- src/Makefile simplified & updated to new repository layout
- Repository scheme updated to new layout
- fedora-readonly: command substitution warning fixed (null-byte input)
* Fri May 25 2018 David Kaspar [Dee'Kej] <[email protected]> - 9.80-1
- sysconfig/readonly-root: Clarify the usage of readonly-root
- use proper shebang where appropriate
- specfile: remove the systemctl call in the %postun phase
- network-functions: use tr to upper case strings rather than awk
- network-functions: add error messages for bonding installation
- ifdown-eth: no longer needed 'pidof -x dhclient' condition removed
- netconsole: LSB header added
- po/xgettext_sh*: converted to use to python3
- network.service: 'reload' removed
- ifup-tunnel: Support 'external' tunnels
- spec: add gcc to BuildRequires
- init.d/functions: fix sourcing for ksh
* Tue Jan 02 2018 David Kaspar [Dee'Kej] <[email protected]> - 9.79-1
- ifdown-post: fix logical error in commit 5d61564
- network: add knob to optionally keep interfaces up during shutdown
- network-functions: use POSIX forwarding instead of bash-ism
* Wed Nov 08 2017 David Kaspar [Dee'Kej] <[email protected]> - 9.78-1
- specfile: drop dependancy on /etc/system-release
- ifup-post: always update nameserver & search entries in /etc/resolv.conf
- network-scripts: forward DBus calls to /dev/null
- Spelling fixes
- Tell git to ignore *.o
- Use grep -E instead of deprecated egrep
- Avoid some unnecessary stat calls
- systemd/system: symlinks for fedora-* services removed
- network-scripts: firewall-cmd replaced with DBus calls
- 'debugmode' subpackage dropped completely
- sysconfig/init* files dropped
- sysctl.conf.s390 dropped
- usleep: change the error message to print the full replacement commandline
* Tue Aug 15 2017 David Kaspar [Dee'Kej] <[email protected]> - 9.77-1
- specfile: Fix failing build for s390* architecture
- Drop no longer supported SPARC architecture
* Mon Aug 07 2017 David Kaspar [Dee'Kej] <[email protected]> - 9.76-1
- Makefile: return make archive for testing purposes
- Revert "Makefile: replace /var/run with /run"
* Mon Aug 07 2017 David Kaspar [Dee'Kej] <[email protected]> - 9.75-1
- Makefile: $ROOT variable is now empty by default
- Makefile: Fix additional error in commit b119d37d1
- ifup-eth: wait for STP to complete setup on bridge if $DELAY is not set
- init.d/functions: is_true() & is_false() extended by ON/OFF support
- init.d/functions: convert2sec() function added
* Fri Aug 04 2017 David Kaspar [Dee'Kej] <[email protected]> - 9.74-1
- Makefile: fix whitespace error in commit b119d37d1
* Thu Aug 03 2017 David Kaspar [Dee'Kej] <[email protected]> - 9.73-1
- Makefile: replace /var/run with /run
- Replace /var/run with /run everywhere
- Update references to sysctl.conf
- Drop sysctl.d/00-system.conf
- Drop 256term.{sh,csh}
- ARPUPDATE introduced
* Thu May 25 2017 David Kaspar [Dee'Kej] <[email protected]> - 9.72-1
- rename_device.c: rewrite of isCfg() function
- Add *.old to list of ignored files
- Replace usleep(1) calls with sleep(1) calls
* Wed May 24 2017 David Kaspar [Dee'Kej] <[email protected]> - 9.71-1
- usleep: print deprecation warning from now on
- sysconfig.txt: mention previously introduced NO_DHCP_HOSTNAME option
- DHCP_FQDN and DHCP_SEND_HOSTNAME introduced
- re-add missing $HOSTNAME initialization
- ifup: add support for VLAN_EGRESS_PRIORITY_MAP
- specfile: mark 'rwtab' and 'statetab' as config files
- killproc/status: add missing '-b <binary>' option
- ifdown-eth: we need to flush global scope as well
- ifup-eth: remove quote marks
- po: download latest translations from zanata
- rwtab: add /var/lib/systemd/timers
- Update initscripts.pot
- Port headers in xgettext_sh.py to 2017
* Fri Feb 24 2017 Lukáš Nykrýn <[email protected]> - 9.70-1
- move source to github
* Tue Aug 30 2016 David Kaspar [Dee'Kej] <[email protected]> - 9.69-1
- fedora-import-state should no longer try to create folder with empty name (#1370259)
* Tue Aug 9 2016 David Kaspar [Dee'Kej] <[email protected]> - 9.68-1
- fedora-import-state: skip modifying of existing folders (#1347436)
- functions: systemctl show now returns an error when unit does not exist
* Tue Jul 19 2016 Lukáš Nykrýn <[email protected]> - 9.67-1
- import-state: restore also sensitivity part of SELinux context
- network: run after network-pre.target
- ifup-eth: fix setting preferred_lft and valid_lft
- ifup: don't call nmcli on any lo device
- source_config: tell NetworkManger to load ifcfg file even for NM_CONTROLLED=no
- ipv6: wait for all global IPv6 addresses to leave the "tentative" state
- rwtab: /var/lib/nfs needs to copy the files
- functions: improve killing loops
- ifup: set valid_lft and preferred_lft to forever for static ip
- service: use systemd mangle for given service
* Mon Apr 25 2016 Lukáš Nykrýn <[email protected]> - 9.66-1
- remove autorelabel stuff
- autorelabel: turn quota off before relabeling
- network: Treat other tunnel interfaces, fixes ifdown stage
- autorelabel: call dracut-initramfs-restore before forced reboot
- sysconfig.txt: document PPPOE_EXTRA and PPPD_EXTRA
- ifdown-eth: fix comparison
* Mon Dec 07 2015 Lukáš Nykrýn <[email protected]> - 9.65-1
- init.d/functions: end with 0
- fedora-loadmodules: we don't have readahead anymore
- network-scripts: DEVICE and HWADRR could be quoted by apostrophe
- ifup-wireless: fix calling of phy_wireless_device
- ifdown: clean ipv4 localhost addresses
- ifup-eth: some bridge options are applied later
- service: improve status and stop function for daemon with intscripts
- init.d/functions: reload systemd if it can't see an initscript
* Thu Aug 06 2015 Lukáš Nykrýn <[email protected]> - 9.64-1
- network-functions: fix wireless detection
- fedora-readonly: use --make-slave with --bind mounts
- import-state: don't run restorecon when it does not exist
- network: modem type interfaces should explicitly start after and stop before common interfaces
- ifup-post: should be interpreted in bash
* Mon May 18 2015 Lukáš Nykrýn <[email protected]> - 9.63-1
- remove ipcalc, it has its own package now
- network: tell NM to reload its configuration during start
- bonding: warn if the ifup for slave device failed
- sysctl.conf: drop SHMALL and SHMMAX, they have sane default values in kernel
- ifup: don't call NM for loopback
- clarify daemon() usage message
- rename_device: allow non-channel nics for s390x machines
- ifup: add missing quotes
* Thu Apr 09 2015 Lukáš Nykrýn <[email protected]> - 9.62-1
- network-functions: fix change_resolv_conf after grep update
- ifup-aliases: don't return with error when arping fails
- init.d/functions: rc.debug option to debug initscripts
- ifup-aliases: inherit ARPCHECK from parent device
- network: report that we can't shut down network for root on netfs
- ifdown-eth: use scope host for lo
* Thu Jan 22 2015 Lukáš Nykrýn <[email protected]> - 9.61-1
- specfile cleanup
- ifup-ipv6: set accept_ra to 2 when IPV6FORWARDING=yes and IPV6_AUTOCONF=yes
- ifup-post: check resolve.conf also with DNS2
- ifup-aliases: do not fail when only ipv6 addr is specified
- fedora-import-state.service: run a little bit later
- fedora-readonly: Updates for systemd random-seed handling
- network-functions: is_available_wait should wait even in the case that is_available returns 2
- ifdown-post: remove resolv.conf only in specific cases
- network-functions: fix check in install_bonding_driver
* Tue Dec 16 2014 Lukáš Nykrýn <[email protected]> - 9.60-1
- improve check for bond master in install bonding driver
- network-functions: reeplace iwconfig with iw
- ifup: fix typo
- ifdown-ipv6: reset addrgenmode to eui64 for device
* Wed Nov 12 2014 Lukáš Nykrýn <[email protected]> - 9.59-1
- adjust LINKDELAY when STP is on
* Thu Nov 06 2014 Lukáš Nykrýn <[email protected]> - 9.58-1
- ifup,vlan: fix typo
- doc: be consistent and use BOOTPROTO=none
* Tue Oct 07 2014 Zbigniew Jędrzejewski-Szmek - 9.57
- Remove /etc/inittab, /etc/crypttab, utmp, wtmp, btmp
* Tue Oct 07 2014 Lukáš Nykrýn <[email protected]> - 9.56-1
- network_function: return immediately when device is pres
ent
- add configurable DEVTIMEOUT
- fedora-import-state: do not clobber /
- network-functions: grep->fgrep in bonding masters matchi
ng
- 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
- network-functions: ETHTOOL_DELAY introduction patch
- use pie and relro by default
- custom naming for VLAN devices
- vi.po: fix parentheses
- ifup-wireless: add support for wowlan
- ifup-wireless: add support for wowlan (second part)
- ifup-aliases: do not bring up ipv6 for range files
- sys-unconfig: use poweroff instead of halt
- ifup-aliases: improve duplicate address detection
- network-functions: handle BONDING_OPTS better
- network: tell nm to wake the slaves
* Tue Jul 22 2014 Lukáš Nykrýn <[email protected]> - 9.55-1
- fix license handling
- ipcalc: -c allow netmask
- ipcalc: parse prefix more safely
- inittab: fix path and mention set-default
- don't require /sbin/sysctl
- init.d/functions: check parent dir of pid file for accessibility
- ifup-eth: some options for bridge can be applied after the bridge is up
- remove ppp from translation
* Tue Apr 15 2014 Lukáš Nykrýn <[email protected]> - 9.54-1
- move ppp support to ppp package
- remove fedora-configure
- network: detect if / is on netfs
- is_nm_handling: fix RE
- bonding: match whole name of interface
- network: add support for team devices
- ifup-wireless: fix syntax error
- fedora-readonly: fix prefix detection
* Wed Mar 26 2014 Lukáš Nykrýn <[email protected]> - 9.53-1
- bridging: add possibility to set prio and ageing
- ifup: add possibility to specify value for -w parameter of arping
- network: try to not compete with NM during boot
- fedora-domainname: DefaultDependencies=no
- service: add condrestart to allowed commands
- update ifup/ifdown NetworkManager interaction once more(#1036701, #1061810)
- network: modify ifup-wireless so it doesn't call exit
- set shmmax and shmall defaults to match rhel6 values (#1056547)
- update ifup/ifdown NetworkManager interaction (#1036701, #1061810)
- service: fix action matching
- remove ifup-ipx from spec
- Delete IPX support.
- remove dependency on sysvinit-tools
* Tue Jan 14 2014 Lukáš Nykrýn <[email protected]> - 9.52-1
- require procps-ng
* Tue Jan 14 2014 Lukáš Nykrýn <[email protected]> 9.51-1
- readonly-root: bind-mount only necessary subset of entries in rwtab
- readonly-root: Add /var/log/audit/audit.log to rwtab
- readonly-root: restore SELinux context after bind mount
- rename_device: remove comments and trailing whitespaces
- service: suggest using systemctl if unknown action is used
- ifup-eth: fix typo in error message
- use iw instead of iwconfig and friends
- update functions who call nmcli
- ifdown: fix typo in nmcli call
* Tue Sep 03 2013 Lukas Nykryn <[email protected]> - 9.50-1
- ipcalc: support RFC3021 (#997271)
- 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
* Fri Jul 12 2013 Lukáš Nykrýn <[email protected]> - 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 <[email protected]> - 9.47-1
- network-functions: to determine state of nscd check socket not lock (#960779)
- sysconfig.txt advised saslauthd -a instead 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 <[email protected]> - 9.46-1
- add /var/lib/NetworkManager
- add ipip6 tunneling support (#928232, [email protected])
- 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 <[email protected]> - 9.45-2
- provides /sbin/service
* Fri Mar 15 2013 Lukáš Nykrýn <[email protected]> - 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 <[email protected]> - 9.44-1
- limit udev rule for network renaming (#907365, [email protected])
- 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 <[email protected]> - 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 (<[email protected]>)
* Wed Oct 31 2012 Bill Nottingham <[email protected]> - 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, <[email protected]>)
- fix calling of firewall-cmd in ifup-post/ifdown-post (<[email protected]>)
* Fri Oct 5 2012 Bill Nottingham <[email protected]> - 9.41-1
- debugmode: MALLOC_CHECK_ is not thread safe. Don't enable it by default (#853175)
- Add support for 256 color terminals (<[email protected]>)
- ifdown-eth: be less strict about VLAN name (#505314, <[email protected]>)
- drop prefdm
- ifup-eth: allow duplicate address detection to be disabled (<[email protected]>)
- process rule6-* for sit devices (#840009, <[email protected]>)
* Mon Aug 6 2012 Bill Nottingham <[email protected]> - 9.40-1
- drop support for booting non-systemd systems
- drop legacy commands: getkey, fstab-decode, testd
* Fri Jun 29 2012 Bill Nottingham <[email protected]> - 9.39-1
- assorted documentation cleanups
- typo, spelling, licenese clean up (<[email protected]>)
- service: add support for legacy custom actions packaged in
/usr/libexec/initscripts/legacy-actions/<script>/<action>
- network-functions: handle quoted HWADDR (#835372)
- allow bridge names that start with '-' (<[email protected]>)
- remove all non-legacy uses of /sbin/route (#682308)
- move default sysctl.conf to /usr/lib/sysctl.d (#760254)
* Fri Mar 16 2012 Bill Nottingham <[email protected]> - 9.37-1
- Add support for firewalld zones (#802415, from <[email protected]>)
* Mon Mar 12 2012 Bill Nottingham <[email protected]> - 9.36-1
- ifup-aliases: fix IFS usage mangling of device names (#802119)
- ifup/ifdown: fix typo (#802055, <[email protected]>)
* Fri Mar 9 2012 Bill Nottingham <[email protected]> - 9.35-1
- use the same DHCP lease file names as NetworkManager, where appropriate
- copy network state from initramfs with a systemd service, not inline (<[email protected]>)
- sysconfig.txt: clean up section on disabling IPv6
- ifup: allow for ifup-$TYPE/ifdown-$TYPE
- fedora-readonly.service: drop StandardInput=tty (#785662)
- sysconfig.txt: document additional ETHTOOL_OPTS enhancements (<[email protected]>)
- port assorted ancient ifup-XYZ scripts away from ifconfig
- don't use ifconfig in ifup-aliases (#721010, 588993, based on <[email protected]>)
- fedora-storage-init: handle dmraid sets with spaces (#728795, <[email protected]>)
- fedora-readonly: don't exit with an error if SEinux isn't active. (#768628)
- init.d/network: fix checks for network filesystems (#760018)
- fedora-wait-storage: drop stdin/stdout/stderr (#735867)
- netfs: move to legacy package
- translation updates
* Tue Oct 25 2011 Bill Nottingham <[email protected]> - 9.34-1
- read locale.conf if it exists (#706756)
- ifdown: fix logic error with removing arp_ip_target (#745681)
* Wed Oct 12 2011 Bill Nottingham <[email protected]> - 9.33-1
- netconsole: only use the first ARP response (#744309, <[email protected]>)
- udev/rules.d/88-clock.rules: drop this entirely, as it causes issues in conjunction with systemd
- init.d/network: be less picky about ifcfg file names. (#742276)