Skip to contentSkip to conversation

Use IANA-managed domain example.com in examples

PATCH In review [email protected] 2 participants 3 messages Nov 9, 2021 – Nov 15, 2021 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use IANA-managed domain example.com in examples

From: Markus Linnala <[email protected]>

See: RFC 2606

foo.com seems to be privately owned.

---
 libsemanage/man/man5/semanage.conf.5    | 2 +-
 libsemanage/man/ru/man5/semanage.conf.5 | 2 +-
 libsemanage/src/semanage.conf           | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)
libsemanage/man/man5/semanage.conf.5 +1 -1
index 7d6f2fef..380b58be 100644
@@ -23,7 +23,7 @@ Management library writes to the SELinux policy module store directly (this is t
 Otherwise a socket path or a server name can be used for the argument.
 If the argument begins with "/" (as in "/foo/bar"), it represents the path to a named socket that should be used to connect the policy management
 server.
-If the argument does not begin with a "/" (as in "foo.com:4242"), it should be interpreted as the name of a remote policy management server
+If the argument does not begin with a "/" (as in "example.com:4242"), it should be interpreted as the name of a remote policy management server
 to be used through a TCP connection (default port is 4242 unless a different one is specified after the server name using the colon to separate
 the two fields).
 
libsemanage/man/ru/man5/semanage.conf.5 +1 -1
index cf65b3e6..548aa58d 100644
@@ -19,7 +19,7 @@ semanage.conf \- глобальный файл конфигурации для 
 Указать, как библиотека управления SELinux должна взаимодействовать с хранилищем политики SELinux. Если установлено "direct", библиотека управления SELinux выполняет запись напрямую в хранилище модулей политики SELinux (это значение по умолчанию).
 В ином случае в качестве аргумента может использоваться путь к сокету или имя сервера.
 Если аргумент начинается с "/" (как в "/foo/bar"), он представляет собой путь к именованному сокету, который следует использовать для подключения сервера управления политикой.
-Если аргумент не начинается с "/" (как в "foo.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
+Если аргумент не начинается с "/" (как в "example.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
 
 .TP
 .B root
libsemanage/src/semanage.conf +3 -2
index dc8d46b8..98d769b5 100644
@@ -24,8 +24,9 @@
 #  /foo/bar     - Write by way of a policy management server, whose
 #                 named socket is at /foo/bar.  The path must begin
 #                 with a '/'.
-#  foo.com:4242 - Establish a TCP connection to a remote policy
-#                 management server at foo.com.  If there is a colon
+#  example.com:4242
+#               - Establish a TCP connection to a remote policy
+#                 management server at example.com.  If there is a colon
 #                 then the remainder is interpreted as a port number;
 #                 otherwise default to port 4242.
 module-store = direct
Signature · 1 line
2.33.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · [email protected] writes:

From: Markus Linnala <[email protected]>

See: RFC 2606

foo.com seems to be privately owned.

Quoted 50 lines
---
 libsemanage/man/man5/semanage.conf.5    | 2 +-
 libsemanage/man/ru/man5/semanage.conf.5 | 2 +-
 libsemanage/src/semanage.conf           | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)
libsemanage/man/man5/semanage.conf.5 +1 -1
index 7d6f2fef..380b58be 100644
@@ -23,7 +23,7 @@ Management library writes to the SELinux policy module store directly (this is t
 Otherwise a socket path or a server name can be used for the argument.
 If the argument begins with "/" (as in "/foo/bar"), it represents the path to a named socket that should be used to connect the policy management
 server.
-If the argument does not begin with a "/" (as in "foo.com:4242"), it should be interpreted as the name of a remote policy management server
+If the argument does not begin with a "/" (as in "example.com:4242"), it should be interpreted as the name of a remote policy management server
 to be used through a TCP connection (default port is 4242 unless a different one is specified after the server name using the colon to separate
 the two fields).
 
libsemanage/man/ru/man5/semanage.conf.5 +1 -1
index cf65b3e6..548aa58d 100644
@@ -19,7 +19,7 @@ semanage.conf \- глобальный файл конфигурации для 
 Указать, как библиотека управления SELinux должна взаимодействовать с хранилищем политики SELinux. Если установлено "direct", библиотека управления SELinux выполняет запись напрямую в хранилище модулей политики SELinux (это значение по умолчанию).
 В ином случае в качестве аргумента может использоваться путь к сокету или имя сервера.
 Если аргумент начинается с "/" (как в "/foo/bar"), он представляет собой путь к именованному сокету, который следует использовать для подключения сервера управления политикой.
-Если аргумент не начинается с "/" (как в "foo.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
+Если аргумент не начинается с "/" (как в "example.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
 
 .TP
 .B root
libsemanage/src/semanage.conf +3 -2
index dc8d46b8..98d769b5 100644
@@ -24,8 +24,9 @@
 #  /foo/bar     - Write by way of a policy management server, whose
 #                 named socket is at /foo/bar.  The path must begin
 #                 with a '/'.
-#  foo.com:4242 - Establish a TCP connection to a remote policy
-#                 management server at foo.com.  If there is a colon
+#  example.com:4242
+#               - Establish a TCP connection to a remote policy
+#                 management server at example.com.  If there is a colon
 #                 then the remainder is interpreted as a port number;
 #                 otherwise default to port 4242.
 module-store = direct
Signature · 1 line
2.33.1
#2 lore raw
Quoted 4 lines · Petr Lautrbach
Quoted 2 lines · [email protected] writes:

From: Markus Linnala <[email protected]>

Quoted 8 lines
Quoted 5 lines

See: RFC 2606

foo.com seems to be privately owned.

This is merged now. Thanks!

Quoted 50 lines
Quoted 50 lines
---
 libsemanage/man/man5/semanage.conf.5    | 2 +-
 libsemanage/man/ru/man5/semanage.conf.5 | 2 +-
 libsemanage/src/semanage.conf           | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)
libsemanage/man/man5/semanage.conf.5 +1 -1
index 7d6f2fef..380b58be 100644
@@ -23,7 +23,7 @@ Management library writes to the SELinux policy module store directly (this is t
 Otherwise a socket path or a server name can be used for the argument.
 If the argument begins with "/" (as in "/foo/bar"), it represents the path to a named socket that should be used to connect the policy management
 server.
-If the argument does not begin with a "/" (as in "foo.com:4242"), it should be interpreted as the name of a remote policy management server
+If the argument does not begin with a "/" (as in "example.com:4242"), it should be interpreted as the name of a remote policy management server
 to be used through a TCP connection (default port is 4242 unless a different one is specified after the server name using the colon to separate
 the two fields).
 
libsemanage/man/ru/man5/semanage.conf.5 +1 -1
index cf65b3e6..548aa58d 100644
@@ -19,7 +19,7 @@ semanage.conf \- глобальный файл конфигурации для 
 Указать, как библиотека управления SELinux должна взаимодействовать с хранилищем политики SELinux. Если установлено "direct", библиотека управления SELinux выполняет запись напрямую в хранилище модулей политики SELinux (это значение по умолчанию).
 В ином случае в качестве аргумента может использоваться путь к сокету или имя сервера.
 Если аргумент начинается с "/" (как в "/foo/bar"), он представляет собой путь к именованному сокету, который следует использовать для подключения сервера управления политикой.
-Если аргумент не начинается с "/" (как в "foo.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
+Если аргумент не начинается с "/" (как в "example.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
 
 .TP
 .B root
libsemanage/src/semanage.conf +3 -2
index dc8d46b8..98d769b5 100644
@@ -24,8 +24,9 @@
 #  /foo/bar     - Write by way of a policy management server, whose
 #                 named socket is at /foo/bar.  The path must begin
 #                 with a '/'.
-#  foo.com:4242 - Establish a TCP connection to a remote policy
-#                 management server at foo.com.  If there is a colon
+#  example.com:4242
+#               - Establish a TCP connection to a remote policy
+#                 management server at example.com.  If there is a colon
 #                 then the remainder is interpreted as a port number;
 #                 otherwise default to port 4242.
 module-store = direct
Signature · 1 line
2.33.1