[Bug 331731] Review Request: ltsp-server - LTSP5 server-side configurations and setup scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: ltsp-server - LTSP5 server-side configurations and setup scripts


https://bugzilla.redhat.com/show_bug.cgi?id=331731





------- Additional Comments From wtogami@xxxxxxxxxx  2007-10-30 18:53 EST -------
- Refuse to install the chroot with anaconda if selinux is enforcing.
- Remove rpmdb locks after anaconda is done installing.

--- ltsp-build-client.orig      2007-10-30 18:37:45.000000000 -0400
+++ ltsp-build-client   2007-10-30 18:52:46.000000000 -0400
@@ -32,6 +32,15 @@
    esac
 done
 
+# Anaconda chroot install will fail if selinux is enforcing
+# we need to port the workaround from mock...
+if [ -a /usr/sbin/getenforce ]; then
+   if [ `/usr/sbin/getenforce` == "Enforcing" ]; then
+      echo "ERROR: Cannot anaconda install chroot while SELinux is enforcing."
+      echo "Please use 'setenforce 0'"
+      echo "Do not forget to enable it after anaconda is done."
+   fi
+fi
 
 if [ "$LTSP_ROOTPATH" ]; then
    mkdir -p $LTSP_ROOTPATH ||  echo "ERROR: could not create directory
$LTSP_ROOTPATH";
@@ -43,3 +52,5 @@
        --rootpath $LTSP_ROOTPATH --kickstart=$LTSP_KICKSTART
 fi
 
+# remove locks: i386 chroot install on x86_64 would have incompatible locks
+rm -f $LTSP_ROOTPATH/var/lib/rpm/__db*



-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]