Description
Every few days an apiscp-int-<random>.test account appears and stays (admin email blackhole@apnscp.com). The creator is Misc_Module::theme_inventory() (Cronus, every 432000 s); its Opcenter\Account\Ephemeral::destroy() stops partway, so the account is never removed. Seen on alderaan 2026-11-08 and 2026-11-13; earlier on other boxes. Possibly the same thing n1ete hit in t/979 (their site{6,10}/fst/etc/group has no screen group).
Environment
ApisCP v3.2.49 rev 73794df8 (2026/11/09), AlmaLinux 9, edge-major.
Trace (start.log, 2026-11-13 ~13:53 UTC)
ERROR : Opcenter\Role\Group::members():
2B. Opcenter\Role\Group->members("screen") [lib/Opcenter/Provisioning/Traits/GroupCreationTrait.php:86]
3B. Opcenter\Provisioning\Ssh::removeGroups("/home/virtual/site4/fst", false) [lib/Opcenter/Service/Validators/Ssh/Enabled.php:68]
4B. Opcenter\Service\Validators\Ssh\Enabled->depopulate(...) [lib/Opcenter/Account/Delete.php:306]
5B. Opcenter\Account\Delete->exec() [lib/Opcenter/Account/Ephemeral.php:182]
6B. Opcenter\Account\Ephemeral->destroy() [lib/modules/misc.php:787]
7B. Misc_Module->theme_inventory() [lib/modules/misc.php:676]
9B. Cronus->schedule(432000, "theme", )
The error text is empty. On the other leftover (site3), the same call by hand:
# groupmems -R /home/virtual/site3/fst -l -g screen
groupmems: group 'screen' does not exist in /etc/group (rc 9)
Expected: the ephemeral account is removed. A group that is missing from the site’s fst should not stop the delete (nothing to remove).
Actual: the delete stops at Ssh depopulate; the account, its php-fpm pool and its maps stay until someone runs DeleteDomain (which succeeds by hand).
Bogdan Susala (with Claude)