Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 802495 - eclass/apache-2.eclass: migrate to glep-81
Summary: eclass/apache-2.eclass: migrate to glep-81
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on: 803500
Blocks: glep-81
  Show dependency tree
 
Reported: 2021-07-16 16:11 UTC by Conrad Kostecki
Modified: 2022-07-09 21:30 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2021-07-16 16:11:55 UTC
The eclass apache-2.eclass is still using old user.eclass. Plesae migrate to glep-81.
Comment 1 Larry the Git Cow gentoo-dev 2021-07-22 19:28:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf5a24b74665d3a30702b520cc5fb9f1ac53763

commit bbf5a24b74665d3a30702b520cc5fb9f1ac53763
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-07-22 19:11:19 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-07-22 19:28:11 +0000

    www-servers/apache: drop old version
    
    Closes: https://bugs.gentoo.org/802495
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 www-servers/apache/apache-2.4.48-r1.ebuild | 254 -----------------------------
 1 file changed, 254 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6afcd50fe89fe7aa77195d930a941720f85cef

commit 7f6afcd50fe89fe7aa77195d930a941720f85cef
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-07-22 19:09:08 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-07-22 19:28:10 +0000

    www-servers/apache: revbump
    
    This revbump is only made, so acct-* packages,
    definied through apache-2.eclass, will be pulled into system.
    
    Bug: https://bugs.gentoo.org/802495
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 www-servers/apache/apache-2.4.48-r2.ebuild | 254 +++++++++++++++++++++++++++++
 1 file changed, 254 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187721bffbea19bc37969fb70de400a391171611

commit 187721bffbea19bc37969fb70de400a391171611
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-07-22 19:06:08 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-07-22 19:28:09 +0000

    eclass/apache-2.eclass: migrate to GLEP 81
    
    Bug: https://bugs.gentoo.org/802495
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 eclass/apache-2.eclass | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2021-07-24 20:17:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7012e620d5f6529ed702a8839382c4803d6eb3e7

commit 7012e620d5f6529ed702a8839382c4803d6eb3e7
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-07-24 20:15:09 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-07-24 20:16:26 +0000

    www-servers/apache: revbump
    
    Bug: https://bugs.gentoo.org/802495
    Bug: https://bugs.gentoo.org/803500
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 www-servers/apache/{apache-2.4.48-r2.ebuild => apache-2.4.48-r3.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f7d8a5eeef84e882688c89850db6376b42f766

commit d7f7d8a5eeef84e882688c89850db6376b42f766
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-07-24 20:07:13 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-07-24 20:15:28 +0000

    Revert "eclass/apache-2.eclass: migrate to GLEP 81"
    
    This reverts commit 187721bffbea19bc37969fb70de400a391171611.
    
    Bug: https://bugs.gentoo.org/802495
    Bug: https://bugs.gentoo.org/803500
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 eclass/apache-2.eclass | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
Comment 3 Conrad Kostecki gentoo-dev 2021-07-24 20:18:47 UTC
Reopen, as need to solve the acct-* first.
Comment 4 A Blamey 2021-07-25 07:59:12 UTC
I just updated world which included change from www-servers/apache-2.4.48-r2 to www-servers/apache-2.4.48-r3.  This removed the acct-user/apache and acct-group/apache packages.

This resulted in my apache user being marked as account expired:

#grep apache /etc/shadow
apache:!:18131:::::1:

(note the 1 in 8th field - days since epoch that account exipres - see man 5 shadow)

#chage -l apache
Last password change                                    : Aug 23, 2019
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : Jan 02, 1970
Minimum number of days between password change          : -1
Maximum number of days between password change          : -1
Number of days of warning before password expires       : -1

Was this intended?

This doesn't seem to affect ability to sudo stuff as apache, but anyone wanting to login or su as apache might be affected.  In my case the account is already set to use nologin as shell as I only sudo.

I'm unsure what side-effects this might have upon restarting apache or rebooting, so I undid the changes manually before things could break.
Comment 5 Conrad Kostecki gentoo-dev 2021-07-25 20:51:12 UTC
For now, everyone, who is affected with apache, can re-enable the account as follows:
usermod -e '' -U apache 2>/dev/null
Comment 6 Larry the Git Cow gentoo-dev 2022-05-26 15:00:47 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=1ed1d66b4ccebfbceaa6309ed8ef64747352af3a

commit 1ed1d66b4ccebfbceaa6309ed8ef64747352af3a
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-05-13 23:29:09 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-05-26 14:56:35 +0000

    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@gentoo.org>

 .../2022-05-26-apache-nginx-glep-81.en.txt         | 66 ++++++++++++++++++++++
 1 file changed, 66 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2022-07-09 21:30:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d00c6a0fb3b0fe2b99837670b3abfbe8529dc96a

commit d00c6a0fb3b0fe2b99837670b3abfbe8529dc96a
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-07-09 20:48:39 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-07-09 21:29:20 +0000

    www-servers/apache: migrate to GLEP-81
    
    Doing only a revbump, as handling is done through eclass.
    
    Closes: https://bugs.gentoo.org/802495
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../apache/{apache-2.4.54.ebuild => apache-2.4.54-r2.ebuild}      | 8 --------
 .../apache/{apache-2.4.54-r1.ebuild => apache-2.4.54-r3.ebuild}   | 8 --------
 2 files changed, 16 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96ddc60afd9b8ffb0f2dff37d0690f053ddfb73

commit e96ddc60afd9b8ffb0f2dff37d0690f053ddfb73
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-07-09 20:43:53 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-07-09 21:29:18 +0000

    eclass/apache-2.eclass: migrate to GLEP-81
    
    Bug: https://bugs.gentoo.org/802495
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 eclass/apache-2.eclass | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)