Warden jail "Check for updates"
|Reported by:||helix||Owned by:||kris|
Today I was playing with jails in Warden and I noticed one thing that would be nice if it behaved differently.
I don't know why, but my /etc/resolv.conf got improper value and I was not aware that internet access did not work from jail. I clicked "Check for updates" inside warden (on running jail), and after some time I got well known "your system is fully updated" message. After that I tried to run "portsnap fetch" and at this point started to suspect something is wrong with my network, because host could not be reached. I tried to ping, but with no reply so I looked up my resolv.conf which had bogus entry (instead of 192.168.1.1 it had 192.168.1.254, have no idea why this happened). I edited it and ping started to get reply. Then I went back to "Check for updates" and there was "base update" available.
My point here is that first reply from jail update was misleading, shouldn't there be some kind of error that update system can't be reached or something like that? If I get reply that jail is perfectly fine and updated, but on the other hand there is update availabe, shouldn't system inform me, that something is wrong? I'm just thinking from "rookie" perspective ;)