blob: 038cb1fd344463bdda28f946206ca027cdb03394 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
From 845518a6f196e6e8c49ba38791c85e17276920e1 Mon Sep 17 00:00:00 2001
From: Xin Ouyang <Xin.Ouyang@windriver.com>
Date: Thu, 22 Aug 2013 13:37:23 +0800
Subject: [PATCH 3/4] fix update-alternatives for hostname
Upstream-Status: Inappropriate [only for Poky]
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
---
policy/modules/system/hostname.fc | 1 +
1 file changed, 1 insertion(+)
--- a/policy/modules/system/hostname.fc
+++ b/policy/modules/system/hostname.fc
@@ -1,4 +1,5 @@
/bin/hostname -- gen_context(system_u:object_r:hostname_exec_t,s0)
+/bin/hostname\.net-tools -- gen_context(system_u:object_r:hostname_exec_t,s0)
/usr/bin/hostname -- gen_context(system_u:object_r:hostname_exec_t,s0)
|