Bug 3533 - can't run funit when no home directory
Summary: can't run funit when no home directory
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
Depends on:
Blocks: 2234 2242
  Show dependency treegraph
Reported: 2006-11-16 22:13 UTC by Andrew Cagney
Modified: 2006-11-28 16:49 UTC (History)
0 users

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-11-16 22:13:51 UTC
Last login: Thu Nov 16 05:48:31 2006 from vpn-15-16.rdu.redhat.com
Could not chdir to home directory /home/cygnus/cagney: No such file or directory
-bash-3.1$ /usr/libexec/frysk/funit
Error upon logging: OPEN_FAILURE
/home/cygnus/cagney/.frysk/logs/frysk_core_event.log (No such file or directory)
   at gnu.java.nio.channels.FileChannelImpl.open(libgcj.so.7rh)
   at gnu.java.nio.channels.FileChannelImpl.<init>(libgcj.so.7rh)
   at gnu.java.nio.channels.FileChannelImpl.create(libgcj.so.7rh)
   at java.io.FileOutputStream.<init>(libgcj.so.7rh)
   at java.util.logging.FileHandler.createFileStream(libgcj.so.7rh)
   at java.util.logging.FileHandler.<init>(libgcj.so.7rh)
   at java.util.logging.FileHandler.<init>(libgcj.so.7rh)
   at frysk.EventLogger.get(funit)
   at frysk.junit.Runner.<clinit>(funit)
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   at funit.main(funit)
Comment 1 Phil Muldoon 2006-11-16 22:26:53 UTC
Looks like that loggeer has a FileHandler attached to it that tries to write to
the location outlined above. No home, no location. This probably affects all
core/ui loggers.
Comment 2 Andrew Cagney 2006-11-16 22:27:22 UTC
path was /home/foo/cagney but directory /home/cagney present