On 2013-04-17 07:39, Cristian Ionescu-Idbohrn wrote:
On Wed, 17 Apr 2013, Moshe Katz wrote:
Did you reboot the machine after you changed the time zone? As I
understand it, many system components don't see the change unless
you
restart them, and the easiest way to restart them all is to restart
the
machine.
Is that true?
That's stone age. That's interrupting. That's simply bad.
Isn't that the bussiness of another OS?
That may be a valid comment, but I believe Moshe is correct. TZ is
only discovered during libc's init() stage, which happens once per
exec() (*not* once per fork).
FWIW, changes to DNS resolvers in /etc/resolv.conf also require a
process restart to get picked up. pfSense hides that somewhat by using
local dnsmasq as the local resolver - and dnsmasq gets restarted. I
don't know of any similar proxy-ish technique for timezones.
If you want to get pedantic, changes to termcap/terminfo don't
[usually] get picked up until process restart, either.
OTOH, I agree with the other interpretation of your comment - that a
controlled "restart all services cleanly" function would be a Very Nice
Thing to Have. I don't know of any OS that encapsulates that in an
easy-to-use button, but in a controlled environment like pfSense it
should be possible to implement.
-Adam Thompson
[email protected]
_______________________________________________
List mailing list
[email protected]
http://lists.pfsense.org/mailman/listinfo/list