Displaying 4 results from an estimated 4 matches for "do_relabel".
2016 May 10
1
[PATCH] builder: run/schedule a SELinux relabel if needed
...nux.sh | 2 ++
13 files changed, 41 insertions(+), 1 deletion(-)
diff --git a/builder/website/centos.sh b/builder/website/centos.sh
index 5217aef..69670fe 100755
--- a/builder/website/centos.sh
+++ b/builder/website/centos.sh
@@ -96,4 +96,6 @@ virt-install \
--nographics \
--noreboot
+DO_RELABEL=1
+
source $(dirname "$0")/compress.sh $output
diff --git a/builder/website/compress.sh b/builder/website/compress.sh
index 2148804..4e09bf3 100644
--- a/builder/website/compress.sh
+++ b/builder/website/compress.sh
@@ -20,10 +20,26 @@
output=$1
+relabel_args=()
+
+if [ -n "$DO...
2016 Nov 28
2
[PATCH] builder: Rearrange how template-building scripts work.
...=$ks \
- --extra-args="ks=file:/`basename $ks` earlyprintk=pl011,0x9000000 ignore_loglevel console=ttyAMA0 no_timer_check printk.time=1 proxy=$http_proxy" \
- --disk $(pwd)/$output,size=6,format=raw \
- --serial pty \
- --location=$tree \
- --nographics \
- --noreboot
-
-DO_RELABEL=1
-
-source $(dirname "$0")/compress.sh $output
diff --git a/builder/website/centos.sh b/builder/website/centos.sh
deleted file mode 100755
index 69670fe..0000000
--- a/builder/website/centos.sh
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/bash -
-# virt-builder
-# Copyright (C) 2013-2016 Red...
2016 Jul 13
6
[PATCH 0/5] Fix SELinux
We can use the setfiles(8) command to relabel the guest filesystem,
even though we don't have a policy loaded nor SELinux enabled in the
appliance kernel.
This also deprecates or removes the old and broken SELinux support.
This patch isn't quite complete - I would like to add some tests to
the new API. I'm posting here to garner early feedback.
Rich.
2016 Jul 14
10
[PATCH v2 0/7] Fix SELinux
v1 -> v2:
- Add simple test of the setfiles API.
- Use SELinux_relabel module in virt-v2v (instead of touch /.autorelabel).
- Small fixes.
Rich.