Re: rc.d scripts not being run at shutdown.
RW [EMAIL PROTECTED] writes: On Mon, 11 Feb 2008 21:55:28 + RW [EMAIL PROTECTED] wrote: On Mon, 11 Feb 2008 14:19:21 -0500 Lowell Gilbert [EMAIL PROTECTED] wrote: RW [EMAIL PROTECTED] writes: I could imagine screwing-up the operation of rc.shutdown with a syntax error, but I don't see how I could stop it being run at all. As I understand it rc.shutdown is run from init if the file exists. init itself doesn't seem to have been modified recently, so I'm out of ideas. rc.subr and rc.conf will be sourced first, so errors in those could cause problems. That's a good point, but I just tried it with an rc.shutdown script that contains only the touch statement, and the file wasn't touched (and I have tried running the touch manually). I should also add that this problem has survived a world+kernel rebuild to 7.0-RC2, which included the use of mergemaster. All the scripts under /etc should be the ones in the repository. And now I come to think about it, I was tinkering with a random number script at the exact time the entropy file was written-out, and I'm pretty certain I wrote it myself. That means I have no evidence that rc.shutdown has worked at all since I installed FreeBSD 7 in early December. So rcorder isn't being run on rc.d either? Weird; I can't see what could cause that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d scripts not being run at shutdown.
On Mon, 11 Feb 2008 14:19:21 -0500 Lowell Gilbert [EMAIL PROTECTED] wrote: RW [EMAIL PROTECTED] writes: I could imagine screwing-up the operation of rc.shutdown with a syntax error, but I don't see how I could stop it being run at all. As I understand it rc.shutdown is run from init if the file exists. init itself doesn't seem to have been modified recently, so I'm out of ideas. rc.subr and rc.conf will be sourced first, so errors in those could cause problems. That's a good point, but I just tried it with an rc.shutdown script that contains only the touch statement, and the file wasn't touched (and I have tried running the touch manually). I should also add that this problem has survived a world+kernel rebuild to 7.0-RC2, which included the use of mergemaster. All the scripts under /etc should be the ones in the repository. Is anything showing up in the log? No, just that it's rebooting and that syslog is exiting. On the console I see the stuff that follows the rc.shutdown, the diminishing counters etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d scripts not being run at shutdown.
On Mon, Feb 11, 2008 at 06:06:47PM +, RW wrote: On Sun, 10 Feb 2008 04:02:15 + RW [EMAIL PROTECTED] wrote: Afer putting in some extra logging to check something, I've just noticed that my rc.d scripts are not being run at shutdown. Did you remember to put: # KEYWORD: shutdown in your rc.d scripts? -- Jonathan Chen [EMAIL PROTECTED] -- The reason why worry kills more people than work is that more people worry than work. - Robert Frost ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d scripts not being run at shutdown.
On Mon, 11 Feb 2008 21:55:28 + RW [EMAIL PROTECTED] wrote: On Mon, 11 Feb 2008 14:19:21 -0500 Lowell Gilbert [EMAIL PROTECTED] wrote: RW [EMAIL PROTECTED] writes: I could imagine screwing-up the operation of rc.shutdown with a syntax error, but I don't see how I could stop it being run at all. As I understand it rc.shutdown is run from init if the file exists. init itself doesn't seem to have been modified recently, so I'm out of ideas. rc.subr and rc.conf will be sourced first, so errors in those could cause problems. That's a good point, but I just tried it with an rc.shutdown script that contains only the touch statement, and the file wasn't touched (and I have tried running the touch manually). I should also add that this problem has survived a world+kernel rebuild to 7.0-RC2, which included the use of mergemaster. All the scripts under /etc should be the ones in the repository. And now I come to think about it, I was tinkering with a random number script at the exact time the entropy file was written-out, and I'm pretty certain I wrote it myself. That means I have no evidence that rc.shutdown has worked at all since I installed FreeBSD 7 in early December. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d scripts not being run at shutdown.
RW [EMAIL PROTECTED] writes: On Sun, 10 Feb 2008 04:02:15 + RW [EMAIL PROTECTED] wrote: Afer putting in some extra logging to check something, I've just noticed that my rc.d scripts are not being run at shutdown. By way of confirmation, my entropy file, which is written out by an rc.d script, has not been written to for a week (I shut-down most nights). I don't recall doing anything then. I put a touch on the second line of rc.shutdown, and it never got invoked. I could imagine screwing-up the operation of rc.shutdown with a syntax error, but I don't see how I could stop it being run at all. As I understand it rc.shutdown is run from init if the file exists. init itself doesn't seem to have been modified recently, so I'm out of ideas. rc.subr and rc.conf will be sourced first, so errors in those could cause problems. Is anything showing up in the log? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d scripts not being run at shutdown.
On Sun, 10 Feb 2008 04:02:15 + RW [EMAIL PROTECTED] wrote: Afer putting in some extra logging to check something, I've just noticed that my rc.d scripts are not being run at shutdown. By way of confirmation, my entropy file, which is written out by an rc.d script, has not been written to for a week (I shut-down most nights). I don't recall doing anything then. I put a touch on the second line of rc.shutdown, and it never got invoked. I could imagine screwing-up the operation of rc.shutdown with a syntax error, but I don't see how I could stop it being run at all. As I understand it rc.shutdown is run from init if the file exists. init itself doesn't seem to have been modified recently, so I'm out of ideas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rc.d scripts not being run at shutdown.
Afer putting in some extra logging to check something, I've just noticed that my rc.d scripts are not being run at shutdown. By way of confirmation, my entropy file, which is written out by an rc.d script, has not been written to for a week (I shut-down most nights). I don't recall doing anything then. I'm running an up-to-date i386 RELENG_7_0. Is anyone seeing anything similar? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]