Vayikra8:33

וּמִפֶּתַח אֹהֶל מוֹעֵד לֹא תֵצְאוּ שִׁבְעַת יָמִים עַד יוֹם מְלֹאת יְמֵי מִלֻּאֵיכֶם כִּי שִׁבְעַת יָמִים יְמַלֵּא אֶת־יֶדְכֶם׃

And you shall not go out from the entrance of the Tent of Meeting for seven days, until the day that the days of your ordination are completed, for seven days shall you be ordained.

Vayikra 8:33

וּמִפֶּתַח אֹהֶל מוֹעֵד

Vayikra / Leviticus 8:33 · Pshat

Vayikra 8:33

וּמִפֶּתַח אֹהֶל מוֹעֵד לֹא תֵצְאוּ שִׁבְעַת יָמִים עַד יוֹם מְלֹאת יְמֵי מִלֻּאֵיכֶם כִּי שִׁבְעַת יָמִים יְמַלֵּא אֶת־יֶדְכֶם׃

And you shall not go out from the entrance of the Tent of Meeting for seven days, until the day that the days of your ordination are completed, for seven days shall you be ordained.

Pshat פְּשָׁט

Seven days at the entrance

Before an important task you sometimes need to set everything else aside for a few days. Not because you cannot step away for a minute, but so that your thoughts stay here.

Ibn Ezra: the kohanim went out when they needed to, by day and by night, and "do not go out" means: do not busy yourselves with other things and do not go to another place. Chizkuni: likewise it says they mourned Moshe (Moses) thirty days, though they did not weep every minute.

How Ibn Ezra and Chizkuni explain it

Ibn Ezra Shall you be ordained

The word "end" is missing, as if it said: for until the end of seven days, or until that time. Some say: "do not go out for seven days", but at night they went out for their needs. But it seems right to me that they went out when needed, both by day and by night. A great sage said that they dug a place in the courtyard of the Tent of Meeting, but this is far-fetched. For Scripture said: "And the children of Israel mourned Moshe thirty days" (Devarim / Deuteronomy 34:8), as if there was not a moment when they did not weep. But Scripture said that they sat at the entrance of the Tent of Meeting day and night. The meaning is that they should not busy themselves with anything else and not go to another place. So it also says: "And from the Sanctuary he shall not go out" (Vayikra / Leviticus 21:12), as I will explain.

Chizkuni Do not go out for seven days

Explanation: let them not busy themselves with anything else and not go to another place, but at night they go out for their needs. Likewise: "And they mourned Moshe thirty days", as if there was not a moment when they did not weep. And likewise: "In booths you shall dwell seven days" (Vayikra / Leviticus 23:42). And likewise: "And from the Sanctuary he shall not go out". The portion of Tzav is complete.

Takeaway

Ibn Ezra and Chizkuni read "do not go out" the way one reads "dwell in booths seven days": the booth becomes a home, yet a person still goes out of it for his needs. So the kohanim lived seven days at the entrance of the Tent.
The words "And from the Sanctuary he shall not go out" are said of the high priest on the day a relative of his died: he does not leave the service to follow the coffin (Vayikra / Leviticus 21:12).