summaryrefslogtreecommitdiff
blob: 0d8b7805e1cd52c75a17944acfb9a3789d76c3a7 (plain)
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
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 1469)
+++ ChangeLog	(working copy)
@@ -1,6 +1,11 @@
 # ChangeLog for Gentoo System Intialization ("rc") scripts
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPLv2
 
+  03 Sep 2005; Martin Schlemmer <azarah@gentoo.org>:
+
+    Add warning about having LANG in env_whitelist, add TERM to system
+    env_whitelist, set argv[0] to '/bin/bash' and not 'runscript'.
+
   02 Sep 2005; Roy Marples <uberlord@gentoo.org>:
 
     Fixed netplug from stopping on the wrong interface
Index: src/env_whitelist
===================================================================
--- src/env_whitelist	(revision 1469)
+++ src/env_whitelist	(working copy)
@@ -16,6 +16,7 @@
 SHELL
 USER
 HOME
+TERM
 
 # From /sbin/init
 PATH
Index: src/runscript.c
===================================================================
--- src/runscript.c	(revision 1469)
+++ src/runscript.c	(working copy)
@@ -213,7 +213,8 @@
 	char *caller = argv[1];
 	int new = 1;
 	
-	myargs[0] = "runscript";
+	/* Need to be /bin/bash, else BASH is invalid */
+	myargs[0] = "/bin/bash";
 	while (argv[new] != 0) {
 		myargs[new] = argv[new];
 		new++;