Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 568 of 808  Not logged in ELOG logo
IDdown Date Icon Author Author Email Category OS ELOG Version Subject
  1976   Tue Oct 10 23:29:53 2006 Reply Steve Jonessteve.jones@freescale.comBug reportOther2.6.2-1714Re: SVN1723 (was SVN1714) will not run in 'daemon" mode on Solaris8

Steve Jones wrote:

Stefan Ritt wrote:

Steve Jones wrote:
On Solaris, SVN1714 will not go into daemon mode. Running the compiled version under TRUSS (which provides a dump of every system call) and shows precisely where elog is failing. I have attached two TRUSS outputs: one where it errors out and the other where it runs but "interactively". Both runs are as root, simply one with and one without the "-D"


The "one where it errors out" does not look like an error. It does the "fork()" at the end and the main thread ends, that's how it's supposed to be.




Quote:
Ok, I got it. I've attached the TRUSS output where we follow the fork. It appears that elogd cannot open any of the specified files then gives up. What was throwing me is no error output, even to STDERR. When I run the same but without the -D flag the files are opened fine.

There are also strange system calls that differ, and I thought it might be due to the setuid(60001) -nobody- but the the non-daemn mode also sets to nobody and works fine.



Quote:

I just compiled SVN1723 and tried the generic elogd.cfg -- of course *that works!*. Something in my complex config that causes elog to barf when it is attempting to fork the daemon process. To me the TRUSS output indicates that elog can't seem to find any logfile to work on -- very bizarre.
  1975   Tue Oct 10 23:27:41 2006 Agree Steve Jonessteve.jones@freescale.comQuestionAll2.6.2-1714Re: "Supress Email Notification" checkbox

Stefan Ritt wrote:
Suppress email on edit has been implemented in the current SVN revision just similar to the Suppress default flag having possible values of 0, 1, 2 and 3.



Works like a champ! Thanks
  1974   Tue Oct 10 16:15:21 2006 Reply Ben Shepherdbjs54@dl.ac.ukRequestAll2.6.2-1714Re: Re: 'Inline' button for attachments

Stefan Ritt wrote:

Ben Shepherd wrote:
Hi,

and it does exactly what you want.

cool! thanks.
  1973   Tue Oct 10 16:09:12 2006 Reply Stefan Rittstefan.ritt@psi.chRequestAll2.6.2-1714Re: 'Inline' button for attachments

Ben Shepherd wrote:
Hi,

It would be good if when you uploaded an image as an attachment, there was a button next to it that pasted the code
[img]elog:1972/1[/img]
into the log entry. This way, it would be more easy to have inline images in a log entry.


Just hit that button:


and it does exactly what you want.
  1972   Tue Oct 10 15:32:21 2006 Idea Ben Shepherdbjs54@dl.ac.ukRequestAll2.6.2-1714'Inline' button for attachments
Hi,

It would be good if when you uploaded an image as an attachment, there was a button next to it that pasted the code
[img]elog:1972/1[/img]
into the log entry. This way, it would be more easy to have inline images in a log entry.

cheers

ben
  1971   Tue Oct 10 11:49:15 2006 Reply Ben Shepherdbjs54@dl.ac.ukRequestLinux | Windows2.6.2-1714Re: Append option for elog.exe

Stefan Ritt wrote:
The elog command-line program has a -e switch to edit existing entries, but you need to know the ID of the entry.


Yes, but if you use -e "text" it replaces the whole entry with "text". So an append option would be really useful...
  1970   Tue Oct 10 11:47:41 2006 Reply Stefan Rittstefan.ritt@psi.chRequestLinux | Windows2.6.2-1714Re: Append option for elog.exe

Ben Shepherd wrote:
I think you misunderstand me. I was asking whether it would be possible for the elog command-line client program to have an "append to existing entry" option.


The elog command-line program has a -e switch to edit existing entries, but you need to know the ID of the entry.
  1969   Tue Oct 10 11:45:22 2006 Reply Stefan Rittstefan.ritt@psi.chRequestLinux | Windows2.6.2-1714Re: Turn off smileys?

Ben Shepherd wrote:

Stefan Ritt wrote:

I agree that the ?) smiley is annoying, so I changed it to ?-) which should prevent it from showing up in questions in brackets. I updated this server (you can see the effect above), the modification is committed to subversion.


Thanks a lot! I'm going to pester you though - it would be really good if there was an option to turn them off completely. Surely it can't be a huge amount of work... ?


It's not the amount of work, it the intention to minimize the number of options. If you want a switch for the smileys, the next one wants a switch for automatic hot-linking (like http://...), the next one wants that only certain ELCode options are interpreted, not others, and then we will have a mess. By changing the ?-) definition I hope I have solved most cases without another flag. So either one has the comple ELCode set, or non. In the past I had many suggestions of new flags, which I could solve somehow otherwise. If I would not have done that, the manual would be twice as long by now...
ELOG V3.1.5-3fb85fa6