commit: 1ed1d66b4ccebfbceaa6309ed8ef64747352af3a Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Fri May 13 23:29:09 2022 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Thu May 26 14:56:35 2022 +0000 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=1ed1d66b
2022-05-26-apache-nginx-glep-81: add news Bug: https://bugs.gentoo.org/701254 Bug: https://bugs.gentoo.org/802495 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../2022-05-26-apache-nginx-glep-81.en.txt | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/2022-05-26-apache-nginx-glep-81/2022-05-26-apache-nginx-glep-81.en.txt b/2022-05-26-apache-nginx-glep-81/2022-05-26-apache-nginx-glep-81.en.txt new file mode 100644 index 0000000..d0afab2 --- /dev/null +++ b/2022-05-26-apache-nginx-glep-81/2022-05-26-apache-nginx-glep-81.en.txt @@ -0,0 +1,66 @@ +Title: Migration to GLEP-81 enabled webservers +Author: Conrad Kostecki <[email protected]> +Posted: 2022-05-20 +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 user and group created +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. + +3. ACCT_USER_<UPPERCASE_USERNAME>_HOME + for overriding default home directory. + +4. ACCT_USER_<UPPERCASE_USERNAME>_HOME_OWNER + for overriding default owner of home directory. + +5. ACCT_USER_<UPPERCASE_USERNAME>_HOME_PERMS + for overriding default permissions of home directory. + +6. ACCT_USER_<UPPERCASE_USERNAME>_SHELL + for overriding default assigned shell. + +If being set per package in package.env, it needs to +be set for acct-user/apache or aact-user/nginx, +depending on which user should be modified. + +See [1] for more details on those variables. + +** Package acct-user/apache will use username/group 'apache'. +-> ACCT_USER_APACHE_GROUPS=".." +-> ACCT_USER_APACHE_GROUPS_ADD=".." +-> ACCT_USER_APACHE_HOME=".." +-> ACCT_USER_APACHE_HOME_OWNER=".." +-> ACCT_USER_APACHE_HOME_PERMS=".." +-> ACCT_USER_APACHE_SHELL=".." + +** Package acct-user/nginx will use username/group 'nginx'. +-> ACCT_USER_NGINX_GROUPS=".." +-> ACCT_USER_NGINX_GROUPS_ADD=".." +-> ACCT_USER_NGINX_HOME=".." +-> ACCT_USER_NGINX_HOME_OWNER=".." +-> ACCT_USER_NGINX_HOME_PERMS=".." +-> ACCT_USER_NGINX_SHELL=".." + +Please update configuration parameters before emerging +both GLEP-81 enabled ebuilds, as otherwise configuration +will be overwritten to default. + +Migration to GLEP-81 will start after 2022-07-01. + +[1] https://devmanual.gentoo.org/eclass-reference/acct-user.eclass/index.html
