All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Lautrbach <plautrba@redhat.com>
To: markus.linnala@gmail.com, selinux@vger.kernel.org
Subject: Re: [PATCH] Use IANA-managed domain example.com in examples
Date: Mon, 15 Nov 2021 10:55:10 +0100	[thread overview]
Message-ID: <87czn1lp4x.fsf@redhat.com> (raw)
In-Reply-To: <87lf1ux007.fsf@redhat.com>

Petr Lautrbach <plautrba@redhat.com> writes:

> markus.linnala@gmail.com writes:
>
>> From: Markus Linnala <Markus.Linnala@knowit.fi>
>>
>> See: RFC 2606
>>
>> foo.com seems to be privately owned.
>>
>> Signed-off-by: Markus Linnala <Markus.Linnala@knowit.fi>
>
> Acked-by: Petr Lautrbach <plautrba@redhat.com>
>

This is merged now. Thanks!



>> ---
>>  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(-)
>>
>> diff --git a/libsemanage/man/man5/semanage.conf.5 b/libsemanage/man/man5/semanage.conf.5
>> index 7d6f2fef..380b58be 100644
>> --- a/libsemanage/man/man5/semanage.conf.5
>> +++ b/libsemanage/man/man5/semanage.conf.5
>> @@ -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).
>>  
>> diff --git a/libsemanage/man/ru/man5/semanage.conf.5 b/libsemanage/man/ru/man5/semanage.conf.5
>> index cf65b3e6..548aa58d 100644
>> --- a/libsemanage/man/ru/man5/semanage.conf.5
>> +++ b/libsemanage/man/ru/man5/semanage.conf.5
>> @@ -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
>> diff --git a/libsemanage/src/semanage.conf b/libsemanage/src/semanage.conf
>> index dc8d46b8..98d769b5 100644
>> --- a/libsemanage/src/semanage.conf
>> +++ b/libsemanage/src/semanage.conf
>> @@ -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
>> -- 
>> 2.33.1


      reply	other threads:[~2021-11-15  9:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09 15:39 [PATCH] Use IANA-managed domain example.com in examples markus.linnala
2021-11-11 14:03 ` Petr Lautrbach
2021-11-15  9:55   ` Petr Lautrbach [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czn1lp4x.fsf@redhat.com \
    --to=plautrba@redhat.com \
    --cc=markus.linnala@gmail.com \
    --cc=selinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.