Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35669 - syntax error in /etc/init.d/zetagrid
Summary: syntax error in /etc/init.d/zetagrid
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-12 09:46 UTC by Toralf Förster
Modified: 2003-12-28 12:05 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 Toralf Förster gentoo-dev 2003-12-12 09:46:25 UTC
instead of

./zeta.sh >> /var/log/zetagrid.log >2&1

it should be

./zeta.sh >> /var/log/zetagrid.log 2>&1

I think.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Michael Imhof (RETIRED) gentoo-dev 2003-12-12 10:42:14 UTC
Thanks, i fixed it.
Comment 2 Toralf Förster gentoo-dev 2003-12-21 07:26:41 UTC
The problem is, that if the logfile /var/log/zeatgrid.log is added to a logrotate programm like /etc/cron.daily/syslog.cron and zetagrid.log was moved to zetagrid.log.0 while zetagrid is running, the programm zetagrid is now writing to zetagrid.log.0 instead of zetagrid.log.
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2003-12-27 03:22:56 UTC
So at the next restart it would write to zetagrid.log again?
If this is the case i think everything is as it should be.

Or do you have a better solution for this issue?
Comment 4 Toralf Förster gentoo-dev 2003-12-27 05:35:16 UTC
Yes, after a restart of zetagrid the file handle points to the right logfile.

The best solution IMHO is to have a logging facility in zetagrid itself, which will open and close the file handle only for the time a string has to be written.
Maybe this is a wish to the author of zetagrid ?
Comment 5 Michael Imhof (RETIRED) gentoo-dev 2003-12-27 08:29:19 UTC
Yes, i think we should add the zetagrid author to this bug. But i can't find his e-mail-address.

Maybe you have more luck.
Comment 6 Toralf Förster gentoo-dev 2003-12-28 01:30:16 UTC
"Sebastian Wedeniwski" <WEDENIWS@de.ibm.com>
Comment 7 Michael Imhof (RETIRED) gentoo-dev 2003-12-28 01:51:35 UTC
Tried to add his adress as CC to this bug.
Had no success. Would be great if you could write him a mail including a link to this bug.
Comment 8 Toralf Förster gentoo-dev 2003-12-28 12:05:17 UTC
done