Ah, I used a modified logind.conf for the tests in #55/#56. It had HandleLidSwitch=ignore, so thats probably the reason, why the system didn't suspend.
When using an unmodified logind.conf, i.e. all options commented out, the system suspends regardless of which option (--lock-on-lid/--no-lock-on-lid) I use. Odd exception: sometimes the first try after reboot does not suspend; again independent of the used option.
So my guess is, that we still have some vt switching while the lid is closed.
Ah, I used a modified logind.conf for the tests in #55/#56. It had HandleLidSwitch =ignore, so thats probably the reason, why the system didn't suspend.
When using an unmodified logind.conf, i.e. all options commented out, the system suspends regardless of which option (--lock- on-lid/ --no-lock- on-lid) I use. Odd exception: sometimes the first try after reboot does not suspend; again independent of the used option.
So my guess is, that we still have some vt switching while the lid is closed.