Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000271 [Resin] minor always 06-17-05 00:00 11-30-05 14:43
Reporter mabbott View Status public  
Assigned To
Priority urgent Resolution fixed  
Status closed   Product Version 3.0.13
Summary 0000271: Problem with setuid user support
Description RSN-306
If we set user-name and group-name, we see a change in behavior in
3.0.13 that prevents proper startup.

Here is log output:

20050617 11:49:05.875-0700 Running as mabbott(uid=3124)
20050617 11:49:09.355-0700 Server[] starting
20050617 11:49:09.666-0700 Loaded Socket JNI library.
20050617 11:49:15.275-0700 java.net.BindException: Permission denied
20050617 11:49:15.275-0700 Can't bind to *:80.

You can see that the switch to user mabbott occurs before Resin
tries to grab port 80, so it cannot do so. In 3.0.12, the
port was acquired first:

20050617 12:46:08.162-0700 Loaded Socket JNI library.
20050617 12:46:08.169-0700 http listening to *:80
20050617 12:46:08.171-0700 Running as mabbott(uid=3124)
20050617 12:46:08.172-0700 ServletServer[] starting
20050617 12:46:08.863-0700 Host[] starting
20050617 12:46:11.098-0700 In-place class redefinition (HotSwap) is not availabl
e. In-place class reloading during development requires a compatible JDK and -X
debug.
20050617 12:46:13.179-0700 Application[http://localhost:80] [^] starting
Additional Information Solaris 8, JDK 1.4.2_07
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
06-17-05 00:00 mabbott New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:43 ferg Status resolved => closed
09-11-14 00:44 yanh Issue Monitored: yanh


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker