Bug 2106477

Summary: Warning about uid on installation of tomcat package
Product: [Fedora] Fedora Reporter: Coty Sutherland <csutherl>
Component: tomcatAssignee: huwang <huwang>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: alee, coolsvap, csutherl, gzaronikas, huwang, ivan.afonichev, java-sig-commits, krzysztof.daniel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-25 16:48:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Coty Sutherland 2022-07-12 18:47:59 UTC
Description of problem:
The scriplet that sets up the uid for tomcat throws a warning.

Version-Release number of selected component (if applicable):
tomcat-1:9.0.64-1.fc36.noarch

How reproducible:
Every time

Steps to Reproduce:
1. Install tomcat
2. Observe dnf output for warning message

Actual results:

You will see the following warning:

```
Running scriptlet: tomcat-1:9.0.64-1.fc36.noarch
useradd warning: tomcat's uid 53 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
```

Expected results:
There is no warning.

Additional info:
I found https://bugzilla.redhat.com/show_bug.cgi?id=2004911#c3 while searching around a bit which implies it may be 'fixed' some time? We could also just drop the UID as I don't think it's required anywhere...

Also the tomcat ID is still reserved as 53 in /usr/share/doc/setup/uidgid

Comment 1 Ben Cotton 2023-04-25 17:35:24 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 2 Ludek Smid 2023-05-25 16:48:38 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.