Guards of a city, which surveillance the city for enemy attacks, are exempt from dwelling or eating in a Sukkah during their time of surveillance. However after their duty is over they are obligated to eat in a Sukkah.
Does a soldier on guard in the IDF need to wait to eat until he is off duty and can do so in the Sukkah?
No. He can eat on guard out of the Sukkah.