[omniNotify] Prevent notifd from creating channel and factory IOR files

Frederic Prin frederic.prin at silvaco.com
Thu Oct 21 11:12:07 BST 2004


Hi,

I try to prevent notifd from creating files that contains IOR of channel
Factory and channel object.
I did many trys by setting the following variable from the notifd.cfg
file:

FactoryIORFileName  
ChannelIORFileName  

1) I tried stderr
FactoryIORFileName  stderr
ChannelIORFileName  stderr

It doesn't work since, it creates a real file nammed "stderr" !

2) I tried /dev/null
FactoryIORFileName  /dev/null
ChannelIORFileName  /dev/null

It seems to work but in fact it recreates a "/dev/null" ascii file and
overwrite the /dev/null system symlink  (on solaris2-8).
And when notifd is shutdown, it deletes "/dev/null" file
 leaving the
system without /dev/null symlink
 

The code that writes this file is in
<OMNINOTIFY_TOP>/lib/RDINotifServer.cc. It is part of the COSNotify4
lib.

Is there a solution without modifying this file ?

Many thanks

FredP


                              (
     Frédéric Prin          )
     Senior Software Engineer /
          S I L V A C O      (
     Grenoble REsearch CEnter \
     Tel 04 56 38 10 33        )
    __________________________/___
   /__/__/__/__/__/__/__/__/__/__/
  /__/__/__/__/__/__/__/__/_____/
 /__/__/__/__/__/__/__/__/__/__/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omninotify-list/attachments/20041021/a0eb5305/attachment.htm


More information about the omninotify-list mailing list