/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 334 Revision 351
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL 2# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL
3# Written by Daniel Robbins (drobbins@gentoo.org) 3# Written by Daniel Robbins (drobbins@gentoo.org)
4 4
5 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Add a 'save' function /etc/init.d/clock, bug #19685.
8
9 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
10
11 Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
12 but the ppp link was already down, bug #15333.
13
14 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
15
16 Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
17 Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
18
19 From linux-2.5.68, we need to mount devpts on /dev/pts again ...
20 updated /sbin/rc for this.
21
22 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
23
24 Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
25
26 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
27
28 Make checking in unmount more strict, fixing bug #19007.
29
30 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
31
32 Add one more check to genenviron.awk, to spot cases where there is a
33 space between the variable and the '='.
34
35 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
36
37 Fix interactive shell not to have coloured prompt when used as a
38 dumb client, bug #18886. Fix was inspired by patch from
39 Matthew Kennedy <mkennedy@gentoo.org>.
40
41* rc-scripts 1.4.3.5 (06 Apr 2003)
42
43 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
44
45 Hopefully get the serial support sane again. Added /bin/consoletype
46 from Redhat to check for serial console. This should resolve bug
47 #18329 partly.
48
49 Add the --nocolor option to suppress the use of colors.
50
51 Change the 'status' option to return true if the service is running,
52 and false if stopped. This is only if the '--quiet' flag was also
53 given.
54
55 Change the start and stop options not to output or return false if
56 the '--quiet' flag was given.
57
58 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
59 as well, fixing bug #18344.
60
61 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
62 Aron Griffis <agriffis@gentoo.org>.
63
64 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
65 or rebooting.
66
67 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
68
69 Fix bug #18329 ... $COLS was not setup properly for serial console.
70
71 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
72
73 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
74 Fix a problem where it might not have mounted the USB fs when usbcore
75 was compiled as module, and the kernel did not mount it by the time
76 the script was started. Get it to rather check what filesystems is
77 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
78 later 2.4 kernels now also support the newer 'usbfs'.
79
80 Optimize RAID stuff in /etc/init.d/checkfs a bit.
81
82 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
83
84 Update sbin/rc-envupdate.sh.bash for bug #17549.
85
86* rc-scripts 1.4.3.4 (16 Mar 2003)
87
88 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
89
90 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
91 modifications (purple and display hostname, etc). Closes bug #16806.
92
93 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
94 work properly. Closes bug #17348.
95
96 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
97 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
98
99 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
100
101 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
102 <lostlogic@gentoo.org>!
103
104 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
105
106 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
107 and /etc/init.d/halt.sh for this.
108
109 Update /etc/fstab to correctly mount /proc with:
110
111 mount -t proc none /proc
112
113 Do the same for /dev/shm:
114
115 mount -t tmpfs none /dev/shm
116
117 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
118 noise if we exited a recovery console.
119
120 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
121 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
122
123 Bring down default gateway before adding new one .. this fixes issues
124 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
125 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
126 fix.
127
128 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
129 it fails for module-init-tools if the module is already loaded. This
130 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
131
132* rc-scripts 1.4.3.3 (09 Mar 2003)
133
5 09 March 2003; Martin Schlemmer <azarah@gentoo.org>: 134 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
6 135
7 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274. 136 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
8 137
9 Fix net.eth0 not to try and start an interface if already up. 138 Fix net.eth0 not to try and start an interface if already up.
10 139
15 144
16 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4 145 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
17 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we 146 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
18 are using a 2.5 kernel ... bug #17109. 147 are using a 2.5 kernel ... bug #17109.
19 148
20 02 March 2003; Martin Schlemmer <azarah@gentoo.org>: 149 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
21 150
22 Update /etc/init.d/hostname to only set the hostname to whatever is before 151 Update /etc/init.d/hostname to only set the hostname to whatever is before
23 the first '.', and then set the domainname to the rest, closing bug #14946. 152 the first '.', and then set the domainname to the rest, closing bug #14946.
24 153
25 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: 154 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
689 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: 818 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
690 819
691 Add /etc/DIR_COLORS as it is no longer shipped with fileutils, 820 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
692 and is needed for some fixes. 821 and is needed for some fixes.
693 822
694 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: 823 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
695 824
696 Update /etc/rc.conf to be more clear and state that you should 825 Update /etc/rc.conf to be more clear and state that you should
697 remove consolefont from startup if you do not use it. Should 826 remove consolefont from startup if you do not use it. Should
698 resolve bug #2174. 827 resolve bug #2174.
699 828
700 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : 829 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
701 830
702 Added user/group apache with uid/gid 81. 831 Added user/group apache with uid/gid 81.
703 832
704 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: 833 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
705 834
706 Remove the "-net" from the line setting the default gateway 835 Remove the "-net" from the line setting the default gateway
707 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for 836 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
708 noting this. 837 noting this.
709 838
710 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : 839 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
711 840
712 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs 841 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
713 which is installed with the nfs-utils package. Also tidied up some 842 which is installed with the nfs-utils package. Also tidied up some
714 really old, leftover junk like the non-supported stuff from rc5. 843 really old, leftover junk like the non-supported stuff from rc5.
715 Closes #1754. 844 Closes #1754.
716 845
717 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: 846 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
718 847
719 Remove creation of /var/run/utmpx from bootmisc again. Seems 848 Remove creation of /var/run/utmpx from bootmisc again. Seems
720 other people have wierd problems. 849 other people have wierd problems.
721 850
722* rc-scripts 1.3.4 (21 April 2002) 851* rc-scripts 1.3.4 (21 Apr 2002)
723 852
724 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: 853 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
725 854
726 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, 855 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
727 and /etc/csh.env. Update /etc/init.d/bootmisc to use this. 856 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
728 857
729 Implement the status commandline argument. Updated /sbin/runscript.sh 858 Implement the status commandline argument. Updated /sbin/runscript.sh
730 and /sbin/rc-help.sh for this. 859 and /sbin/rc-help.sh for this.
731 860
732 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE 861 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
733 and AFTER. 862 and AFTER.
734 863
735 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: 864 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
736 865
737 Update /etc/init.d/bootmisc to create /var/run/utmpx. This 866 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
738 is needed, else /usr/bin/newgrp segfault. 867 is needed, else /usr/bin/newgrp segfault.
739 868
740 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: 869 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
741 870
742 Update /etc/skel/.bash_profile to make it tcsh compadible. 871 Update /etc/skel/.bash_profile to make it tcsh compadible.
743 Thanks to Väinö Järvelä for this fix. 872 Thanks to Väinö Järvelä for this fix.
744 873
745 Update /etc/profile to also set the PS? variables if $SHELL 874 Update /etc/profile to also set the PS? variables if $SHELL
747 bootstrap work again. 876 bootstrap work again.
748 877
749 Move LVM stuff to checkfs to ensure that they get fscked. 878 Move LVM stuff to checkfs to ensure that they get fscked.
750 This resolves bug #1552. 879 This resolves bug #1552.
751 880
752* rc-scripts 1.3.3 (5 April 2002) 881* rc-scripts 1.3.3 (5 Apr 2002)
753 882
754 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: 883 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
755 884
756 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. 885 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
757 This is done to try and ensure system integrity. 886 This is done to try and ensure system integrity.
758 887
759 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: 888 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
760 889
761 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. 890 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
762 891
763 Add a error message to /etc/init.d/consolefont, resolving bug #1415. 892 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
764 893
765 Add a bash check to the code that sets the prompt, fixing bug #1078. 894 Add a bash check to the code that sets the prompt, fixing bug #1078.
766 895
767* rc-scripts 1.3.2 (24 Mar 2002) 896* rc-scripts 1.3.2 (24 Mar 2002)
768 897
769 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: 898 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
770 899
771 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc 900 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
772 for this. 901 for this.
773 902
774 With the "before" and "after" stuff, recursion levels was getting too high, 903 With the "before" and "after" stuff, recursion levels was getting too high,
788 Added $INPUTRC to /etc/profile, since too many people keep on bugging me, 917 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
789 and it seems it has fallen now to my discression. 918 and it seems it has fallen now to my discression.
790 919
791* rc-scripts 1.3.1 (23 Mar 2002) 920* rc-scripts 1.3.1 (23 Mar 2002)
792 921
793 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for 922 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
794 DHCP lease release from Jim Nutt. 923 DHCP lease release from Jim Nutt.
795 924
796 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release 925 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
797 since there are a lot of important bug fixes in here that are needed. 926 since there are a lot of important bug fixes in here that are needed.
798 927
799 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: 928 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
800 929
801 Resolve bug #1292. 930 Resolve bug #1292.
802 931
803 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to 932 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
804 Spidler. 933 Spidler.
805 934
806 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: 935 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
807 936
808 Update /sbin/rc to fix a 'cat mounts' instead of the correct 937 Update /sbin/rc to fix a 'cat mounts' instead of the correct
809 version, 'cat /proc/mounts'. 938 version, 'cat /proc/mounts'.
810 939
811 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: 940 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
812 941
813 Add initial support for the --quiet flag that suppress output. 942 Add initial support for the --quiet flag that suppress output.
814 943
815 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: 944 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
816 945
817 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc 946 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
818 as not all errors by depscan.sh is critical. It should be 947 as not all errors by depscan.sh is critical. It should be
819 reworked to do better error handeling. 948 reworked to do better error handeling.
820 949
821 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: 950 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
822 951
823 Fix the GID and UID of nobody and nogroup in /etc/passwd and 952 Fix the GID and UID of nobody and nogroup in /etc/passwd and
824 /etc/group to match those of Debian, FBSD and others. Thanks 953 /etc/group to match those of Debian, FBSD and others. Thanks
825 to those who reported it, and Woodchip for looking up the 954 to those who reported it, and Woodchip for looking up the
826 proper values. 955 proper values.
827 956
828 Update /etc/init.d/net.eth0 to properly down DHCP interfaces. 957 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
829 This resolves bug #1150, thanks to Paul Fleischer. 958 This resolves bug #1150, thanks to Paul Fleischer.
830 959
831 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: 960 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
832 961
833 Updated /etc/init.d/functions.sh not to use /usr/bin/basename, 962 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
834 as some users have /usr on seperate partition which is not 963 as some users have /usr on seperate partition which is not
835 mounted when depscan.sh is run the first time. 964 mounted when depscan.sh is run the first time.
836 965
837 Updated the checking for more than one service providing the 966 Updated the checking for more than one service providing the
838 same virtual function in /etc/init.d/depscan.sh. It should 967 same virtual function in /etc/init.d/depscan.sh. It should
839 be working now, and this also fix a problem that when there is no 968 be working now, and this also fix a problem that when there is no
840 service providing a virtual, counter was used uninitialized. 969 service providing a virtual, counter was used uninitialized.
841 970
842* rc-scripts 1.3.0 (10 March 2002) 971* rc-scripts 1.3.0 (10 Mar 2002)
843 972
844 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: 973 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
845 974
846 Resolved bug #1021; updated /etc/init.d/consolefont for this. 975 Resolved bug #1021; updated /etc/init.d/consolefont for this.
847 976
848 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 977 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
849 978
868 Also fixed try() for mounting /proc (maybe all mount commands). 997 Also fixed try() for mounting /proc (maybe all mount commands).
869 The function worked fine in a simulated test, but in real life failed 998 The function worked fine in a simulated test, but in real life failed
870 to detect a error when mounting /proc (remember to thank Grant for 999 to detect a error when mounting /proc (remember to thank Grant for
871 his UserMode ebuilds, and Guide). 1000 his UserMode ebuilds, and Guide).
872 1001
873* rc-scripts 1.2.9 (6 March 2002) 1002* rc-scripts 1.2.9 (6 Mar 2002)
874 1003
875 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1004 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
876 1005
877 General form updates and some piping fixes. 1006 General form updates and some piping fixes.
878 1007
879 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh 1008 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
880 to fix a problem where startDM.sh would be respawned repeatedly 1009 to fix a problem where startDM.sh would be respawned repeatedly
881 if xdm was not in the default runlevel. 1010 if xdm was not in the default runlevel.
882 1011
883* rc-scripts 1.2.8 (4 March 2002) 1012* rc-scripts 1.2.8 (4 Mar 2002)
884 1013
885 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1014 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
886 1015
887 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab 1016 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
888 to fix the "dead key" problem we had with xdm/gdm/kdm. We should 1017 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
889 move them to the xfree ebuild later on when things settles down. 1018 move them to the xfree ebuild later on when things settles down.
890 1019
894 where we had a invalid $PATH on boot in some cases. 1023 where we had a invalid $PATH on boot in some cases.
895 1024
896 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with 1025 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
897 the new sys-apps/kbd package. 1026 the new sys-apps/kbd package.
898 1027
899* rc-scripts 1.2.7 (3 March 2002) 1028* rc-scripts 1.2.7 (3 Mar 2002)
900 1029
901 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1030 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
902 1031
903 Fixed the problem of rc-scripts trying to start/stop a service multiple 1032 Fixed the problem of rc-scripts trying to start/stop a service multiple
904 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc 1033 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
905 for this. 1034 for this.
906 1035
915 Updated /etc/passwd to have users with no shell defined, use /bin/false 1044 Updated /etc/passwd to have users with no shell defined, use /bin/false
916 for security. 1045 for security.
917 1046
918 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 1047 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
919 1048
920 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1049 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
921 1050
922 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 1051 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
923 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 1052 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
924 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 1053 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
925 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 1054 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).

Legend:
Removed from v.334  
changed lines
  Added in v.351

  ViewVC Help
Powered by ViewVC 1.1.20