Le sam. 14 mai 2022 à 01:43, Conrad Kostecki <conik...@gentoo.org> a écrit : > > Signed-off-by: Conrad Kostecki <conik...@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 <conik...@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