Skip to contentSkip to conversation

Errors While Installing On Redhat 8.0

DISCUSSION Stephen D. Smalley 1 participant 1 message Feb 24, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · Russell Coker

That looks like a bug in policy/Makefile in selinux-small. The mv line in question should probably be prefixed with '-' to tell make to ignore such errors.

BTW In such situations it's usually best to just send the relevant messages and some context, the previous pages of successful operations is not needed.

Yes, someone previously mentioned this on the list. Patch attached.

--
Stephen Smalley, NSA
[email protected]

Index: selinux/policy/Makefile
===================================================================
RCS file: /home/pal/CVS/selinux/policy/Makefile,v
retrieving revision 1.24
retrieving revision 1.25

policy/Makefile +1 -1
diff -u -r1.24 -r1.25
@@ -67,7 +67,7 @@
 
 install-src: 
 	rm -rf $(SRCINSTALLDIR)/policy.old
-	mv $(SRCINSTALLDIR)/policy $(SRCINSTALLDIR)/policy.old
+	-mv $(SRCINSTALLDIR)/policy $(SRCINSTALLDIR)/policy.old
 	mkdir -p $(SRCINSTALLDIR)/policy
 	cp -R . $(SRCINSTALLDIR)/policy