I am not sure whether chemical equilibrium conditions are the same or different for the two scenarios below:
i. Closed rigid container of volume $V$ with uniform temperature $T$ and pressure $P$ filled with ideal gas of one kind with total particle count $N$. A partition divides the container into two components 1 and 2 with volumes $V_1,V_2$ and particle counts $N_1$,$N_2$. The components are allowed to exchange particles through this partition.
ii. Closed rigid container of volume $V$ that is isolated from the rest of the universe with uniform temperature $T$ and pressure $P$ filled and mixed with two species of ideal gases 1 and 2 with particle counts $N_1$,$N_2$. The total number of particles $N=N_1+N_2$ is fixed.
As discussed in the previous question, in scenario (i) the equilibrium conditions are
$$\tag{1} \mu_1=\mu_2$$ $$\tag{2} d\mu_1=d\mu_2=0$$
I still have doubts on why (2) must be true. Gibbs-Duhem equation for components read
$$d\mu_1=-sdT+vdP$$ $$d\mu_1=-sdT+vdP$$
where $s$ and $v$ are molar entropies and volumes. The answer in the linked question says that (2) is true because pressure and temperature are constant $dP=dT=0$ but I am still not convinced because it makes me to believe that (2) is true regardless of whether the container is in chemical equilibrium or not since pressure and temperature are constant all times. I understand that as particles get transferred from one component to another, chemical potentials must change $d\mu_1\ne0$ and $d\mu_2\ne0$. When particles stop transferring during chemical equilibrium, $d\mu_1=d\mu_2=0$.
In scenario (ii), the first equilibrium conditions is
$$\mu_1=\mu_2$$
Gibbs-Duhem equation for the ideal gas mixture is
$$N_1d\mu_1+N_2d\mu_2=-SdT+VdP=0$$
since pressure and temperature are constant, so the other equilibrium condition is
$$d\mu_1=-\frac{N_2}{N_1}d\mu_2$$
It implies that chemical potentials still change when the mixture is in chemical equilibrium.
Did I misunderstand anything?