Thank you, I see we have somewhat different approaches.
I must admit that I probably never will learn programming using sh. Even simple conditionals for error handling are so difficult and need so much tedious typing, and the results are so hard to understand. I already have succumbed to my laziness and will stick with Perl. As a good Unixoid FreeBSD has Perl in the base, so I don't see any reason not to use it.
And, what I do not understand yet: Are there other reasons aside of deleting the temp and log files etc, for having extra scripts for starting and stopping jails? I mean, why not just
On the other hand, it would be probably much better to make sure that all important services get shut down cleanly (
And what's really sweet, too, I learned from you how to prevent
A suggestion though: Removing configuration lines for disabled things like sendmail and inetd makes the config shorter and easier to read.
I must admit that I probably never will learn programming using sh. Even simple conditionals for error handling are so difficult and need so much tedious typing, and the results are so hard to understand. I already have succumbed to my laziness and will stick with Perl. As a good Unixoid FreeBSD has Perl in the base, so I don't see any reason not to use it.
And, what I do not understand yet: Are there other reasons aside of deleting the temp and log files etc, for having extra scripts for starting and stopping jails? I mean, why not just
service jail start myjail etc?On the other hand, it would be probably much better to make sure that all important services get shut down cleanly (
service nginx stop, for example) instead of just killing them. So I should take more care of rc.shutdown than in the past. Thank you for pointing me at that!And what's really sweet, too, I learned from you how to prevent
dhclient from tampering with resolv.conf. That had often annoyed me in the past.A suggestion though: Removing configuration lines for disabled things like sendmail and inetd makes the config shorter and easier to read.