summaryrefslogtreecommitdiff
blob: 0335b7080ed8e5d1b52820d9c46b3828b0e16b17 (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
diff -urN policycoreutils-1.24.orig/scripts/genhomedircon policycoreutils-1.24/scripts/genhomedircon
--- policycoreutils-1.24.orig/scripts/genhomedircon	2005-04-13 10:44:58.000000000 -0400
+++ policycoreutils-1.24/scripts/genhomedircon	2005-06-23 23:48:10.432082157 -0400
@@ -121,8 +121,6 @@
 	return rc
 
 def oldgenhomedircon(filecontextdir, filecontext):
-	sys.stderr.write("Using genhomedircon in this fashion is supported for backwards compatability\n")
-	sys.stderr.write("Please update to the latest policy\n")
 	sys.stderr.flush()
 
 	if os.path.isdir(filecontextdir) == 0:
@@ -153,11 +151,6 @@
                 homedir = re.sub(r"[^/a-zA-Z0-9].*$", "", homedir)
                 if not prefixes.has_key(homedir):
                         prefixes[homedir] = ""
-        else:
-                if rc[0] != 256:
-                        sys.stderr.write("%s\n" % rc[1])
-                        sys.stderr.write("You do not have access to /etc/libuser.conf LU_HOMEDIRECTORY=\n")
-                        sys.stderr.flush()
 
         #the idea is that we need to find all of the home_root_t directories we do this by just accepting
         #any default home directory defined by either /etc/libuser.conf or /etc/default/useradd