public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH v2] 2022-05-14-apache-nginx-glep-81: add news
@ 2022-05-13 23:43 Conrad Kostecki
  2022-05-14 10:04 ` Mickaël Bucas
  0 siblings, 1 reply; 3+ messages in thread
From: Conrad Kostecki @ 2022-05-13 23:43 UTC (permalink / raw
  To: gentoo-dev; +Cc: polynomial-c, pr, whissi

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
---
 .../2022-05-14-apache-nginx-glep-81.en.txt    | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt

diff --git a/2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt b/2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt
new file mode 100644
index 0000000..34b2e63
--- /dev/null
+++ b/2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt
@@ -0,0 +1,36 @@
+Title: Migration to GLEP-81 enabled webservers
+Author: Conrad Kostecki <conikost@gentoo.org>
+Posted: 2022-05-14
+Revision: 1
+News-Item-Format: 2.0
+Display-If-Installed: www-servers/apache
+Display-If-Installed: www-servers/nginx
+
+In future, in order to complete the whole GLEP-81 migration,
+the packages www-servers/apache and www-servers/nginx
+will be migrated to GLEP-81.
+
+If changes have been made to the default created user and group
+by one of the both packages, the configuration needs to be updated,
+as otherwise it will be overwritten.
+
+The following configuration settings can be set
+in make.conf or per package in package.env:
+
+1. ACCT_USER_<UPPERCASE_USERNAME>_GROUPS
+   for overriding all default groups.
+
+2. ACCT_USER_<UPPERCASE_USERNAME>_GROUPS_ADD
+   for adding additional groups to default groups.
+
+** Package www-servers/apache will use username/group 'apache'.
+-> ACCT_USER_APACHE_GROUPS=".."
+-> ACCT_USER_APACHE_GROUPS_ADD=".."
+
+** Package www-servers/nginx will use username/group 'nginx'.
+-> ACCT_USER_NGINX_GROUPS=".."
+-> ACCT_USER_NGINX_GROUPS_ADD=".."
+
+Please update configuration parameters before emerging
+both GLEP-81 enabled ebuilds, as otherwise configuration
+will be overwritten to default.
-- 
2.35.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [PATCH v2] 2022-05-14-apache-nginx-glep-81: add news
  2022-05-13 23:43 [gentoo-dev] [PATCH v2] 2022-05-14-apache-nginx-glep-81: add news Conrad Kostecki
@ 2022-05-14 10:04 ` Mickaël Bucas
  2022-05-14 10:33   ` Conrad Kostecki
  0 siblings, 1 reply; 3+ messages in thread
From: Mickaël Bucas @ 2022-05-14 10:04 UTC (permalink / raw
  To: gentoo-dev; +Cc: polynomial-c, pr, whissi

Le sam. 14 mai 2022 à 01:43, Conrad Kostecki <conikost@gentoo.org> a écrit :
>
> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
> ---
>  .../2022-05-14-apache-nginx-glep-81.en.txt    | 36 +++++++++++++++++++
>  1 file changed, 36 insertions(+)
>  create mode 100644 2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt
>
> diff --git a/2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt b/2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt
> new file mode 100644
> index 0000000..34b2e63
> --- /dev/null
> +++ b/2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt
> @@ -0,0 +1,36 @@
> +Title: Migration to GLEP-81 enabled webservers
> +Author: Conrad Kostecki <conikost@gentoo.org>
> +Posted: 2022-05-14
> +Revision: 1
> +News-Item-Format: 2.0
> +Display-If-Installed: www-servers/apache
> +Display-If-Installed: www-servers/nginx
> +
> +In future, in order to complete the whole GLEP-81 migration,
> +the packages www-servers/apache and www-servers/nginx
> +will be migrated to GLEP-81.
> +
> +If changes have been made to the default created user and group
> +by one of the both packages, the configuration needs to be updated,
> +as otherwise it will be overwritten.
> +
> +The following configuration settings can be set
> +in make.conf or per package in package.env:
> +
> +1. ACCT_USER_<UPPERCASE_USERNAME>_GROUPS
> +   for overriding all default groups.
> +
> +2. ACCT_USER_<UPPERCASE_USERNAME>_GROUPS_ADD
> +   for adding additional groups to default groups.
> +
> +** Package www-servers/apache will use username/group 'apache'.
> +-> ACCT_USER_APACHE_GROUPS=".."
> +-> ACCT_USER_APACHE_GROUPS_ADD=".."
> +
> +** Package www-servers/nginx will use username/group 'nginx'.
> +-> ACCT_USER_NGINX_GROUPS=".."
> +-> ACCT_USER_NGINX_GROUPS_ADD=".."
> +
> +Please update configuration parameters before emerging
> +both GLEP-81 enabled ebuilds, as otherwise configuration
> +will be overwritten to default.
> --
> 2.35.1
>
>
Hello

As a user of apache, I've also customised the home directory and shell
(I accept the risks).
By reading "acct-user.eclass", I've seen that these customisations can
also be kept.

Could you add a paragraph telling that other configuration values can be kept ?
You could also point to the eclass documentation [1] for details. I'm
not sure it's the best solution because it's intended for Gentoo devs,
not users, but if someone runs a web server, he should be able to
handle that.

Thanks
Best regards

Mickaël Bucas

[1] https://devmanual.gentoo.org/eclass-reference/acct-user.eclass/index.html#lbAF


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [PATCH v2] 2022-05-14-apache-nginx-glep-81: add news
  2022-05-14 10:04 ` Mickaël Bucas
@ 2022-05-14 10:33   ` Conrad Kostecki
  0 siblings, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2022-05-14 10:33 UTC (permalink / raw
  To: gentoo-dev

Hi!

Am 14.05.2022 um 12:04 schrieb Mickaël Bucas:
> Le sam. 14 mai 2022 à 01:43, Conrad Kostecki <conikost@gentoo.org> a écrit :
> Could you add a paragraph telling that other configuration values can 
> be kept ?
> You could also point to the eclass documentation [1] for details. I'm
> not sure it's the best solution because it's intended for Gentoo devs,
> not users, but if someone runs a web server, he should be able to
> handle that.

Good catch. Thank you. I will add them to the news item.

Conrad



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-14 10:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-13 23:43 [gentoo-dev] [PATCH v2] 2022-05-14-apache-nginx-glep-81: add news Conrad Kostecki
2022-05-14 10:04 ` Mickaël Bucas
2022-05-14 10:33   ` Conrad Kostecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox