From 5f3962650f6e48e7ad0418f042ff2383ada925a2 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Tue, 19 Jan 2016 00:41:02 +0100 Subject: [PATCH 1/2] Describe _initrc_domtrans interfaces differently from the _domtrans ones Some ..._initrc_domtrans interfaces, which are used to execute an init script in the init scipt domain (initrc_t) are incorrectly summarized as executing the script in a specific domain. Fix this. --- bind.if | 3 ++- cgroup.if | 4 ++-- kdump.if | 3 ++- nis.if | 6 ++++-- ntp.if | 3 ++- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/bind.if b/bind.if index 1e974ca34..7193af634 100644 --- a/bind.if +++ b/bind.if @@ -2,7 +2,8 @@ ######################################## ## -## Execute bind server in the bind domain. +## Execute bind init scripts in +## the init script domain. ## ## ## diff --git a/cgroup.if b/cgroup.if index 2f8fa6f15..a8870b96c 100644 --- a/cgroup.if +++ b/cgroup.if @@ -42,8 +42,8 @@ interface(`cgroup_domtrans_cgconfig',` ######################################## ## -## Execute a domain transition to run -## CG config parser. +## Execute CG config init scripts in +## the init script domain. ## ## ## diff --git a/kdump.if b/kdump.if index f90bfb409..56fb3395b 100644 --- a/kdump.if +++ b/kdump.if @@ -21,7 +21,8 @@ interface(`kdump_domtrans',` ####################################### ## -## Execute kdump in the kdump domain. +## Execute kdump init scripts in +## the init script domain. ## ## ## diff --git a/nis.if b/nis.if index 5acf39524..718db6ea5 100644 --- a/nis.if +++ b/nis.if @@ -318,7 +318,8 @@ interface(`nis_domtrans_ypxfr',` ######################################## ## -## Execute nis server in the nis domain. +## Execute nis init scripts in +## the init script domain. ## ## ## @@ -337,7 +338,8 @@ interface(`nis_initrc_domtrans',` ######################################## ## -## Execute nis server in the nis domain. +## Execute ypbind init scripts in +## the init script domain. ## ## ## diff --git a/ntp.if b/ntp.if index 9fa886964..4e3c917e8 100644 --- a/ntp.if +++ b/ntp.if @@ -82,7 +82,8 @@ interface(`ntp_domtrans_ntpdate',` ######################################## ## -## Execute ntp server in the ntpd domain. +## Execute ntpd init scripts in +## the init script domain. ## ## ## From 1d85c9789d9d340fa6af3038cf4bea797c413187 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Tue, 19 Jan 2016 00:46:04 +0100 Subject: [PATCH 2/2] Fix typos in several interfaces This aims to make every interface description unique. --- amanda.if | 2 +- ntp.if | 2 +- shorewall.if | 3 ++- virt.if | 5 ++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/amanda.if b/amanda.if index ea4cdc74a..1de178801 100644 --- a/amanda.if +++ b/amanda.if @@ -105,7 +105,7 @@ interface(`amanda_rw_dumpdates_files',` ######################################## ## -## Search Amanda library directories. +## Manage Amanda library directories. ## ## ## diff --git a/ntp.if b/ntp.if index 4e3c917e8..bdce8b24c 100644 --- a/ntp.if +++ b/ntp.if @@ -63,7 +63,7 @@ interface(`ntp_run',` ######################################## ## -## Execute ntp server in the ntpd domain. +## Execute ntpdate server in the ntpd domain. ## ## ## diff --git a/shorewall.if b/shorewall.if index 7bd45934d..108ce759c 100644 --- a/shorewall.if +++ b/shorewall.if @@ -21,7 +21,8 @@ interface(`shorewall_domtrans',` ###################################### ## -## Execute a domain transition to run shorewall. +## Execute a domain transition to run shorewall +## using executables from /var/lib. ## ## ## diff --git a/virt.if b/virt.if index f8e216e8d..d8cd32526 100644 --- a/virt.if +++ b/virt.if @@ -189,7 +189,7 @@ interface(`virt_domtrans_bridgehelper',` ######################################## ## ## Execute a domain transition to -## run virt bridgehelper. +## run virt leaseshelper. ## ## ## @@ -434,8 +434,7 @@ interface(`virt_manage_config',` ######################################## ## -## Create, read, write, and delete -## virt image files. +## Read virt content. ## ## ##