Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 53423

Summary: JBoss cannot be configured to log to /dev/console
Product: Gentoo Linux Reporter: Michael Labhard <m.labhard>
Component: Current packagesAssignee: Matthew Kennedy (RETIRED) <mkennedy>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Labhard 2004-06-09 08:51:31 UTC
Configuring JBoss to log to /dev/console does not work because /dev/console is only r/w by root.  Either JBoss would need to have root priveleges or /dev/console should be r/w by group console.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2004-06-09 17:13:22 UTC
Michael: marking as invalid, since it is not really a bug.  The
/etc/conf.d/jboss file already states:

  # Console logging defaults to '/dev/null'. This env variable is
  # included for debugging purposes.  You might have to run add
  # $JBOSS_USER to the 'console' group to gain access to '/dev/console'.

  JBOSS_CONSOLE="/dev/null" 
  # JBOSS_CONSOLE="/dev/console"

I think it is up to the user to make whatever changes to /dev/console
are necessary in order for console logging to work (probably via
/etc/devfsd.conf etc.)
Comment 2 Michael Labhard 2004-06-09 18:06:48 UTC
Thank you for clarifying this.  It's very helpful.