Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53423 - JBoss cannot be configured to log to /dev/console
Summary: JBoss cannot be configured to log to /dev/console
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 08:51 UTC by Michael Labhard
Modified: 2004-06-09 18:06 UTC (History)
0 users

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 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.