Hi Serhii,

On  Do 03 Dez 2026 22:42:03 CET, Serhii Horichenko wrote:

Package: debian-edu-config
Version: 2.13.11~deb13u1
Severity: normal

Trying to reproduce the error, I've found that the error occurs when
the values "Login" or "Home directory" are changed from default to
custom values during the creation of the account or later.

On Debian Edu Tjener 13.8:
 - added for test purposes through GOsa² two users:
   -- "ldap1" (home: "/skole/tjener/home0/ul")
   -- "'d-e-router" (home: "/skole/tjener/home0/d-e-router")

When I delete these users, I get errors in GOsa²:
- Cannot execute POSTREMOVE command (/usr/bin/sudo
/usr/share/debian-edu-config/tools/gosa-remove 'd-e-router'
'/skole/tjener/home0/d-e-router') for plugin posixAccount!
- Cannot execute POSTREMOVE command (/usr/bin/sudo
/usr/share/debian-edu-config/tools/gosa-remove 'ldap1'
'/skole/tjener/home0/ul') for plugin posixAccount!

As a result, home directories were neither deleted nor renamed to "rm_*".

Nice catch! The renaming issue should be resolved, I agree.

The removal will happen at the end, I guess, because we simply remove directories matching rm_* 500 days after the renaming has happened:

https://salsa.debian.org/debian-edu/debian-edu-config/-/blob/master/share/debian-edu-config/tools/gosa-remove?ref_type=heads#L22

https://salsa.debian.org/debian-edu/debian-edu-config/-/blob/master/share/debian-edu-config/tools/gosa-remove?ref_type=heads#L59

Mike
--

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [email protected], http://sunweavers.net

Attachment: pgp9xqJ7qQA3e.pgp
Description: Digitale PGP-Signatur

Reply via email to