Gentoo Archives: gentoo-dev

From: "Mickaël Bucas" <mbucas@×××××.com>
To: gentoo-dev@l.g.o
Cc: polynomial-c@g.o, pr@g.o, whissi@g.o
Subject: Re: [gentoo-dev] [PATCH v2] 2022-05-14-apache-nginx-glep-81: add news
Date: Sat, 14 May 2022 10:04:29
Message-Id: CAG1=SYSwC07vCPZBLSzYe4UaqcPRYWa2U2r+wNtoGotzyHvEOg@mail.gmail.com
In Reply to: [gentoo-dev] [PATCH v2] 2022-05-14-apache-nginx-glep-81: add news by Conrad Kostecki
1 Le sam. 14 mai 2022 à 01:43, Conrad Kostecki <conikost@g.o> a écrit :
2 >
3 > Signed-off-by: Conrad Kostecki <conikost@g.o>
4 > ---
5 > .../2022-05-14-apache-nginx-glep-81.en.txt | 36 +++++++++++++++++++
6 > 1 file changed, 36 insertions(+)
7 > create mode 100644 2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt
8 >
9 > 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
10 > new file mode 100644
11 > index 0000000..34b2e63
12 > --- /dev/null
13 > +++ b/2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt
14 > @@ -0,0 +1,36 @@
15 > +Title: Migration to GLEP-81 enabled webservers
16 > +Author: Conrad Kostecki <conikost@g.o>
17 > +Posted: 2022-05-14
18 > +Revision: 1
19 > +News-Item-Format: 2.0
20 > +Display-If-Installed: www-servers/apache
21 > +Display-If-Installed: www-servers/nginx
22 > +
23 > +In future, in order to complete the whole GLEP-81 migration,
24 > +the packages www-servers/apache and www-servers/nginx
25 > +will be migrated to GLEP-81.
26 > +
27 > +If changes have been made to the default created user and group
28 > +by one of the both packages, the configuration needs to be updated,
29 > +as otherwise it will be overwritten.
30 > +
31 > +The following configuration settings can be set
32 > +in make.conf or per package in package.env:
33 > +
34 > +1. ACCT_USER_<UPPERCASE_USERNAME>_GROUPS
35 > + for overriding all default groups.
36 > +
37 > +2. ACCT_USER_<UPPERCASE_USERNAME>_GROUPS_ADD
38 > + for adding additional groups to default groups.
39 > +
40 > +** Package www-servers/apache will use username/group 'apache'.
41 > +-> ACCT_USER_APACHE_GROUPS=".."
42 > +-> ACCT_USER_APACHE_GROUPS_ADD=".."
43 > +
44 > +** Package www-servers/nginx will use username/group 'nginx'.
45 > +-> ACCT_USER_NGINX_GROUPS=".."
46 > +-> ACCT_USER_NGINX_GROUPS_ADD=".."
47 > +
48 > +Please update configuration parameters before emerging
49 > +both GLEP-81 enabled ebuilds, as otherwise configuration
50 > +will be overwritten to default.
51 > --
52 > 2.35.1
53 >
54 >
55 Hello
56
57 As a user of apache, I've also customised the home directory and shell
58 (I accept the risks).
59 By reading "acct-user.eclass", I've seen that these customisations can
60 also be kept.
61
62 Could you add a paragraph telling that other configuration values can be kept ?
63 You could also point to the eclass documentation [1] for details. I'm
64 not sure it's the best solution because it's intended for Gentoo devs,
65 not users, but if someone runs a web server, he should be able to
66 handle that.
67
68 Thanks
69 Best regards
70
71 Mickaël Bucas
72
73 [1] https://devmanual.gentoo.org/eclass-reference/acct-user.eclass/index.html#lbAF

Replies

Subject Author
Re: [gentoo-dev] [PATCH v2] 2022-05-14-apache-nginx-glep-81: add news Conrad Kostecki <conikost@g.o>