diff options
| author | Roy Li <rongqing.li@windriver.com> | 2015-01-26 15:38:39 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-08-07 14:51:31 -0400 |
| commit | 4eeed5b532c9b8336d3d53581de93e5959251ca0 (patch) | |
| tree | 74be1853c51adabefae6db97832e79818d7fe508 /recipes-security/selinux/policycoreutils/0001-mcstrans-fix-the-init-script.patch | |
| parent | aef47ac6a69acea9416f56b0a369bb1e30272c20 (diff) | |
| download | meta-selinux-4eeed5b532c9b8336d3d53581de93e5959251ca0.tar.gz | |
policycoreutils: enable mcstransd
mcstransd is a daemon to translate SELinux MCS/MLS sensitivity labels,
policycoreutils includes mcstransd whose version is newer than that
from http://mcstrans.sourcearchive.com/
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'recipes-security/selinux/policycoreutils/0001-mcstrans-fix-the-init-script.patch')
| -rw-r--r-- | recipes-security/selinux/policycoreutils/0001-mcstrans-fix-the-init-script.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-security/selinux/policycoreutils/0001-mcstrans-fix-the-init-script.patch b/recipes-security/selinux/policycoreutils/0001-mcstrans-fix-the-init-script.patch new file mode 100644 index 0000000..39be80a --- /dev/null +++ b/recipes-security/selinux/policycoreutils/0001-mcstrans-fix-the-init-script.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | [PATCH] mcstrans: fix the init script | ||
| 2 | |||
| 3 | Upstream-Status: Inappropriate [embedded specific] | ||
| 4 | |||
| 5 | replace daemon with start-stop-daemon, due to not daemon functions | ||
| 6 | |||
| 7 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
| 8 | --- | ||
| 9 | mcstrans/src/mcstrans.init | 2 +- | ||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/mcstrans/src/mcstrans.init b/mcstrans/src/mcstrans.init | ||
| 13 | index 2804ec0..c660290 100644 | ||
| 14 | --- a/mcstrans/src/mcstrans.init | ||
| 15 | +++ b/mcstrans/src/mcstrans.init | ||
| 16 | @@ -51,7 +51,7 @@ start(){ | ||
| 17 | fi | ||
| 18 | |||
| 19 | unset HOME MAIL USER USERNAME | ||
| 20 | - daemon $prog "$EXTRAOPTIONS" | ||
| 21 | + start-stop-daemon --start --quiet --exec $prog -- "$EXTRAOPTIONS" | ||
| 22 | RETVAL=$? | ||
| 23 | echo | ||
| 24 | if test $RETVAL = 0 ; then | ||
| 25 | -- | ||
| 26 | 1.9.1 | ||
| 27 | |||
