Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1872 - firestarter 1.0.0 PKGBUILD, install fire, and init script

Attached to Project: Arch Linux
Opened by Graham Forest (vitaminmoo) - Friday, 03 December 2004, 01:36 GMT
Last edited by Dale Blount (dale) - Friday, 03 December 2004, 02:15 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I'm attaching an updated PKGBUILD, firestarter.install, and firestarter.init (init script).
This task depends upon

Closed by  Tobias Kieslich (tobias)
Sunday, 09 January 2005, 09:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  ok I close this one then and move it to extra
Comment by Graham Forest (vitaminmoo) - Friday, 03 December 2004, 01:41 GMT
Wasn't able to attach the files, but I've uploaded them to http://www.volunterrorists.org/other/firestarter.tar.gz
Comment by Graham Forest (vitaminmoo) - Friday, 03 December 2004, 22:30 GMT
Made a rather embarrasing typo (firestarter.install != firestarter.init), if you haven't grabbed that file yet, don't worry about it, if you have, it's been updated, so get the new one.
Comment by Graham Forest (vitaminmoo) - Monday, 06 December 2004, 04:48 GMT
Ok, super fun problem I just realized, firestarter has the path to the log hardcoded, but the path is different dependong on whether you use sysklogd (/var/log/messages) or syslog-ng (/var/log/messages.log). I'm not really sure how to handle this well, as even though when I set up two machines I have here, I was meaning to get them as close as possible irt configuration, one ended up with sysklogd, and the other ended up with syslog-ng. Is there an arch standard or anything?
Comment by Tobias Kieslich (tobias) - Thursday, 30 December 2004, 20:58 GMT
syslog-ng is in the base distribution, sysklod is in daemons, so syslog-ng is more the standard. I make firestarter dpendend on syslog-ng, hence the tweak will be kept.

Who likes to use it with sysklogd should use srcpack I think. Changes will go to 1.0.1

Any thoughts or comments?
Comment by Tobias Kieslich (tobias) - Sunday, 02 January 2005, 17:20 GMT
i have an idea but I don't know how this will work out. Let's have a look at the code:

} else { /* Try to guess some default syslog location */
if (g_file_test ("/var/log/messages.log", G_FILE_TEST_EXISTS))
path = g_strdup ("/var/log/messages.log");
else
path = NULL;
}

let's enter another if condition in there, so that syslog-ng wins if either are installed and sysklog gets a chance if syslog-ng is not installed.

} else { /* Try to guess some default syslog location */
if (g_file_test ("/var/log/messages.log", G_FILE_TEST_EXISTS))
path = g_strdup ("/var/log/messages.log");
else if (g_file_test ("/var/log/messages", G_FILE_TEST_EXISTS))
path = g_strdup ("/var/log/messages");
else
path = NULL;
}

actually I consider these issues to be configurable through a runtime control, maybe I make a patch and commit things to the author.

Graham, please this code goes to testing. Could you check if this will work for you?
Comment by Graham Forest (vitaminmoo) - Monday, 03 January 2005, 10:30 GMT
Certainly, I can doublecheck this tomorrow (gotta get some sleep now, though). If I don't respond again by tomorrow, please poke me, I have a habit of forgetting to do things.
Comment by Tobias Kieslich (tobias) - Saturday, 08 January 2005, 15:28 GMT
Ahem,
*poke*
Comment by Graham Forest (vitaminmoo) - Sunday, 09 January 2005, 00:15 GMT
Yep, works fine for me.

Loading...