🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7446

Bug#1156292: debian-edu-config: POSTREMOVE in GOsa² doesn't delete old homes in some cases

#7446
From: Mike Gabriel
Date: Fri, 04 Dec 2026 11:20
80 lines
5037 bytes
This message is in MIME format and has been PGP signed.

--=_eCIVdYvuu6at1pLMriuKXGh
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=C2=B2 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=C2=B2:
> - 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=20=20
directories=20matching rm_* 500 days after the renaming has happened:

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

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

Mike
--=20

mike=20gabriel 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: sunweaver@debian.org, http://sunweavers.net


--=_eCIVdYvuu6at1pLMriuKXGh
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmsSn4sACgkQmvRrMCV3
GzEugw/+NdSv0aCggYbu0cVnDWA2jtCppj0ur8fTwkvK/x7VGi31yf8x1L5omDbk
gEROrGpzxkt/98efKddNNJlNVr/Qpi/0WeDhD3d4NL0g0cL40N9wbT0veNduuLyF
8AuDOOYOe4Y/j1CkhoWbQb4tV1/YiySKl7wVrf3UMY3SJl3J3lvE5o+ILC28oI10
tnGW5ZqKAJe/dXVvup7q/IPLa2YuSIZkO1ZdgunwUn9g+kirwXulz88ADw04Gav9
R0cDNqPmvDszd+ayBWCC+a6DIyRQE9mM65iLx6YhkznoAp2P/nYI0YICBj7l0B2o
NkIhehH5jpelJssuq2N58CP5sqyLcBVI3SSOTADdGomuGCo7a/VC42ztfbp8nyBW
qxZh2FyA3XAKrAfrCgmkGHAZF2BtM08L/xbNj6P+Vmbuk+mOiyVbL6N1K5Aol9NA
WvkNrz2L0VNcDt7jvVh8mMwPr0h4RbKrpzHs9pYsrgfnAVUD5a/sQZnHa0SE52GX
lrFQaiy05Rkbw+HUzFR38P3f5IudRaYTEu+QS+3AJWIAMlsS7VZZKfEVala8+67t
KMwkBnT5kir1gklUF6zjeaEjmGY/h6Yz5u5J2Xe4QCahDVu5af6ydSa6qbZUypdz
Kh95qxn18EA0Sg+L0ttc1TjKkYC0nJD1WtMcgJgadviFgGwItvk=
=41CR
-----END PGP SIGNATURE-----

--=_eCIVdYvuu6at1pLMriuKXGh--
Technical Details
Message-ID: <O6zuy-fVqc-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O6zuy-fVqc-13@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Mike Gabriel <sunweaver@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156292: debian-edu-config: POSTREMOVE in GOsa² doesn't delete old homes in some cases
Date: Fri, 04 Dec 2026 12:20:02 +0100
Message-ID: <O6zuy-fVqc-11@gated-at.bofh.it>
References: <O6zuy-fVqc-13@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 11:13:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Mike Gabriel <sunweaver@debian.org>, 1156292@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-edu@lists.debian.org
X-Debian-Pr-Message: followup 1156292
X-Debian-Pr-Package: debian-edu-config
X-Debian-Pr-Source: debian-edu-config
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 185.211.18.149
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
 like Gecko) Chrome/156.0.0.0 Safari/537.36
Content-Type: multipart/signed; boundary="=_eCIVdYvuu6at1pLMriuKXGh";
 protocol="application/pgp-signature"; micalg=pgp-sha512
MIME-Version: 1.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006911
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 80
Sender: robomod@news.nic.it
X-Original-Date: Fri, 04 Dec 2026 11:10:05 +0000
X-Original-Message-ID: <20261204111005.Horde.mNRdM5LR1qvHPZti1aAcTZY@mail.das-netzwerkteam.de>
X-Original-References: <CAPu3mny6sgGM1rvo9eT_WB7R-50d13CeL2XaNPrKmNsrim1gQA@mail.gmail.com>