Subject: pkg/30347: +DEINSTALL scripts are incomplete
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 05/27/2005 00:59:00
>Synopsis: +DEINSTALL scripts are incomplete
>Arrival-Date: Fri May 27 00:59:00 +0000 2005
>Release: NetBSD 1.6.2_STABLE
System: NetBSD rainier.reedmedia.net 1.6.2_STABLE NetBSD 1.6.2_STABLE (MYKERNEL) #1: Tue Jun 1 12:16:43 PDT 2004 email@example.com:/usr/src/sys/arch/i386/compile/MYKERNEL i386
This happens on systems where the packages are installed from binary
No messages are displayed when running pkg_delete and no config files,
et cetera are cleaned up.
+DEINSTALL files since early February don't list any filenames to
remove and I don't see code to remove files. (In early February,
many changes were done to the mk/install/ scripts.)
I don't have any +FILES (or related) files. I see that pkg_add'ing
a package runs +INSTALL which generates the +FILES (I think in a
temporary staging directory).
Look at +DEINSTALL for some package that should remove check
and remove configurations.
Maybe pkg_install/files/create/perform.c should also tar up:
Or maybe the +DEINSTALL scripts also generate the needed +DIRS,
+FILES, +PERMS, +RCD_SCRIPTS, and/or +USERGROUP scripts.